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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x422a1f
push eax
call dword [0x51d1f8]
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x18]
cmp byte [ecx + 9], 0
je 0x422a3a
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x422a3a
call fcn.004442e0
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
test eax, eax
je 0x422a55
mov eax, dword [eax + 0xc]
test eax, eax
je 0x422a55
push eax
call dword [0x51d1f8]
add esp, 4
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 0x1c]
cmp edi, 6
ja 0x423106
mov eax, 0x61
bt eax, edi
jae 0x423106
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x18]
cmp dword [ebx], 0
mov eax, dword [ecx + 4]
mov edx, dword [edx + 4]
mov edi, dword [eax]
mov edx, dword [edx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edx
je 0x422aae
cmp byte [eax + 0x14], 2
jne 0x422aae
mov al, 1
mov edi, 5
mov dword [esp + 0x1c], eax
jmp 0x422b45
cmp byte [ecx + 8], 0
je 0x422abe
mov al, 1
xor edi, edi
mov dword [esp + 0x1c], eax
jmp 0x422ad4
mov dword [esp + 0x1c], 0
xor edx, edx
push 0
call fcn.00423190
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0xc]
mov ecx, eax
or ecx, edi
je 0x422ae7
test edi, edi
jne 0x422b45
jmp 0x422b14
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x24]
push 0
push 0
call fcn.00433c80
add esp, 8
mov edi, 7
cmp eax, 7
je 0x422b45
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0xc]
xor edi, edi
test eax, eax
jne 0x422b45
mov eax, dword [esp + 0x50]
mov edx, 2
mov ecx, dword [eax + 4]
add eax, 8
push eax
call fcn.00423190
add esp, 4
test eax, eax
je 0x422b3a
mov edi, eax
jmp 0x422b45
mov eax, dword [esp + 0x50]
mov dword [eax + 0xc], 1
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov ebp, dword [ecx + 0x24]
mov eax, dword [eax + 0x24]
mov bl, byte [edx + 5]
xor edx, edx
cmp ebp, eax
mov dword [esp + 8], ebp
mov ebp, eax
mov eax, 0x7fffffff
setne dl
shl edx, 3
cmp bl, 5
mov byte [esp + 0x18], bl
cmovne edx, edi
test edi, edi
cmovne edx, edi
and eax, dword [ecx + 0x30]
test esi, esi
mov dword [esp], eax
je 0x422c85
mov eax, dword [esp + 0x50]
lea ebx, [esp + 0x14]
mov edi, dword [eax + 0x10]
jmp 0x422bb1
xor edx, edx
mov eax, dword [esp + 0x50]
inc edi
dec esi
mov dword [eax + 0x10], edi
je 0x422c85
test edx, edx
jne 0x422c85
cmp edi, dword [esp]
ja 0x422c85
mov ecx, dword [esp + 0x50]
mov eax, dword [0x51d800]
xor edx, edx
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 4]
div dword [ecx + 0x24]
inc eax
cmp edi, eax
je 0x422ba0
mov dword [esp + 0x14], 0xffffffff
push 2
push ebx
push edi
mov eax, dword [esp + 0x40]
push eax
call dword [eax + 0xcc]
add esp, 0x10
mov edx, eax
test eax, eax
jne 0x422c79
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov edx, edi
push 0
push dword [eax + 4]
call fcn.00423a30
add esp, 8
mov ecx, dword [esp + 0x14]
mov edx, eax
test ecx, ecx
je 0x422c79
test byte [ecx + 0x1c], 0x20
mov dword [esp + 4], edx
jne 0x422c2d
call fcn.00442220
jmp 0x422c75
mov dword [esp + 0xc], ebp
mov ebp, dword [ecx + 0x14]
dec dword [ebp + 0x78]
mov eax, dword [ebp + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebp + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov ebx, dword [ebp + 0x98]
dec edi
mov eax, edi
mul ebx
sar ebx, 0x1f
imul ebx, edi
mov edi, dword [ebp + 0x3c]
mov ebp, dword [esp + 0xc]
add edx, ebx
mov ebx, dword [edi]
push dword [ecx + 4]
push edx
push eax
push edi
call dword [ebx + 0x48]
lea ebx, [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 0x10]
jmp 0x422ba2
cmp edx, 0x65
je 0x422caf
test edx, edx
jne 0x4230ce
mov esi, dword [esp + 0x50]
mov edx, dword [esp]
mov eax, dword [esi + 0x10]
mov ecx, edx
mov dword [esi + 0x24], edx
sub ecx, eax
inc ecx
cmp edx, eax
mov dword [esi + 0x20], ecx
jae 0x422ee5
cmp dword [esp], 0
je 0x422e81
mov eax, dword [esp + 0x50]
mov edx, 1
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
inc eax
push eax
call fcn.00423cd0
add esp, 4
mov edx, eax
test eax, eax
jne 0x4230ce
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
test ecx, ecx
je 0x422ceb
call fcn.00423d80
cmp byte [esp + 0x18], 5
jne 0x422d0d
mov eax, dword [esp + 0x50]
mov edx, 2
mov ecx, dword [eax + 4]
call fcn.00423f90
mov edx, eax
test eax, eax
jne 0x4230ce
mov ecx, dword [esp + 8]
cmp ecx, ebp
jge 0x422f18
mov eax, ebp
mov dword [esp + 0xc], ebp
mov ebx, ecx
cdq
idiv ecx
mov ebp, dword [esp]
mov ecx, eax
lea eax, [ebp + eax - 1]
cdq
idiv ecx
mov ecx, dword [0x51d800]
mov edi, eax
mov eax, dword [esp + 0x50]
xor edx, edx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x24]
mov eax, ecx
div esi
inc eax
xor edx, edx
cmp edi, eax
mov eax, ebp
sete dl
sub edi, edx
imul ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x3c]
cmp edi, ebx
mov dword [esp + 0x30], eax
ja 0x422f5f
mov dword [esp + 4], ebx
nop dword [eax + eax]
mov eax, ecx
xor edx, edx
xor ebp, ebp
div esi
inc eax
cmp edi, eax
je 0x422db1
mov dword [esp + 0x24], 0xffffffff
push 0
lea eax, [esp + 0x28]
push eax
push edi
mov eax, dword [esp + 0x1c]
push eax
call dword [eax + 0xcc]
add esp, 0x10
mov ebp, eax
test eax, eax
je 0x422dd9
inc edi
mov edx, ebp
cmp edi, ebx
ja 0x422f5b
test edx, edx
jne 0x422f5b
mov eax, dword [esp + 0x50]
mov ecx, dword [0x51d800]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x24]
jmp 0x422d80
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x14]
test byte [ecx + 0x1c], 4
je 0x422dee
mov edx, dword [esi + 0x18]
cmp edx, dword [ecx + 0x18]
jae 0x422e0a
mov ebp, dword [esi + 0x28]
test ebp, ebp
jne 0x422e1e
mov edx, dword [esi + 0x94]
cmp edx, dword [esi + 0x98]
jbe 0x422e17
call fcn.00445510
jmp 0x422e1c
cmp dword [esi + 0x60], 0
je 0x422e7d
call fcn.0043b610
jmp 0x422e1c
call fcn.00445900
mov ebp, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x422db1
test byte [ecx + 0x1c], 0x20
jne 0x422e36
call fcn.00442220
jmp 0x422db1
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov eax, dword [ecx + 0x18]
mov ebx, dword [esi + 0x98]
mov esi, dword [esi + 0x3c]
dec eax
mov dword [esp], eax
mul ebx
sar ebx, 0x1f
imul ebx, dword [esp]
add edx, ebx
mov ebx, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
call dword [ebx + 0x48]
mov ebx, dword [esp + 0x14]
add esp, 0x10
jmp 0x422db1
xor ebp, ebp
jmp 0x422e1e
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 4]
cmp byte [edi + 9], 0
je 0x422e9e
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x422e9e
mov ecx, edi
call fcn.004442e0
mov eax, dword [edi + 4]
mov dword [eax + 0x30], 0
mov ecx, dword [edi + 4]
call fcn.00444390
cmp byte [edi + 9], 0
mov edx, eax
je 0x422ec8
dec dword [edi + 0xc]
jne 0x422ec8
mov ecx, edi
mov esi, edx
call fcn.00444370
mov edx, esi
cmp edx, 0x65
mov dword [esp], 1
je 0x422cb9
test edx, edx
je 0x422cb9
jmp 0x4230ce
mov eax, dword [esp + 0x50]
xor edx, edx
cmp dword [eax + 0x28], 0
jne 0x4230ce
mov eax, dword [esp + 0x50]
mov esi, eax
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x58]
mov dword [esi + 0x2c], ecx
mov dword [eax + 0x58], esi
mov dword [esi + 0x28], 1
jmp 0x4230ce
mov eax, ecx
cdq
idiv ebp
mov ecx, dword [esp + 0x10]
imul eax, dword [esp]
xor edx, edx
mov dword [ecx + 0x18], eax
push 0
call fcn.00424090
add esp, 4
mov edx, eax
test eax, eax
jne 0x4230ce
mov eax, dword [esp + 0x50]
xor edx, edx
mov ecx, dword [eax + 4]
call fcn.00424580
test eax, eax
mov edx, 0x65
cmovne edx, eax
jmp 0x4230ce
test edx, edx
jne 0x422f71
mov ecx, dword [esp + 0x10]
xor edx, edx
push 1
call fcn.00424090
add esp, 4
mov edx, eax
mov edi, dword [0x51d800]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add ebp, edi
mov ebx, ebp
sar ebx, 0x1f
cmp ebp, esi
mov eax, ebx
sbb eax, ecx
cmovge ebx, ecx
cmovge ebp, esi
add edi, dword [esp + 8]
mov esi, edi
sar esi, 0x1f
test edx, edx
sete al
cmp edi, ebp
mov ecx, esi
sbb ecx, ebx
jge 0x4230ac
mov ecx, dword [esp + 8]
test edx, edx
jne 0x4230ac
mov eax, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x38], ebx
sar eax, 0x1f
mov dword [esp], eax
nop dword [eax]
mov dword [esp + 0x20], 0
push dword [esp]
push ecx
push esi
push edi
call fcn.004fb230
add esp, 0x10
inc eax
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [eax + 0xcc]
add esp, 0x10
mov edx, eax
test eax, eax
jne 0x42301f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx]
push esi
push edi
push dword [esp + 0x10]
push dword [eax + 4]
push edx
call dword [ecx + 0xc]
add esp, 0x14
mov edx, eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42308c
test byte [ecx + 0x1c], 0x20
mov dword [esp + 4], edx
jne 0x423040
call fcn.00442220
jmp 0x423088
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov eax, dword [ecx + 0x18]
mov ebp, dword [ebx + 0x98]
mov ebx, dword [ebx + 0x3c]
dec eax
mov dword [esp + 0x18], eax
mul ebp
sar ebp, 0x1f
imul ebp, dword [esp + 0x18]
add edx, ebp
mov ebp, dword [ebx]
push dword [ecx + 4]
push edx
push eax
push ebx
mov ebx, dword [esp + 0x48]
call dword [ebp + 0x48]
mov ebp, dword [esp + 0x1c]
add esp, 0x10
mov edx, dword [esp + 4]
add edi, dword [esp + 8]
adc esi, dword [esp]
test edx, edx
sete al
cmp edi, ebp
mov ecx, esi
sbb ecx, ebx
jge 0x4230ac
mov ecx, dword [esp + 8]
test edx, edx
je 0x422fd0
test al, al
je 0x4230ce
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push dword [esp + 0x2c]
call fcn.004244f0
add esp, 4
mov edx, eax
test eax, eax
je 0x42315a
cmp byte [esp + 0x1c], 0
jne 0x4230f1
mov edi, dword [esp + 0x50]
mov esi, edx
xor edx, edx
mov ecx, dword [edi + 0x18]
call fcn.004246a0
mov ecx, dword [edi + 0x18]
xor edx, edx
call fcn.00424580
mov edx, esi
mov eax, dword [esp + 0x50]
cmp edx, 0xc0a
mov edi, 7
cmovne edi, edx
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
test eax, eax
je 0x423121
mov eax, dword [eax + 0xc]
test eax, eax
je 0x423121
push eax
call dword [0x51d200]
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x18]
cmp byte [ecx + 9], 0
je 0x423138
dec dword [ecx + 0xc]
jne 0x423138
call fcn.00444370
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x423150
push eax
call dword [0x51d200]
add esp, 4
mov eax, edi
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.00424540
jmp 0x422f34