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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov edi, edx
mov ebx, ecx
call fcn.00405b40
mov dword [esp + 0x30], eax
push eax
call fcn.00405460
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x38]
push 0x120
push 0
push esi
call fcn.0040da00
add esp, 0xc
mov dword [esp + 0x20], ebx
mov ecx, ebx
push 0
push 0
push 0x120
push esi
push edi
push dword [esp + 0x2c]
call fcn.00445cd0
test eax, eax
js 0x4227b7
mov dword [esp + 4], 0xda23e81a
mov byte [esp + 8], 0xb4
mov word [esp + 9], 0
mov byte [esp + 0xb], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x422796
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00422d10
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x422770
cmp byte [esp + 0x57], 0
js 0x4227c4
lea eax, [esp + 0x40]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
mov bl, 1
jmp 0x422819
mov dword [esp + 0x18], 0
jmp 0x422c57
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, edi
or eax, ebx
je 0x422817
mov esi, dword [esp + 0x48]
inc esi
push esi
call fcn.0040d870
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00445cd0
test eax, eax
setns bl
js 0x42280c
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
push esi
call fcn.0040d880
add esp, 4
jmp 0x422819
xor ebx, ebx
mov dword [esp + 4], 0xe2ee14e6
mov dword [esp + 8], 0x6713
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x422866
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00422db0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x422840
cmp byte [esp + 0x137], 0
mov dword [esp + 0x18], ebx
js 0x422895
lea eax, [esp + 0x120]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
mov al, 1
mov dword [esp + 0x2c], eax
jmp 0x422901
mov edi, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
mov eax, edi
or eax, ebx
je 0x4228f5
mov esi, dword [esp + 0x128]
inc esi
push esi
call fcn.0040d870
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00445cd0
test eax, eax
setns al
mov dword [esp + 0x2c], eax
js 0x4228ea
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
push esi
call fcn.0040d880
add esp, 4
jmp 0x4228fd
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], 0xb7b1beb8
mov dword [esp + 8], 0xaec3becb
mov byte [esp + 0xc], 0xd8
mov dword [esp + 0xd], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x422956
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00422e20
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x422930
cmp byte [esp + 0x6f], 0
js 0x42297b
lea eax, [esp + 0x58]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
mov al, 1
mov dword [esp + 0x28], eax
jmp 0x4229de
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov eax, edi
or eax, ebx
je 0x4229d2
mov esi, dword [esp + 0x60]
inc esi
push esi
call fcn.0040d870
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00445cd0
test eax, eax
setns al
mov dword [esp + 0x28], eax
js 0x4229c7
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
push esi
call fcn.0040d880
add esp, 4
jmp 0x4229da
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], 0x599aac9c
mov byte [esp + 8], 0xf0
mov dword [esp + 9], 0
mov byte [esp + 0xd], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x422a36
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00422eb0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x422a10
cmp byte [esp + 0x87], 0
js 0x422a5e
lea eax, [esp + 0x70]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
mov al, 1
mov dword [esp + 0x24], eax
jmp 0x422ac1
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, edi
or eax, ebx
je 0x422ab5
mov esi, dword [esp + 0x78]
inc esi
push esi
call fcn.0040d870
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00445cd0
test eax, eax
setns al
mov dword [esp + 0x24], eax
js 0x422aaa
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00406e10
add esp, 0xc
push esi
call fcn.0040d880
add esp, 4
jmp 0x422abd
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x18]
and bl, byte [esp + 0x2c]
fild qword [esp + 0x138]
fstp qword [esp + 0x18]
mov dword [esp + 4], 0x6e6a6377
mov dword [esp + 8], 0x445b4c66
mov dword [esp + 0xc], 0xa14f5f5f
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x422b26
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00422f30
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x422b00
and bl, byte [esp + 0x28]
sub esp, 0x10
fld qword [esp + 0x28]
fstp qword [esp + 8]
lea eax, [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00406e60
add esp, 0x10
mov edi, eax
movzx esi, byte [esp + 0x90]
mov dword [esp + 4], 0xacbbaebb
mov dword [esp + 8], 0xab55baa3
mov word [esp + 0xc], 0xd3a7
mov dword [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x422bb6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00422fa0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x422b90
and bl, byte [esp + 0x24]
mov dword [esp + 0x18], ebx
push esi
lea eax, [esp + 8]
push eax
push dword [esp + 0x1c]
call fcn.00406ef0
add esp, 0xc
mov esi, eax
movzx ebx, byte [esp + 0x91]
mov dword [esp + 4], 0xa7aab5a0
mov dword [esp + 8], 0xa7a0a6b7
mov dword [esp + 0xc], 0x51a9
or esi, edi
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x422c36
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00423020
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x422c10
push ebx
lea eax, [esp + 8]
push eax
push dword [esp + 0x1c]
call fcn.00406ef0
add esp, 0xc
or esi, eax
sete al
mov ecx, dword [esp + 0x18]
and cl, al
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov ecx, eax
or ecx, edx
je 0x422c9d
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.00445cd0
test eax, eax
js 0x422c9d
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.004226d0
add esp, 4
mov ecx, dword [esp + 0x18]
or cl, al
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ecx, eax
or ecx, edx
je 0x422ced
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.00445cd0
test eax, eax
mov ebx, dword [esp + 0x18]
js 0x422cd8
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.004226d0
add esp, 4
or bl, al
test bl, bl
je 0x422cf5
push dword [esp + 0x30]
push dword [ebp + 8]
call fcn.00406800
add esp, 8
jmp 0x422d01
mov ebx, dword [esp + 0x18]
test bl, bl
jne 0x422cdc
push dword [esp + 0x30]
call fcn.00405a10
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret