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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x423c12
push eax
call dword [0x54a474]
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x423c29
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x423c29
call fcn.00416d50
mov ecx, dword [ebx]
test ecx, ecx
je 0x423c42
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x423c42
push eax
call dword [0x54a474]
mov ecx, dword [ebx]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x423c57
cmp esi, 5
je 0x423c57
cmp esi, 6
jne 0x424520
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 4]
mov dword [esp + 0x38], 0
mov esi, dword [edx + 4]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x423c88
cmp byte [esi + 0x14], 2
jne 0x423c88
mov esi, 5
jmp 0x423caa
xor esi, esi
cmp byte [edx + 8], 0
jne 0x423caa
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.00419b90
mov edx, dword [ebx + 0x18]
mov esi, eax
mov edi, dword [ebx + 4]
mov dword [esp + 0x38], 1
cmp dword [ebx + 0xc], 0
jne 0x423da7
test esi, esi
jne 0x423e10
cmp byte [edi + 9], 0
mov eax, dword [edx + 4]
mov edx, dword [edi + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0xc], ecx
je 0x423ceb
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x423ceb
mov ecx, edi
call fcn.00416d50
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
test byte [edx + 0x16], 2
je 0x423d11
cmp byte [edi + 9], 0
je 0x423dab
add dword [edi + 0xc], 0xffffffff
jne 0x423dab
mov ecx, edi
call fcn.00416d10
jmp 0x423dab
lea eax, [edx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
sub eax, dword [edx + 0x24]
mov dword [esp + 0x44], eax
lea eax, [ecx - 0x200]
cmp eax, 0xfe00
ja 0x423d57
lea eax, [ecx - 1]
test ecx, eax
jne 0x423d57
mov dword [edx + 0x20], ecx
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x423d57
add ecx, 0xfffffffc
mov dword [edx + 0x50], ecx
call fcn.0040dae0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x50], 0
jmp 0x423d5b
mov ecx, dword [esp + 0x40]
push dword [esp + 0x44]
lea edx, [ecx + 0x20]
mov ecx, dword [ecx]
call fcn.00411110
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [esp + 0x40]
mov dword [eax + 0x24], ecx
cmp byte [edi + 9], 0
je 0x423d99
add dword [edi + 0xc], 0xffffffff
jne 0x423d99
mov ecx, edi
call fcn.00416d10
cmp dword [esp + 0x10], 7
jne 0x423dab
mov esi, 7
jmp 0x423e10
test esi, esi
jne 0x423e10
cmp dword [ebx + 0xc], 0
jne 0x423e10
mov ecx, dword [ebx + 4]
mov edx, 2
call fcn.00419b90
mov esi, eax
test esi, esi
jne 0x423e10
mov edi, dword [ebx + 4]
mov dword [ebx + 0xc], 1
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
mov dword [esp + 0xc], eax
je 0x423def
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x423def
mov ecx, edi
call fcn.00416d50
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x28]
bswap eax
mov dword [ebx + 8], eax
cmp byte [edi + 9], 0
je 0x423e10
add dword [edi + 0xc], 0xffffffff
jne 0x423e10
mov ecx, edi
call fcn.00416d10
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x24], ecx
mov al, byte [eax + 5]
mov byte [esp + 0x17], al
test esi, esi
jne 0x423e45
cmp al, 5
jne 0x423e45
cmp edi, ecx
mov eax, 8
cmovne esi, eax
mov edx, dword [edx + 0x2c]
xor eax, eax
mov dword [esp + 0x40], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
test ecx, ecx
js 0x423e61
cmp eax, ecx
jge 0x423f37
mov edi, dword [ebx + 0x10]
cmp edi, edx
ja 0x423f37
test esi, esi
jne 0x423f72
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x54b1cc]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x423f26
push 2
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x423f26
push eax
mov eax, dword [esp + 0x48]
mov edx, edi
mov ecx, ebx
push dword [eax + 4]
call fcn.00423960
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x423f26
test byte [ecx + 0x1c], 0x20
je 0x423f21
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004e59d0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
inc dword [ebx + 0x10]
inc eax
jmp 0x423e4e
call fcn.0040d5a0
mov eax, dword [esp + 0x18]
inc dword [ebx + 0x10]
inc eax
mov edx, dword [esp + 0x40]
jmp 0x423e4e
test esi, esi
jne 0x423f72
mov eax, edx
mov dword [ebx + 0x24], edx
sub eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x10], edx
ja 0x423f7b
cmp dword [ebx + 0x28], esi
jne 0x4244ee
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x4244ee
cmp esi, 0x65
jne 0x4244ee
test edx, edx
jne 0x423fd2
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x423f96
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x423f96
mov ecx, edi
call fcn.00416d50
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [edi + 4]
call fcn.00419ab0
cmp byte [edi + 9], 0
mov esi, eax
je 0x423fbd
add dword [edi + 0xc], 0xffffffff
jne 0x423fbd
mov ecx, edi
call fcn.00416d10
mov dword [esp + 0x40], 1
test esi, esi
je 0x423fd2
cmp esi, 0x65
jne 0x4244ee
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
inc eax
mov dword [esp + 0xc], eax
cmp byte [edi + 9], 0
mov esi, dword [edi + 4]
je 0x423ff6
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x423ff6
mov ecx, edi
call fcn.00416d50
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x424025
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x424025
cmp dword [edx + 0x60], 0
je 0x424021
call fcn.004118e0
jmp 0x424046
xor esi, esi
jmp 0x42404c
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x424059
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x424041
call fcn.00413410
jmp 0x424046
call fcn.00413340
mov esi, eax
test esi, esi
jne 0x424059
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
bswap eax
mov dword [ecx + 0x28], eax
cmp byte [edi + 9], 0
je 0x42406c
add dword [edi + 0xc], 0xffffffff
jne 0x42406c
mov ecx, edi
call fcn.00416d10
test esi, esi
jne 0x4244ee
mov ecx, dword [ebx]
test ecx, ecx
je 0x42407f
call fcn.0044a9f0
cmp byte [esp + 0x17], 5
jne 0x424160
mov eax, dword [ebx + 4]
mov ecx, 0xffdf
xor edx, edx
mov dword [esp + 0xc], eax
mov edi, dword [eax + 4]
and word [edi + 0x16], cx
mov ecx, eax
call fcn.00419b90
mov esi, eax
test esi, esi
jne 0x42414f
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x12], 2
jne 0x4240ca
cmp byte [eax + 0x13], 2
je 0x42414f
mov ecx, dword [esp + 0xc]
mov edx, 2
call fcn.00419b90
mov esi, eax
test esi, esi
jne 0x42414f
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x424105
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x424105
cmp dword [edx + 0x60], esi
je 0x424101
call fcn.004118e0
jmp 0x424134
xor esi, esi
jmp 0x42413a
mov esi, dword [edx + 0x28]
test esi, esi
je 0x42411a
mov eax, 0xffdf
and word [edi + 0x16], ax
jmp 0x4244ee
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42412f
call fcn.00413410
jmp 0x424134
call fcn.00413340
mov esi, eax
test esi, esi
jne 0x42414f
mov eax, dword [esp + 0x10]
mov word [eax + 0x12], 0x202
mov eax, 0xffdf
and word [edi + 0x16], ax
jmp 0x424160
mov eax, 0xffdf
and word [edi + 0x16], ax
test esi, esi
jne 0x4244ee
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cmp edi, ecx
jge 0x4244b5
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov eax, dword [esp + 0x40]
dec eax
add eax, ecx
cdq
idiv ecx
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x40]
imul dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], edx
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x54b1cc]
div dword [ecx + 0x20]
lea ecx, [edi - 1]
inc eax
cmp edi, eax
cmovne ecx, edi
mov dword [esp + 0x44], ecx
mov edi, ecx
cmp edi, dword [esp + 0x2c]
ja 0x4242ba
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x54b1cc]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x4242ab
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4242ab
mov ecx, dword [esp + 0x40]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x42422e
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42422e
cmp dword [edx + 0x60], esi
je 0x42422a
call fcn.004118e0
jmp 0x42424f
xor esi, esi
jmp 0x424255
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x424255
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42424a
call fcn.00413410
jmp 0x42424f
call fcn.00413340
mov ecx, dword [esp + 0x40]
mov esi, eax
test ecx, ecx
je 0x4242ab
test byte [ecx + 0x1c], 0x20
je 0x4242a6
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004e59d0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov edi, dword [esp + 0x44]
jmp 0x4242ab
call fcn.0040d5a0
inc edi
mov dword [esp + 0x44], edi
test esi, esi
je 0x4241c4
jmp 0x4242d0
test esi, esi
jne 0x4242d0
mov ecx, dword [esp + 0x1c]
xor edx, edx
push 1
call fcn.00413710
add esp, 4
mov esi, eax
mov eax, dword [0x54b1cc]
add eax, dword [esp + 0x24]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
cmp eax, edx
jg 0x4242fa
jl 0x424306
mov eax, dword [esp + 0x18]
cmp ecx, eax
jae 0x4242fe
jmp 0x424306
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edx
mov eax, dword [0x54b1cc]
mov ecx, dword [esp + 0x28]
add eax, ecx
cdq
mov dword [esp + 0x34], eax
mov ebx, eax
mov dword [esp + 0x2c], edx
mov edi, edx
test esi, esi
jne 0x4244ee
mov eax, ecx
cdq
mov ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
cmp edi, dword [esp + 0x24]
jg 0x424412
jl 0x424349
cmp ebx, dword [esp + 0x40]
jae 0x424412
push 0
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 0
push edx
push ecx
push eax
push edi
push ebx
call fcn.0050e8e0
inc eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x424397
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push edi
push ebx
push dword [esp + 0x30]
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4243f1
test byte [ecx + 0x1c], 0x20
je 0x4243ec
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004e59d0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x44]
add esp, 0x10
mov edi, dword [esp + 0x2c]
jmp 0x4243f1
call fcn.0040d5a0
mov eax, dword [esp + 0x3c]
add ebx, eax
mov ecx, dword [esp + 0x48]
adc edi, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edi
test esi, esi
je 0x424333
jmp 0x4244ee
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x4244ee
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x4c], ecx
jl 0x424458
jg 0x424446
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x48], eax
jbe 0x424458
mov eax, dword [ebx]
push ecx
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
push ebx
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4244ee
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x424488
push esi
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
add esp, 0xc
cmp esi, 0xc
jne 0x424484
xor esi, esi
jmp 0x424488
test esi, esi
jne 0x4244af
cmp byte [ebx + 7], 0
jne 0x4244af
movzx ecx, byte [ebx + 0xa]
mov edx, dword [ebx + 0x3c]
test ecx, ecx
je 0x4244ad
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [esp + 0x28]
add esp, 8
mov esi, eax
jmp 0x4244d4
xor esi, esi
mov ebx, dword [esp + 0x20]
jmp 0x4244d4
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x1c]
xor edx, edx
imul eax, dword [esp + 0x40]
push 0
mov dword [ecx + 0x18], eax
call fcn.00413710
add esp, 4
mov esi, eax
test esi, esi
jne 0x4244ee
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.0041add0
mov esi, eax
mov eax, 0x65
test esi, esi
cmove esi, eax
cmp dword [esp + 0x38], 0
mov ebx, dword [esp + 0x20]
je 0x42450d
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.0041abe0
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.0041add0
mov ecx, dword [ebx]
cmp esi, 0xc0a
mov eax, 7
cmove esi, eax
mov dword [ebx + 0x1c], esi
test ecx, ecx
je 0x424535
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x424535
push eax
call dword [0x54a47c]
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x424549
add dword [ecx + 0xc], 0xffffffff
jne 0x424549
call fcn.00416d10
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x42455d
push ecx
call dword [0x54a47c]
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret