Function at 0x426400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x426409
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
call fcn.00405154
xor eax, eax
push ebp
push 0x57a0a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004263b4
mov eax, dword [ebp + 8]
add dword [eax], 4
adc dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
call fcn.00403250
mov edi, eax
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x1c]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004263b4
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp + 8]
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
add edi, 4
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
add edi, 4
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
add edi, 4
lea eax, [ebp - 0x34]
mov edx, edi
call fcn.00404ddc
mov eax, dword [ebp - 0x34]
call fcn.00404ed8
add eax, eax
add eax, 2
add edi, eax
mov al, byte [edi]
mov byte [ebp - 0x39], al
inc edi
cmp dword [ebp - 0x2c], 1
jne 0x4264da
cmp byte [ebp - 0x39], 3
jne 0x4264da
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x587188]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
call fcn.0042ff60
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
call fcn.00404cf4
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00404cf4
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x34]
call fcn.0040802c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x34]
call fcn.00404cf4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x426bfd
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42657b
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.0041719c
mov al, byte [eax + 0x48]
cmp al, byte [ebp - 0x39]
jne 0x426575
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.0041719c
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x34]
call fcn.00404ff0
jne 0x426575
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.0041719c
mov ebx, eax
jmp 0x42657b
inc dword [ebp - 0x10]
dec esi
jne 0x426529
test ebx, ebx
jne 0x426bfd
imul eax, dword [ebp - 0xc], 0xb
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x60]
lea ecx, [edx + eax*8]
mov dl, 1
mov eax, dword [0x56fcd0]
call fcn.0041cc4c
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, ebx
call fcn.00417060
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x34]
call fcn.00404cd0
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x38]
call fcn.00404cd0
mov al, byte [ebp - 0x39]
mov byte [ebx + 0x48], al
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00404ff0
je 0x4265fb
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 0xc]
call fcn.00419e54
mov edx, dword [ebp - 0x58]
lea eax, [ebp + 0xc]
call fcn.00404cf4
lea eax, [ebp - 0x60]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.00404f44
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0040802c
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x18]
call fcn.00404cd0
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x18]
call fcn.0042ed0c
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x581f68]
call fcn.0042f264
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x18]
call fcn.0042ef38
mov ecx, dword [ebp - 0x68]
mov dl, 1
mov eax, dword [0x581f68]
call fcn.0042f264
mov dword [ebx + 0x44], eax
mov al, byte [ebx + 0x48]
cmp al, 2
jne 0x4266d9
push 0x57a0c0
mov eax, 0x100000
call fcn.00403594
lea ecx, [ebp - 0x74]
mov edx, 5
call fcn.00408354
push dword [ebp - 0x74]
push 0x57a0cc
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004049f0
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00404e4c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x24]
call fcn.0040802c
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 0x18]
call fcn.00419f5c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00419e54
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x24]
call fcn.00404ee4
mov eax, dword [ebp - 0x78]
call fcn.0041a120
test al, al
jne 0x426660
jmp 0x4267f4
sub al, 1
je 0x4266e5
sub al, 2
jne 0x4267f4
call fcn.00409f54
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x84]
call fcn.0042637c
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x4c], 0x10
mov eax, 0x100000
call fcn.00403594
lea ecx, [ebp - 0x90]
mov edx, 5
call fcn.00408354
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x57a0c0
call fcn.0040497c
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
call fcn.00404e4c
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x24]
call fcn.0040802c
lea edx, [ebp - 0x9c]
mov eax, dword [ebx + 0x18]
call fcn.00419eac
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00419f5c
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.00419e54
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x24]
call fcn.00404ee4
mov eax, dword [ebp - 0x94]
call fcn.0041a104
test al, al
jne 0x426736
mov eax, dword [ebp - 0x24]
call fcn.00404ed8
add eax, eax
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404ec8
mov edx, eax
lea eax, [ebx + 0x1c]
pop ecx
call fcn.00406e3c
mov al, byte [ebx + 0x48]
dec eax
sub al, 3
jae 0x426a92
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00404ff0
je 0x426a92
mov byte [ebp - 0x3a], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
call fcn.0040597c
mov esi, eax
dec esi
test esi, esi
jl 0x42699e
inc esi
mov dword [ebp - 0x14], 0