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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
push esi
push edi
test eax, eax
je 0x423c83
push eax
call dword [0x4f8c04]
add esp, 4
mov edi, dword [ebx + 0x18]
call fcn.004198b0
mov eax, dword [ebx]
test eax, eax
je 0x423ca2
mov eax, dword [eax + 0xc]
test eax, eax
je 0x423ca2
push eax
call dword [0x4f8c04]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x423cb7
cmp esi, 5
je 0x423cb7
cmp esi, 6
jne 0x424699
cmp dword [ebx], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 0
je 0x423cef
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0x423cef
mov esi, 5
jmp 0x423eb0
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x423d23
push 2
push ecx
call fcn.0041c220
mov esi, eax
add esp, 8
test esi, esi
jne 0x423eb0
mov eax, dword [ebx + 4]
lea ecx, [ebx + 8]
push ecx
push 1
mov dword [ebx + 0xc], 1
call fcn.004220f0
add esp, 8
mov eax, dword [ebx + 0x18]
cmp byte [eax + 8], 0
mov dword [esp + 0x18], eax
jne 0x423eb0
mov edi, eax
mov ebx, dword [edi + 4]
xor esi, esi
mov dword [esp + 0x10], esi
call fcn.004198b0
mov al, byte [edi + 8]
cmp al, 2
je 0x423e7c
cmp al, 1
je 0x423e7c
movzx edx, word [ebx + 0x16]
test dl, 0x40
je 0x423d6b
mov eax, dword [ebx + 0x4c]
cmp dword [eax], esi
jne 0x423e74
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
je 0x423da9
cmp dword [eax + 0x4c], edi
je 0x423d83
test byte [eax + 0x16], 0x20
jne 0x423e74
mov eax, dword [eax + 0x48]
cmp eax, esi
je 0x423da9
mov ecx, 1
nop
cmp dword [eax], edi
je 0x423da2
cmp dword [eax + 4], ecx
jne 0x423da2
cmp byte [eax + 8], cl
jne 0x423e74
mov eax, dword [eax + 0xc]
cmp eax, esi
jne 0x423d90
mov eax, edx
and eax, 0xfff7
mov dword [esp + 0x10], esi
mov word [ebx + 0x16], ax
cmp dword [ebx + 0x2c], esi
jne 0x423dc4
or eax, 8
mov word [ebx + 0x16], ax
cmp dword [ebx + 0xc], esi
jne 0x423dda
mov eax, ebx
call fcn.0041be60
mov dword [esp + 0x10], eax
test eax, eax
je 0x423dc4
jmp 0x423de0
cmp dword [esp + 0x10], esi
je 0x423dfc
cmp byte [ebx + 0x14], 0
jne 0x423dfc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x423dfc
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00415e60
add esp, 4
mov dword [ebx + 0xc], esi
cmp byte [esp + 0x10], 5
jne 0x423e3b
cmp byte [ebx + 0x14], 0
jne 0x423e3b
mov edi, dword [ebx + 4]
add edi, 0x1b4
je 0x423e3b
mov ecx, dword [edi]
test ecx, ecx
je 0x423e3b
mov eax, dword [edi + 8]
test eax, eax
js 0x423e3b
mov edx, dword [edi + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0x423e34
inc dword [edi + 8]
jmp 0x423dc4
mov dword [edi + 8], 0xffffffff
cmp dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
jne 0x423e7e
cmp byte [esi + 8], 0
jne 0x423e64
inc dword [ebx + 0x28]
cmp byte [esi + 9], 0
je 0x423e64
mov byte [esi + 0x24], 1
mov eax, dword [ebx + 0x48]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x28], eax
mov dword [ebx + 0x48], ecx
mov byte [esi + 8], 1
cmp byte [ebx + 0x14], 1
jae 0x423e7e
mov byte [ebx + 0x14], 1
jmp 0x423e7e
mov dword [esp + 0x10], 0x106
mov esi, edi
cmp byte [esi + 9], 0
je 0x423ea1
dec dword [esi + 0xc]
jne 0x423ea1
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x423e9d
push eax
call dword [0x4f8c0c]
add esp, 4
mov byte [esi + 0xa], 0
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x38], 1
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
test esi, esi
jne 0x423ee4
cmp eax, 5
jne 0x423ee4
cmp edx, edi
je 0x423ee4
lea esi, [eax + 3]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x423f00
cmp dword [esp + 0x24], eax
jge 0x423f6e
mov edi, dword [ebx + 0x10]
cmp edi, dword [esp + 0x18]
ja 0x423f6e
test esi, esi
jne 0x423fb1
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x4f8cb8]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x423f60
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
push edi
lea ecx, [esi + 2]
call fcn.00415b10
mov esi, eax
add esp, 8
test esi, esi
jne 0x423f60
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
push esi
push eax
push edi
push ebx
call fcn.00423ac0
mov ecx, dword [esp + 0x40]
push ecx
mov esi, eax
call fcn.00415e60
add esp, 0x14
mov eax, 1
add dword [ebx + 0x10], eax
add dword [esp + 0x24], eax
jmp 0x423ef3
test esi, esi
jne 0x423fb1
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
mov edx, ecx
sub edx, eax
inc edx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], edx
cmp eax, ecx
ja 0x423fbe
cmp dword [ebx + 0x28], esi
jne 0x424519
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov edx, dword [eax + 0x58]
mov dword [ecx + 0x2c], edx
mov dword [eax + 0x58], ecx
mov dword [ecx + 0x28], 1
jmp 0x424519
cmp esi, 0x65
jne 0x424519
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x424015
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
call fcn.004198b0
mov ecx, dword [edi + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [edi + 4]
call int.0041c140
cmp byte [edi + 9], 0
mov esi, eax
je 0x424004
dec dword [edi + 0xc]
jne 0x424004
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x424000
push eax
call dword [0x4f8c0c]
add esp, 4
mov byte [edi + 0xa], 0
mov dword [esp + 0x18], 1
test esi, esi
je 0x424015
cmp esi, 0x65
jne 0x424085
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [edi + 4]
inc ebx
call fcn.004198b0
mov eax, dword [esi + 0xc]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
push eax
call fcn.004162b0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x42405c
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0x28], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0x29], dl
mov byte [esi + 0x2a], cl
mov byte [esi + 0x2b], bl
cmp byte [edi + 9], 0
je 0x424083
dec dword [edi + 0xc]
jne 0x424083
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x42407f
push ecx
call dword [0x4f8c0c]
mov eax, dword [esp + 0x34]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, eax
test esi, esi
jne 0x424519
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x42409b
call fcn.00440560
cmp dword [esp + 0x3c], 5
jne 0x4240ba
mov eax, dword [edi + 4]
push 2
push eax
call fcn.004236c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x424519
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x10]
jge 0x4240f5
mov eax, dword [esp + 0x10]
cdq
idiv ebx
mov edx, dword [esp + 0x18]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x4f8cb8]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
jne 0x424103
dec edi
jmp 0x424103
mov eax, ebx
cdq
idiv dword [esp + 0x10]
mov edi, eax
imul edi, dword [esp + 0x18]
cmp ebx, dword [esp + 0x10]
jge 0x42443a
mov eax, ebx
cdq
mov ecx, eax
mov eax, dword [esp + 0x18]
mov ebx, edx
push ebx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
call fcn.004d7d10
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x3c]
ja 0x42419d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [0x4f8cb8]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x424196
lea edx, [esp + 0x30]
push edx
push edi
xor ecx, ecx
mov eax, ebx
call fcn.00415b10
mov esi, eax
add esp, 8
test esi, esi
jne 0x424196
mov eax, dword [esp + 0x30]
push eax
call fcn.004162b0
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
mov esi, eax
call fcn.00415e60
add esp, 4
inc edi
test esi, esi
je 0x424144
jmp 0x4241b0
test esi, esi
jne 0x4241b0
push 1
push esi
mov eax, ebx
call fcn.00416570
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x10]
mov edi, dword [0x4f8cb8]
mov ecx, dword [esp + 0x44]
lea eax, [edi + edx]
cdq
cmp edx, ecx
jg 0x4241d4
jl 0x4241ce
cmp eax, dword [esp + 0x40]
jae 0x4241d4
mov dword [esp + 0x14], edx
jmp 0x4241dc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
lea eax, [edi + ecx]
cdq
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
test esi, esi
jne 0x424519
jmp 0x424200
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jg 0x4243af
mov ebx, dword [esp + 0x18]
jl 0x42421e
cmp ebx, dword [esp + 0x10]
jae 0x4243af
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
push eax
push ebx
mov dword [esp + 0x44], 0
call fcn.004d77d0
inc eax
push eax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
call fcn.00415b10
mov edi, dword [esp + 0x38]
mov esi, eax
add esp, 8
test esi, esi
jne 0x424276
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x2c]
push ebx
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov esi, eax
test edi, edi
je 0x424392
test byte [edi + 0x18], 0x40
mov ebx, dword [edi + 0x10]
je 0x4242cf
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x88], edi
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004d7d10
push edx
push eax
mov eax, dword [ebx + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0x42433b
dec word [edi + 0x1a]
jne 0x42433b
mov eax, dword [edi + 0x1c]
dec dword [eax + 0xc]
test byte [edi + 0x18], 2
jne 0x42430b
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x42433b
cmp dword [edi + 0x14], 1
jne 0x4242f7
mov dword [eax + 0x2c], 0
mov ecx, dword [edi]
mov edx, dword [eax + 0x28]
push 0
push ecx
push edx
call dword [0x4f8c38]
add esp, 0xc
jmp 0x42433b
mov eax, edi
call fcn.004107c0
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
mov dword [edi + 0x20], ecx
test ecx, ecx
je 0x424321
mov dword [ecx + 0x24], edi
cmp dword [eax + 4], 0
mov dword [eax], edi
jne 0x42432c
mov dword [eax + 4], edi
cmp dword [eax + 8], 0
jne 0x42433b
test byte [edi + 0x18], 4
jne 0x42433b
mov dword [eax + 8], edi
cmp dword [ebx + 0x78], 0
jne 0x424392
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x424392
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x42438d
test al, al
je 0x42438d
cmp al, 2
jb 0x42437b
mov eax, dword [0x506ce0]
test eax, eax
je 0x424367
call eax
mov eax, ebx
call fcn.00416740
mov eax, dword [0x506ce4]
test eax, eax
je 0x42438d
call eax
jmp 0x42438d
cmp byte [ebx + 4], 0
jne 0x42438d
push 0
push 0
call fcn.00413020
add esp, 8
call fcn.00412ec0
mov ecx, dword [esp + 0x48]
add dword [esp + 0x18], ecx
mov edx, dword [esp + 0x4c]
adc dword [esp + 0x1c], edx
test esi, esi
je 0x424200
jmp 0x424519
test esi, esi
jne 0x424519
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x4243f6
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x4c], ecx
jl 0x4243f6
jg 0x4243e5
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x40]
jbe 0x4243f6
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push esi
call edx
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x424519
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 7], al
jne 0x42441b
movzx eax, byte [ecx + 0xb]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
jmp 0x42444a
mov ecx, dword [ecx + 0x3c]
cmp dword [ecx], eax
je 0x42444d
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 8
push ecx
call eax
add esp, 0xc
cmp eax, 0xc
jne 0x42444d
xor eax, eax
jmp 0x42444d
mov eax, dword [esp + 0x2c]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.00416570
add esp, 8
mov esi, eax
test esi, esi
jne 0x424519
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
cmp byte [edi + 8], al
je 0x424514
call fcn.004198b0
cmp byte [edi + 8], 2
jne 0x4244ec
mov esi, dword [edi + 4]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x4245a6
cmp byte [ebx + 0xf], 2
jne 0x42457e
cmp byte [ebx + 4], al
je 0x42457e
cmp byte [ebx + 5], 1
jne 0x42457e
mov byte [ebx + 0xf], 1
mov eax, dword [esi + 0x3c]
mov byte [esi + 0x14], 1
mov dword [esp + 0x34], eax
test eax, eax
je 0x4244e5
cmp dword [eax + 8], 0
je 0x4244dc
lea esi, [eax + 0xc]
mov ebx, 0x7d
mov ecx, dword [esi]
push ecx
call fcn.00410530
add esp, 4
add esi, 4
dec ebx
jne 0x4244c3
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push eax
call fcn.00408fe0
add esp, 4
mov dword [esi + 0x3c], 0
call fcn.0041d090
cmp byte [edi + 9], 0
je 0x424514
dec dword [edi + 0xc]
jne 0x424514
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x424510
push eax
call dword [0x4f8c0c]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, 0x65
cmp dword [esp + 0x38], 0
je 0x424684
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
push 0
call fcn.0041cfe0
mov edi, dword [edi + 0x18]
add esp, 4
cmp byte [edi + 8], 0
je 0x424684
call fcn.004198b0
cmp byte [edi + 8], 2
jne 0x42465c
mov ecx, dword [edi + 4]
mov ebx, dword [ecx]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x424661
cmp byte [ebx + 0xf], 2
jne 0x4245da
cmp byte [ebx + 4], al
je 0x4245da
cmp byte [ebx + 5], 1
jne 0x4245da
mov byte [ebx + 0xf], 1
jmp 0x42460a
movzx edx, byte [ebx + 0x12]
push 1
push edx
call fcn.00413020
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x42459f
cmp ecx, 0xa
jne 0x4245a6
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ebx, eax
test ebx, ebx
je 0x4244a6
cmp byte [edi + 9], 0
je 0x4245d3
dec dword [edi + 0xc]
jne 0x4245d3
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4245cf
push eax
call dword [0x4f8c0c]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, ebx
jmp 0x424519
movzx eax, byte [ebx + 0x12]
push 1
push eax
call fcn.00413020
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x4245fb
cmp ecx, 0xa
jne 0x424602
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x424661
mov eax, dword [ecx + 0x3c]
mov byte [ecx + 0x14], 1
mov dword [esp + 0x34], eax
test eax, eax
je 0x424655
cmp dword [eax + 8], 0
je 0x424644
mov ebx, eax
add ebx, 0xc
mov dword [esp + 0x38], 0x7d
lea esp, [esp]
mov edx, dword [ebx]
push edx
call fcn.00410530
add esp, 4
add ebx, 4
dec dword [esp + 0x38]
jne 0x424630
mov eax, dword [esp + 0x34]
push eax
call fcn.00408fe0
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ecx + 0x3c], 0
call fcn.0041d090
cmp byte [edi + 9], 0
je 0x424684
dec dword [edi + 0xc]
jne 0x424684
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x424680
push eax
call dword [0x4f8c0c]
add esp, 4
mov byte [edi + 0xa], 0
cmp esi, 0xc0a
jne 0x424691
mov esi, 7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], esi
mov ebx, edx
mov eax, dword [ebx]
test eax, eax
je 0x4246b0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4246b0
push eax
call dword [0x4f8c0c]
add esp, 4
mov edi, dword [ebx + 0x18]
cmp byte [edi + 9], 0
je 0x4246d6
dec dword [edi + 0xc]
jne 0x4246d6
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4246d2
push eax
call dword [0x4f8c0c]
add esp, 4
mov byte [edi + 0xa], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4246ea
push eax
call dword [0x4f8c0c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret