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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42487f
push eax
call dword [0x4d6c6c]
add esp, 4
mov eax, dword [edi + 0x18]
cmp byte [eax + 9], 0
je 0x42489a
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x42489a
push eax
call fcn.0042c670
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x4248b1
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4248b1
push eax
call dword [0x4d6c6c]
add esp, 4
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je 0x4248c6
cmp ebx, 5
je 0x4248c6
cmp ebx, 6
jne 0x424fbc
cmp dword [edi], 0
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 4]
mov dword [ebp - 0x30], 0
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
je 0x4248f5
cmp byte [ecx + 0x14], 2
jne 0x4248f5
mov ebx, 5
jmp 0x424942
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x424925
push 2
push edx
call fcn.0044cf00
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x424942
lea eax, [edi + 8]
mov dword [edi + 0xc], 1
push eax
push 1
push dword [edi + 4]
call fcn.0044de10
add esp, 0xc
mov eax, dword [edi + 0x18]
cmp byte [eax + 8], 0
jne 0x424942
push 0
push eax
call fcn.0044cf00
add esp, 8
mov dword [ebp - 0x30], 1
mov ebx, eax
mov eax, dword [edi + 0x18]
push esi
mov edx, dword [eax + 4]
mov eax, dword [edi + 4]
mov esi, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 8], esi
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x10], ecx
movzx eax, byte [eax + 5]
mov dword [ebp - 0x24], eax
test ebx, ebx
jne 0x424977
cmp eax, 5
jne 0x424977
cmp esi, ecx
mov eax, 8
cmovne ebx, eax
mov edx, dword [edx + 0x2c]
xor eax, eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
test ecx, ecx
js 0x42498d
cmp eax, ecx
jge 0x4249f3
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x28], esi
cmp esi, edx
ja 0x4249f3
test ebx, ebx
jne 0x424a2e
mov eax, dword [edi + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x4d6c14]
div dword [ecx + 0x20]
inc eax
cmp esi, eax
je 0x4249e7
push 2
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x20]
call fcn.00461010
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4249e7
mov esi, dword [ebp - 0x2c]
push eax
push dword [esi + 4]
push dword [ebp - 0x28]
push edi
call fcn.0042a000
push esi
mov ebx, eax
call fcn.00462b30
add esp, 0x14
mov eax, dword [ebp - 0x18]
inc dword [edi + 0x10]
inc eax
mov edx, dword [ebp - 4]
jmp 0x42497f
test ebx, ebx
jne 0x424a2e
mov eax, edx
mov dword [edi + 0x24], edx
sub eax, dword [edi + 0x10]
inc eax
mov dword [edi + 0x20], eax
cmp dword [edi + 0x10], edx
ja 0x424a37
cmp dword [edi + 0x28], ebx
jne 0x424d1c
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [edi + 0x2c], eax
mov dword [ecx + 0x58], edi
mov dword [edi + 0x28], 1
jmp 0x424d1c
cmp ebx, 0x65
jne 0x424d1c
test edx, edx
jne 0x424a93
mov esi, dword [edi + 4]
cmp byte [esi + 9], dl
je 0x424a54
inc dword [esi + 0xc]
cmp byte [esi + 0xa], dl
jne 0x424a54
push esi
call fcn.0042c670
add esp, 4
mov eax, dword [esi + 4]
mov dword [eax + 0x2c], 0
push dword [esi + 4]
call fcn.0043fae0
add esp, 4
mov ebx, eax
cmp byte [esi + 9], 0
je 0x424a80
add dword [esi + 0xc], 0xffffffff
jne 0x424a80
push esi
call fcn.0047f0c0
add esp, 4
mov esi, 1
mov dword [ebp - 4], esi
test ebx, ebx
je 0x424a96
cmp ebx, 0x65
jne 0x424aaa
jmp 0x424a96
mov esi, dword [ebp - 4]
mov eax, dword [edi + 8]
inc eax
push eax
push 1
push dword [edi + 4]
call fcn.0044ff70
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x424d1c
mov eax, dword [edi]
test eax, eax
je 0x424ac1
push eax
call fcn.00467140
add esp, 4
cmp dword [ebp - 0x24], 5
jne 0x424ade
push 2
push dword [edi + 4]
call fcn.0044fca0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x424d1c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp eax, ecx
jge 0x424b20
mov eax, ecx
cdq
idiv dword [ebp - 8]
mov ecx, eax
lea eax, [ecx - 1]
add eax, esi
cdq
idiv ecx
xor edx, edx
mov esi, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x4d6c14]
div dword [ecx + 0x20]
lea ecx, [esi - 1]
inc eax
cmp esi, eax
mov eax, dword [ebp - 4]
cmovne ecx, esi
mov dword [ebp - 0x2c], ecx
mov esi, ecx
mov ecx, dword [ebp - 0x10]
jmp 0x424b2b
cdq
idiv ecx
mov esi, eax
mov eax, dword [ebp - 4]
imul esi, eax
mov edx, dword [ebp - 8]
cmp edx, ecx
jge 0x424e34
imul edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [edx + 0x3c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
nop dword [eax]
cmp esi, eax
ja 0x424bbc
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x4d6c14]
div dword [ecx + 0x20]
inc eax
cmp esi, eax
je 0x424bb2
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 0xc]
call fcn.00461010
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x424bb2
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
jbe 0x424b9d
call fcn.00441500
jmp 0x424ba2
call fcn.004426c0
add esp, 4
mov ebx, eax
push dword [ebp - 0x18]
call fcn.00462b30
add esp, 4
mov eax, dword [ebp - 0x24]
inc esi
test ebx, ebx
je 0x424b50
jmp 0x424bd0
test ebx, ebx
jne 0x424bd0
push 1
push ebx
push dword [ebp - 0xc]
call fcn.004616e0
add esp, 0xc
mov ebx, eax
mov eax, dword [0x4d6c14]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cdq
mov esi, eax
mov eax, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jg 0x424bf5
jl 0x424c00
mov eax, dword [ebp - 4]
cmp esi, eax
jae 0x424bf8
jmp 0x424c00
mov eax, dword [ebp - 4]
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x4d6c14]
add eax, dword [ebp - 8]
cdq
mov dword [ebp - 0x18], edx
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ebx, ebx
jne 0x424d1c
mov edi, edx
nop dword [eax + eax]
cmp edi, dword [ebp - 0x1c]
jg 0x424d9e
jl 0x424c33
cmp ecx, esi
jae 0x424d9e
mov esi, dword [ebp - 8]
lea ebx, [ebp - 0x10]
push 0
push ebx
mov eax, esi
mov dword [ebp - 0x10], 0
cdq
push edx
push eax
push edi
push ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
call fcn.004949c0
inc eax
push eax
push dword [ebp - 0x20]
call fcn.00461010
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x424c83
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
push edi
push dword [ebp - 0x14]
mov eax, dword [edx]
push esi
push dword [ecx + 4]
mov eax, dword [eax + 0xc]
push edx
call eax
add esp, 0x14
mov ebx, eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x424cff
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x10], esi
je 0x424cdb
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0x98]
dec ecx
mov esi, dword [esi + 0x3c]
cdq
push edx
push eax
mov edi, dword [esi]
push 0
push ecx
call fcn.00494a70
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov edi, dword [ebp - 0x18]
jmp 0x424ce4
push ecx
call fcn.00463830
add esp, 4
cmp dword [esi + 0x78], 0
jne 0x424cff
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x424cff
push esi
call fcn.004413c0
add esp, 4
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x24]
adc edi, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
test ebx, ebx
je 0x424c20
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x30], 0
je 0x424faa
push 0
push dword [edi + 0x18]
call fcn.0044d4c0
mov esi, dword [edi + 0x18]
add esp, 8
cmp byte [esi + 8], 0
je 0x424faa
cmp byte [esi + 9], 0
je 0x424d58
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x424d58
push esi
call fcn.0042c670
add esp, 4
cmp byte [esi + 8], 2
jne 0x424f8c
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x424f95
cmp byte [ecx + 0x10], 2
jne 0x424f3d
cmp byte [ecx + 4], dl
je 0x424f3d
cmp byte [ecx + 5], 1
jne 0x424f3d
mov byte [ecx + 0x10], 1
jmp 0x424f70
test ebx, ebx
jne 0x424d19
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
push esi
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x424d19
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x38], ecx
jl 0x424de5
jg 0x424dd4
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x3c], eax
jbe 0x424de5
mov eax, dword [esi]
push ecx
push dword [ebp - 4]
mov eax, dword [eax + 0x10]
push esi
call eax
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x424d19
mov esi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x3c]
cmp dword [ecx], ebx
je 0x424e14
mov eax, dword [ecx]
push ebx
push 0x15
push ecx
mov eax, dword [eax + 0x28]
call eax
mov ebx, eax
add esp, 0xc
cmp ebx, 0xc
jne 0x424e10
xor ebx, ebx
jmp 0x424e14
test ebx, ebx
jne 0x424e2f
cmp byte [esi + 7], 0
jne 0x424e2f
mov eax, dword [esi + 0x3c]
movzx edx, byte [esi + 0xb]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
add esp, 8
mov ebx, eax
mov edi, dword [ebp + 8]
jmp 0x424e49
mov eax, dword [ebp - 0xc]
push 0
push 0
push eax
mov dword [eax + 0x18], esi
call fcn.004616e0
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x424d1c
mov esi, dword [edi + 4]
cmp byte [esi + 8], bl
je 0x424ede
cmp byte [esi + 9], bl
je 0x424e73
inc dword [esi + 0xc]
cmp byte [esi + 0xa], bl
jne 0x424e73
push esi
call fcn.0042c670
add esp, 4
cmp byte [esi + 8], 2
jne 0x424ec0
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov ebx, dword [ecx + 0x28]
test ebx, ebx
jne 0x424f1b
cmp byte [ecx + 0x10], 2
jne 0x424ee8
cmp byte [ecx + 4], bl
je 0x424ee8
cmp byte [ecx + 5], 1
jne 0x424ee8
mov byte [ecx + 0x10], 1
dec dword [esi + 0x14]
push dword [eax + 0x3c]
mov byte [eax + 0x14], 1
call fcn.0044cb20
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x3c], 0
push esi
call fcn.0042c290
add esp, 4
cmp byte [esi + 9], 0
je 0x424ede
add dword [esi + 0xc], 0xffffffff
jne 0x424ede
push esi
call fcn.0047f0c0
add esp, 4
mov ebx, 0x65
jmp 0x424d1c
movzx eax, byte [ecx + 0x13]
inc dword [ecx + 0x64]
push 1
push eax
push ecx
call fcn.004419f0
mov ebx, eax
add esp, 0xc
movzx eax, bl
cmp eax, 0xd
je 0x424f0a
cmp eax, 0xa
jne 0x424f14
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x28], ebx
mov byte [eax + 0x10], 6
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x424ea4
cmp byte [esi + 9], 0
je 0x424d1c
add dword [esi + 0xc], 0xffffffff
jne 0x424d1c
push esi
call fcn.0047f0c0
add esp, 4
jmp 0x424d1c
movzx eax, byte [ecx + 0x13]
inc dword [ecx + 0x64]
push 1
push eax
push ecx
call fcn.004419f0
mov edx, eax
add esp, 0xc
movzx eax, dl
cmp eax, 0xd
je 0x424f5f
cmp eax, 0xa
jne 0x424f69
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x28], edx
mov byte [eax + 0x10], 6
mov eax, dword [ebp + 8]
test edx, edx
jne 0x424f95
dec dword [esi + 0x14]
push dword [eax + 0x3c]
mov byte [eax + 0x14], 1
call fcn.0044cb20
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x3c], 0
push esi
call fcn.0042c290
add esp, 4
cmp byte [esi + 9], 0
je 0x424faa
add dword [esi + 0xc], 0xffffffff
jne 0x424faa
push esi
call fcn.0047f0c0
add esp, 4
cmp ebx, 0xc0a
mov eax, 7
pop esi
cmove ebx, eax
mov dword [edi + 0x1c], ebx
mov eax, dword [edi]
test eax, eax
je 0x424fd3
mov eax, dword [eax + 0xc]
test eax, eax
je 0x424fd3
push eax
call dword [0x4d6c74]
add esp, 4
mov eax, dword [edi + 0x18]
cmp byte [eax + 9], 0
je 0x424feb
add dword [eax + 0xc], 0xffffffff
jne 0x424feb
push eax
call fcn.0047f0c0
add esp, 4
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x424fff
push eax
call dword [0x4d6c74]
add esp, 4
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret