Function at 0x422c90
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.00404df0
mov dword [esp + 0x2c], eax
push eax
call fcn.00404710
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x38]
push 0x120
push 0
push esi
call fcn.0040cb80
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.00444960
test eax, eax
js 0x422d7d
mov dword [esp + 8], 0xc2f9ccf6
mov byte [esp + 0xc], 0x68
mov word [esp + 0xd], 0
mov byte [esp + 0xf], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x422d5b
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00423300
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x422d30
cmp byte [esp + 0x57], 0
mov esi, dword [esp + 0x1c]
js 0x422d84
lea eax, [esp + 0x40]
lea ecx, [esp + 8]
push eax
push ecx
push esi
call fcn.00406160
add esp, 0xc
mov bl, 1
jmp 0x422dde
xor ebx, ebx
jmp 0x423254
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, esi
or eax, ebx
je 0x422dd8
mov edi, dword [esp + 0x48]
inc edi
push edi
call fcn.0040cb00
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push edi
mov edi, eax
push eax
push ebx
push esi
call fcn.00444960
test eax, eax
setns bl
mov esi, dword [esp + 0x1c]
js 0x422dcd
lea eax, [esp + 8]
push edi
push eax
push esi
call fcn.00406160
add esp, 0xc
push edi
call fcn.0040cb10
add esp, 4
jmp 0x422dde
xor ebx, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0x9ea6b09e
mov word [esp + 0xc], 0x6dd1
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x422e3b
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00423370
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x422e10
cmp byte [esp + 0x137], 0
js 0x422e62
lea eax, [esp + 0x120]
lea ecx, [esp + 8]
push eax
push ecx
push esi
call fcn.00406160
add esp, 0xc
mov edi, 1
jmp 0x422ed1
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x124]
mov eax, esi
or eax, edi
je 0x422ecb
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x128]
inc ebx
push ebx
call fcn.0040cb00
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push ebx
mov ebx, eax
push eax
push edi
push esi
call fcn.00444960
mov edi, eax
test eax, eax
mov esi, dword [esp + 0x1c]
js 0x422eb7
lea eax, [esp + 8]
push ebx
push eax
push esi
call fcn.00406160
add esp, 0xc
push ebx
call fcn.0040cb10
add esp, 4
not edi
shr edi, 0x1f
mov ebx, dword [esp + 0x18]
jmp 0x422ed1
xor edi, edi
mov esi, dword [esp + 0x1c]
movzx ebx, bl
not ebx
mov dword [esp + 8], 0xb7b1beb8
mov dword [esp + 0xc], 0xae43be4b
mov byte [esp + 0x10], 0x58
mov dword [esp + 0x11], 0
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x422f3b
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00423400
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x422f10
or edi, ebx
cmp byte [esp + 0x6f], 0
js 0x422f5f
lea eax, [esp + 0x58]
lea ecx, [esp + 8]
push eax
push ecx
push esi
call fcn.00406160
add esp, 0xc
mov al, 1
mov dword [esp + 0x24], eax
jmp 0x422fd5
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, ecx
or eax, edx
je 0x422fcd
mov esi, dword [esp + 0x60]
inc esi
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
call fcn.0040cb00
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x44]
push dword [esp + 0x38]
call fcn.00444960
test eax, eax
setns al
mov dword [esp + 0x24], eax
js 0x422fbf
lea eax, [esp + 8]
push dword [esp + 0x18]
push eax
push esi
call fcn.00406160
add esp, 0xc
push dword [esp + 0x18]
call fcn.0040cb10
add esp, 4
jmp 0x422fd5
mov dword [esp + 0x24], 0
cmp edi, ebx
setne byte [esp + 0x18]
mov dword [esp + 8], 0x1166146c
mov byte [esp + 0xc], 0xf8
mov dword [esp + 0xd], 0
mov word [esp + 0x11], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x42303b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00423480
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x423010
cmp byte [esp + 0x87], 0
js 0x42305c
lea eax, [esp + 0x70]
lea ecx, [esp + 8]
push eax
push ecx
push esi
call fcn.00406160
add esp, 0xc
mov bl, 1
jmp 0x4230b6
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, esi
or eax, ebx
je 0x4230b0
mov edi, dword [esp + 0x78]
inc edi
push edi
call fcn.0040cb00
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push edi
mov edi, eax
push eax
push ebx
push esi
call fcn.00444960
test eax, eax
setns bl
mov esi, dword [esp + 0x1c]
js 0x4230a5
lea eax, [esp + 8]
push edi
push eax
push esi
call fcn.00406160
add esp, 0xc
push edi
call fcn.0040cb10
add esp, 4
jmp 0x4230b6
xor ebx, ebx
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
and byte [esp + 0x18], al
fild qword [esp + 0x138]
fstp qword [esp + 0x24]
mov dword [esp + 8], 0xaeaaa397
mov dword [esp + 0xc], 0x84bb8ca6
mov dword [esp + 0x10], 0x218fbfbf
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x42312b
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.004234f0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x423100
and byte [esp + 0x18], bl
sub esp, 0x10
fld qword [esp + 0x34]
fstp qword [esp + 8]
lea ebx, [esp + 0x18]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004061b0
add esp, 0x10
mov edi, eax
movzx esi, byte [esp + 0x90]
mov dword [esp + 8], 0xec07ea1f
mov dword [esp + 0xc], 0xfed1e1f
mov dword [esp + 0x10], 0x7f03
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x4231bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00423570
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x423190
push esi
push ebx
mov esi, dword [esp + 0x24]
push esi
call fcn.00406240
add esp, 0xc
or eax, edi
sete al
movzx edi, byte [esp + 0x91]
mov dword [esp + 8], 0x53565568
mov dword [esp + 0xc], 0x6b686a7b
mov dword [esp + 0x10], 0xc951
and byte [esp + 0x18], al
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x42323b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.004235d0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x423210
push edi
push ebx
push esi
call fcn.00406240
add esp, 0xc
test eax, eax
setne bl
movzx eax, byte [esp + 0x18]
xor bl, al
and bl, al
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
or ecx, edx
je 0x423292
mov ecx, esi
push 0
push 0
push 0x40
lea edi, [esp + 0x44]
push edi
push edx
push eax
call fcn.00444960
test eax, eax
js 0x423292
lea edx, [esp + 0x38]
mov ecx, esi
push dword [ebp + 8]
call fcn.00422c90
add esp, 4
or bl, al
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
or ecx, edx
je 0x4232cd
mov ecx, esi
push 0
push 0
push 0x40
lea edi, [esp + 0x44]
push edi
push edx
push eax
call fcn.00444960
test eax, eax
js 0x4232cd
lea edx, [esp + 0x38]
mov ecx, esi
push dword [ebp + 8]
call fcn.00422c90
add esp, 4
or bl, al
test bl, bl
je 0x4232e2
push dword [esp + 0x2c]
push dword [ebp + 8]
call fcn.00405b50
add esp, 8
jmp 0x4232ee
push dword [esp + 0x2c]
call fcn.00404cc0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret