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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x42651d
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.00405178
xor eax, eax
push ebp
push 0x30e835a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004264c8
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.004264c8
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 - 0x34], eax
add edi, 4
mov eax, dword [edi]
mov dword [ebp - 0x38], eax
add edi, 4
mov eax, dword [edi]
mov dword [ebp - 0x3c], eax
add edi, 4
lea eax, [ebp - 0x40]
mov edx, edi
call fcn.00404e00
mov eax, dword [ebp - 0x40]
call fcn.00404efc
add eax, eax
add eax, 2
add edi, eax
mov al, byte [edi]
mov byte [ebp - 0x45], al
inc edi
cmp dword [ebp - 0x38], 1
jne 0x4265ed
cmp byte [ebp - 0x45], 3
jne 0x4265ed
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x30f5edc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
call fcn.00430cb8
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
call fcn.00404d18
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x40]
call fcn.00404d18
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x40]
call fcn.00408050
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x40]
call fcn.00404d18
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x426eac
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42668e
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.004171c0
mov al, byte [eax + 0x48]
cmp al, byte [ebp - 0x45]
jne 0x426688
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.004171c0
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x40]
call fcn.00405014
jne 0x426688
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.004171c0
mov ebx, eax
jmp 0x42668e
inc dword [ebp - 0x10]
dec esi
jne 0x42663c
test ebx, ebx
jne 0x426e01
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 [0x30dde1c]
call fcn.0041cd98
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, ebx
call fcn.00417084
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x40]
call fcn.00404cf4
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x44]
call fcn.00404cf4
mov al, byte [ebp - 0x45]
mov byte [ebx + 0x48], al
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00405014
je 0x42670e
lea edx, [ebp - 0x64]
mov eax, dword [ebp + 0xc]
call fcn.00419e78
mov edx, dword [ebp - 0x64]
lea eax, [ebp + 0xc]
call fcn.00404d18
lea eax, [ebp - 0x6c]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.00404f68
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408050
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 0x18]
call fcn.00404cf4
lea edx, [ebp - 0x70]
mov eax, dword [ebx + 0x18]
call fcn.0042fa64
mov ecx, dword [ebp - 0x70]
mov dl, 1
mov eax, dword [0x30f0cc0]
call fcn.0042ffbc
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x18]
call fcn.0042fc90
mov ecx, dword [ebp - 0x74]
mov dl, 1
mov eax, dword [0x30f0cc0]
call fcn.0042ffbc
mov dword [ebx + 0x44], eax
mov al, byte [ebx + 0x48]
cmp al, 2
jne 0x426803
push 0x30e8374
mov eax, 0x100000
call fcn.00403594
lea ecx, [ebp - 0x80]
mov edx, 5
call fcn.00408378
push dword [ebp - 0x80]
push 0x30e8380
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404a14
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
call fcn.00404e70
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x24]
call fcn.00408050
lea edx, [ebp - 0x88]
mov eax, dword [ebx + 0x18]
call fcn.00419f80
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00419e78
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x24]
call fcn.00404f08
mov eax, dword [ebp - 0x84]
call fcn.0041a144
test al, al
jne 0x426777
jmp 0x426921
sub al, 1
je 0x42680f
sub al, 2
jne 0x426921
call fcn.00409f78
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x8c]
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 - 0x9c]
mov edx, 5
call fcn.00408378
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x30e8374
call fcn.004049a0
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00404e70
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x24]
call fcn.00408050
lea edx, [ebp - 0xa8]
mov eax, dword [ebx + 0x18]
call fcn.00419ed0
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00419f80
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00419e78
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x24]
call fcn.00404f08
mov eax, dword [ebp - 0xa0]
call fcn.0041a128
test al, al
jne 0x426863
mov eax, dword [ebp - 0x24]
call fcn.00404efc
add eax, eax
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404eec
mov edx, eax
lea eax, [ebx + 0x1c]
pop ecx
call fcn.00406e60
mov al, byte [ebx + 0x48]
dec eax
sub al, 3
jae 0x426bbf
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00405014
je 0x426bbf
mov byte [ebp - 0x46], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
call fcn.004059a0
mov esi, eax
dec esi
test esi, esi
jl 0x426acb
inc esi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8]
lea edx, [ebp - 0xac]
call fcn.00408050
mov edx, dword [ebp - 0xac]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00405014
jne 0x426ac1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.00419e78
mov eax, dword [ebx + 0x40]
call fcn.0042ff14
dec eax
test eax, eax
jl 0x426a12
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x40]
call fcn.0042fef0
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0x24]
call fcn.00404f68
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.00419e78
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x24]
call fcn.00404d18
inc dword [ebp - 0x18]
dec dword [ebp - 0x58]
jne 0x4269c6
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x24]
call fcn.00404cf4
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x30f0cc0]
call fcn.0042ffbc
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.00419e78
mov eax, dword [ebx + 0x44]
call fcn.0042ff14
dec eax
test eax, eax
jl 0x426aab
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x44]
call fcn.0042fef0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x24]
call fcn.00404f68
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.00419e78
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x24]
call fcn.00404d18
inc dword [ebp - 0x18]
dec dword [ebp - 0x58]
jne 0x426a5f
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x30f0cc0]
call fcn.0042ffbc
mov dword [ebx + 0x3c], eax
mov byte [ebp - 0x46], 1
inc dword [ebp - 0x14]
dec esi
jne 0x426965
cmp byte [ebp - 0x46], 0
jne 0x426bbf
push 0
push 0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00404eec
push eax
call fcn.0041a67c
movzx ecx, word [ebp - 0x54]
shr ecx, 1
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x50]
call fcn.00404dac
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x24]
call fcn.00408050
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.00419e78
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x24]
call fcn.00404d18
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
call fcn.004059a0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
add eax, 0x58
mov ecx, 1
mov edx, dword [0x30ddfe8]
call fcn.00405b5c
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*8]
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
call fcn.00404cf4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*8 + 4]
mov edx, dword [ebp - 0x24]
call fcn.00404cf4
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x24]
call fcn.00404cf4
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x30f0cc0]
call fcn.0042ffbc
mov dword [ebx + 0x38], eax
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x30f0cc0]
call fcn.0042ffbc
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xb8], eax
mov al, byte [ebx + 0x48]
mov edx, eax
sub dl, 3
jne 0x426c94
imul eax, dword [ebp - 0xc], 0xb
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x60]
mov eax, dword [edx + eax*8 + 0x2c]
mov edx, dword [0x30f5cf0]
cmp eax, dword [edx]
je 0x426eac
mov edx, dword [ebp + 0x10]
mov edx, dword [0x30f5e94]
cmp eax, dword [edx]
jne 0x426eac
mov al, byte [edi]
mov byte [ebx + 0x50], al
inc edi
push dword [edi + 4]
push dword [edi]
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x64], eax
add edi, 8
push dword [edi + 4]
push dword [edi]
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x7c], eax
add edi, 8
push dword [edi + 4]
push dword [edi]
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x74], eax
add edi, 8
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi]
add dword [ebx + 0x4c], eax
add edi, 4
jmp 0x426eac
sub al, 2
jne 0x426eac
mov al, byte [edi]
inc edi
test al, 1
setne dl
mov byte [ebx + 0x51], dl
test al, 2
setne al
mov byte [ebx + 0x52], al
mov al, byte [edi]
mov byte [ebx + 0x50], al
inc edi
mov eax, dword [edi]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x5c], eax
add edi, 8
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push 0
push 0x1000
call fcn.0041cd20
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], edx
push dword [edi + 4]
push dword [edi]
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x64], eax
add edi, 8
push dword [edi + 4]
push dword [edi]
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x7c], eax
add edi, 8
push dword [edi + 4]
push dword [edi]
lea eax, [ebp - 0x90]
call fcn.0041adb8
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x74], eax
add edi, 8
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi]
mov dword [ebx + 0x4c], eax
add edi, 4
mov al, byte [edi]
mov byte [ebx + 0x80], al
inc edi
lea eax, [ebx + 0x84]
mov edx, edi
call fcn.00404e00
mov eax, dword [ebx + 0x84]
call fcn.00404efc
add eax, eax
add eax, 2
add edi, eax
mov eax, dword [edi]
mov dword [ebx + 0xa8], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0xac], eax
sub dword [eax + eax - 0x387d0000], 8
mov al, byte [ebx + 0x48]
mov edx, eax
sub dl, 3
jne 0x426e46
imul eax, dword [ebp - 0xc], 0xb
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x60]
mov eax, dword [edx + eax*8 + 0x2c]
mov edx, dword [0x30f5cf0]
cmp eax, dword [edx]
je 0x426eac
mov edx, dword [ebp + 0x10]
mov edx, dword [0x30f5e94]
cmp eax, dword [edx]
jne 0x426eac
inc edi
add edi, 8
add edi, 8
add edi, 8
add edi, 4
jmp 0x426eac
sub al, 2
jne 0x426eac
inc edi
inc edi
add edi, 8
add edi, 8
add edi, 8
add edi, 8
add edi, 4
inc edi
lea eax, [ebp - 0x24]
mov edx, edi
call fcn.00404e00
mov eax, dword [ebp - 0x24]
call fcn.00404efc
add eax, eax
add eax, 2
add edi, eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], eax
add edi, 8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x4c], eax
push 1
lea eax, [ebp - 0x4c]
push eax
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.00406d7c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add dword [ecx], eax
adc dword [ecx + 4], edx