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

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.0043deb0
push 0x857a10
mov dword [esi + 0xc], eax
call fcn.0043ff10
add esp, 4
mov byte [esi + 0x90], 1
call fcn.0043dea0
xor ebx, ebx
test eax, eax
je 0x4222fe
call fcn.0043dea0
cmp eax, 1
je 0x4222fe
lea eax, [ebx + 1]
jmp 0x422300
xor eax, eax
mov byte [esi + 0x91], al
lea eax, [esi + 0x10]
lea ecx, [esi + 0x130]
push ebp
xor ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea edi, [esi + 0x16c]
push ebp
call fcn.0043e040
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [edx], eax
je 0x422344
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x78]
call fcn.0044bfe0
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, ebx
mov ecx, dword [esi + 0x94]
je 0x42235f
lea edx, [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
jmp 0x422365
mov eax, dword [esp + 0x14]
mov dword [eax], ebx
mov dword [eax - 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax - 4], ebx
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x422383
lea edx, [ecx + 0x38]
mov dword [edi - 0x14], edx
jmp 0x422386
mov dword [edi - 0x14], ebx
cmp ecx, ebx
mov dword [edi - 0x10], ebx
mov dword [edi - 0xc], ebx
mov dword [edi - 0x1c], 5
mov dword [edi - 0x18], ebx
je 0x4223a1
add ecx, 0x3c
mov dword [edi], ecx
jmp 0x4223a3
mov dword [edi], ebx
add dword [esp + 0x10], 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi - 8], 8
mov dword [edi - 4], ebx
mov byte [esi + ebp + 0x22c2], bl
add ebp, 1
add eax, 0x14
add edi, 0x28
cmp ebp, 2
mov dword [esp + 0x14], eax
jl 0x422320
mov eax, dword [esi + 0x1e40]
mov cl, byte [esi + 0x90]
mov byte [esi + 0x92], 1
mov byte [eax + 0x14], cl
call fcn.0043dea0
cmp eax, 2
je 0x422406
call fcn.0043dea0
cmp eax, 8
je 0x422406
mov eax, 1
jmp 0x422408
xor eax, eax
mov dl, byte [esi + 0x91]
and dl, al
mov eax, dword [esi + 0x1e44]
mov byte [eax + 0x14], dl
mov ecx, dword [esi + 0xa8]
lea eax, [esi + 0x18]
cmp eax, ebx
je 0x422431
lea edx, [eax + 0x3c]
mov dword [esi + 0x2434], edx
jmp 0x422437
mov dword [esi + 0x2434], ebx
cmp eax, ebx
mov dword [esi + 0x2438], ebx
mov dword [esi + 0x243c], ebx
mov dword [esi + 0x242c], ecx
mov dword [esi + 0x2430], ebx
mov ecx, dword [esi + 0xac]
je 0x422464
add eax, 0x38
mov dword [esi + 0x2448], eax
jmp 0x42246a
mov dword [esi + 0x2448], ebx
lea eax, [esi + 0x1f98]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x134]
mov dword [esi + 0x244c], ebx
mov dword [esi + 0x2450], ebx
mov dword [esi + 0x2440], ecx
mov dword [esi + 0x2444], ebx
xor edx, edx
mov dword [esp + 0x14], eax
lea eax, [esi + 0x15c]
mov byte [esi + 0x22c0], bl
mov byte [esi + 0x22c1], bl
mov dword [esi + 8], ebx
mov dword [esp + 0x18], edx
xor ebp, ebp
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xc]
cmp byte [ecx + edx + 0x4e], bl
je 0x4224cf
mov dword [eax], 4
mov ecx, dword [esi + 0xc]
mov byte [edx + ecx + 0x4e], bl
jmp 0x4224d6
movsx ecx, byte [ecx + ebp + 0xf]
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
movsx ecx, byte [ecx + ebp + 0xd]
mov dword [eax + 0x14], ecx
xor edi, edi
cmp dword [esi + 0x94], ebx
jle 0x42253b
jmp 0x4224f0
mov ecx, dword [esi + 0x9c]
cmp ecx, ebx
je 0x422509
mov eax, dword [esi + 0xa0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x422512
call fcn.0081ff70
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x9c]
mov ecx, dword [ecx + ebp + 8]
cmp ecx, dword [eax + edi*4]
je 0x422531
add edi, 1
cmp edi, dword [esi + 0x94]
jl 0x4224f0
jmp 0x422537
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fild dword [ecx]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx]
add dword [esp + 0x14], 0x14
fmul dword [esi + 0x1e48]
add edx, 1
add ecx, 4
add eax, 0x28
fstp dword [esp + 0x18]
add ebp, 0x20
cmp ebp, 0x40
fld dword [esp + 0x18]
fstp dword [edi + 4]
mov edi, dword [esi + 0xc]
mov byte [edx + edi + 0x4b], bl
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jl 0x4224b7
mov edx, dword [esi + 0x1f98]
fld dword [0x857a0c]
fstp dword [edx + 4]
mov eax, dword [esi + 0x1f9c]
fld dword [0x857a08]
pop ebp
fstp dword [eax + 4]
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x50], bl
jne 0x4225f9
xor edi, edi
cmp dword [esi + 0xa8], ebx
jle 0x4225f9
mov ecx, dword [esi + 0xb4]
cmp ecx, ebx
je 0x4225cf
mov eax, dword [esi + 0xb8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4225d4
call fcn.0081ff70
mov eax, dword [esi + 0xc]
movsx ecx, byte [eax + 4]
mov edx, dword [esi + 0xb4]
cmp dword [edx + edi*4], ecx
je 0x4225f3
add edi, 1
cmp edi, dword [esi + 0xa8]
jl 0x4225b6
jmp 0x4225f9
mov dword [esi + 0x2438], edi
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x51], bl
jne 0x422653
xor edi, edi
cmp dword [esi + 0xac], ebx
jle 0x422653
jmp 0x422610
mov ecx, dword [esi + 0xc4]
cmp ecx, ebx
je 0x422629
mov eax, dword [esi + 0xc8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x42262e
call fcn.0081ff70
mov ecx, dword [esi + 0xc]
movsx edx, byte [ecx + 5]
mov eax, dword [esi + 0xc4]
cmp edx, dword [eax + edi*4]
je 0x42264d
add edi, 1
cmp edi, dword [esi + 0xac]
jl 0x422610
jmp 0x422653
mov dword [esi + 0x244c], edi
mov eax, dword [esi + 0x4f50]
mov byte [eax + 0x14], 1
call fcn.0043df40
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x64]
mov dword [ecx], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
push ecx
push ebx
mov ecx, esi
call fcn.0041fd80
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x28]
push eax
push 1
mov ecx, esi
call fcn.0041fd80
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4