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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x423369
sub esp, 0x9c
mov ebx, dword [esp + 0xa0]
test byte [ebx], al
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ebp, dword [0x7fca7c]
mov dword [esp + 0x88], ebp
mov ebp, dword [0x4f8060]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ebp, [0x450080]
mov dword [esp + 0x94], ebp
lea ebp, [esp + 0x88]
mov dword [esp + 0x98], ebp
xor eax, eax
xor ecx, ecx
mov edx, 0xffffffff
xor ebp, ebp
xor esi, esi
jmp 0x422a0c
inc edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], esi
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
cmp ecx, edi
jle 0x42307c
jbe 0x423345
lea esi, [ebp + edi*8]
mov ebx, dword [esi + 4]
mov dword [esp + 0x48], ebx
test ebx, ebx
sete bl
mov esi, dword [esi]
mov dword [esp + 0x40], esi
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ebx, esi
test bl, bl
je 0x4228b8
xor ebx, ebx
mov esi, dword [esp + 0x70]
jmp 0x42286c
mov dword [esp + 0x84], edi
lea ebx, [0x4f80e0]
mov ecx, dword [ebx + eax*4]
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x64]
add ebx, edi
mov dword [esp + 0x68], ebx
shl ebx, cl
and ebx, ebp
mov dword [esp], ebx
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x20
sbb ebx, ebx
mov ebp, 1
shl ebp, cl
and ebp, ebx
shl ebp, 0xd
mov dword [esp + 4], ebp
lea edx, [esp + 0x94]
call esi
mov eax, dword [esp + 0x48]
test eax, 0x80000000
je 0x42306d
mov ecx, 0x40000
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0xa4]
cmp esi, ebp
jbe 0x422b22
test eax, 0x80000000
je 0x422b09
mov edx, 0x40000
cmp esi, edx
jbe 0x4229ec
test ebx, ebx
jne 0x42299f
test eax, 0x80000000
je 0x42298e
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x20
mov eax, 0x40000
sbb edx, edx
mov edi, dword [esp + 0x84]
lea ebx, [edi + 1]
shl ebx, cl
and ebx, edx
sub ebx, eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x90]
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x50]
jmp 0x42286c
shr eax, 4
and eax, 0x3ffff
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x20
jmp 0x422960
mov ebp, dword [esp + 0x4c]
cmp ebp, 0x20
sbb edi, edi
mov edx, ecx
mov ecx, ebp
mov esi, 1
shl esi, cl
and esi, edi
cmp edx, esi
jae 0x4229c7
test eax, 0x80000000
mov esi, dword [esp + 0xa4]
jmp 0x422952
add ebx, esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x70]
jmp 0x42286c
mov edi, dword [esp + 0x50]
inc edi
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x68]
mov eax, edi
mov ecx, edx
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x84], ecx
cmp eax, 4
jge 0x42309b
jae 0x42335e
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ebp
lea edi, [0x4f80c0]
mov edi, dword [edi + eax*4]
cmp edi, 0x20
sbb esi, esi
mov ecx, edi
mov ebp, 1
shl ebp, cl
and ebp, esi
mov dword [esp + 0x6c], ebp
lea ebp, [0x4f80d0]
mov ebp, dword [ebp + eax*4]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x84]
shl ebp, cl
and ebp, esi
lea esi, [eax + eax*2]
mov edi, dword [ebx + esi*4 + 8]
mov esi, dword [ebx + esi*4]
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
add ebx, ebp
cmp ebx, edi
ja 0x423355
cmp ebp, ebx
ja 0x42334c
mov dword [esp + 0x64], ebp
lea ebx, [0x4f80e0]
mov ebx, dword [ebx + eax*4]
mov dword [esp + 0x80], ebx
cmp ebx, 0x20
sbb ebx, ebx
sub edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ebp, 3
sar edi, 0x1f
and edi, ebp
lea ebp, [esi + edi]
mov esi, dword [ecx + 0x34]
mov edi, dword [esp + 0x6c]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, dword [esp + 0x80]
shr esi, cl
and esi, ebx
and edi, esi
mov ebx, dword [esp + 0x64]
cmp ebx, edi
jne 0x423090
mov ecx, dword [esp + 0x6c]
lea edi, [ecx - 1]
and edi, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edx
mov esi, edi
xor esi, esi
mov dword [esp + 0x38], esi
xor edi, edi
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x58]
mov edi, esi
jmp 0x42287d
mov edx, eax
shl edx, 0xe
mov ebp, dword [esp + 0x40]
shr ebp, 0x12
or edx, ebp
and edx, 0x3ffff
jmp 0x422941
test ebx, ebx
jne 0x423064
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x84]
shl edx, cl
and edx, eax
cmp esi, ebp
jbe 0x422ffb
mov eax, dword [esp + 0x50]
test eax, eax
je 0x422fdc
mov ecx, dword [esp + 0x44]
test ecx, 0x80000000
je 0x422fc7
mov edx, 0x40000
je 0x422fa8
mov ebx, 0x40000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], edx
je 0x422f9a
mov ecx, 0x40000
mov dword [esp + 0x2c], ecx
call fcn.0042f920
lea eax, [0x50fec7]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430220
mov eax, dword [esp + 0x50]
lea ecx, [eax - 1]
mov edx, ecx
sar ecx, 0x1f
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00430030
lea eax, [0x50e1cf]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov eax, dword [esp + 0x54]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00430030
lea eax, [0x50e34c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1c1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1c1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0042fec0
call fcn.0042fb40
call fcn.0042f990
call fcn.0042f920
lea eax, [0x50fe83]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430220
mov eax, dword [esp + 0x50]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00430030
lea eax, [0x50eca5]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e629]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00430220
mov eax, dword [esp + 0x58]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00430030
call fcn.0042fb40
call fcn.0042f990
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x78], eax
call fcn.0042f920
lea eax, [0x511aab]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004300b0
lea eax, [0x50e54c]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.00430220
mov eax, dword [esp + 0x64]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00430030
call fcn.0042fb40
call fcn.0042f990
mov eax, dword [esp + 0x50]
lea ecx, [0x4f80e0]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x80], ecx
lea edx, [0x4f80c0]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x74], edx
call fcn.0042f920
lea eax, [0x512b4f]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x510a9b]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0042fec0
call fcn.0042fb40
call fcn.0042f990
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x6c]
xor edx, edx
jmp 0x422f20
mov dword [esp + 0x14], ebp
call fcn.0042f920
lea eax, [0x50fec7]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430220
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call fcn.00430030
lea eax, [0x50e1cf]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + eax]
mov ebx, edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00430030
lea eax, [0x50e45a]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1c1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1c1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1bf]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
call fcn.0042f990
mov eax, dword [esp + 0x5c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x6c]
cmp ecx, edx
jle 0x42332f
jbe 0x423328
lea ebx, [eax + edx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebp, 0x80000000
je 0x422f8a
mov esi, 0x40000
je 0x422f70
mov ebx, 0x40000
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], esi
je 0x422f62
mov ebp, 0x40000
jmp 0x422e10
shr ebp, 4
and ebp, 0x3ffff
jmp 0x422e10
mov edi, ebp
shl ebp, 0xe
shr ebx, 0x12
or ebx, ebp
and ebx, 0x3ffff
test edi, 0x80000000
mov ebp, edi
jmp 0x422f4a
mov esi, ebx
and esi, 0x3ffff
test ebp, 0x80000000
jmp 0x422f43
shr ecx, 4
and ecx, 0x3ffff
jmp 0x422b85
mov ebx, ecx
shl ebx, 0xe
mov ebp, dword [esp + 0x3c]
shr ebp, 0x12
or ebx, ebp
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x422b72
mov edx, dword [esp + 0x3c]
and edx, 0x3ffff
test ecx, 0x80000000
jmp 0x422b67
mov eax, dword [0x4f8064]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
add esp, 0x9c
ret
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
lea edx, [0x4f80e0]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00422740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
cmp ecx, 0x20
sbb edx, edx
mov ebx, dword [esp + 0x70]
shl ebx, 0xd
mov ebp, dword [esp + 0x64]
shl ebp, cl
and edx, ebp
lea ecx, [edx + ebx]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x9c
ret
mov edx, dword [esp + 0x70]
jmp 0x422b3e
mov ecx, dword [esp + 0x40]
and ecx, 0x3ffff
jmp 0x42291b
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
jmp 0x422b3e
mov ecx, dword [esp + 0x6c]
xor edi, edi
jmp 0x422add
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp ecx, 0x400
jae 0x42331c
shl ecx, 7
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00425a80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x42314f
mov dword [esp + 0x60], eax
shl ecx, 0xd
mov eax, dword [esp + 0x84]
mov ebx, eax
shl eax, 0x16
mov dword [esp + 0x78], eax
add ecx, eax
mov ebp, dword [esp + 0x94]
mov dword [esp], ecx
inc ebx
shl ebx, 0x16
sub ebx, ecx
mov dword [esp + 4], ebx
lea edx, [esp + 0x94]
call ebp
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00422740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
shl ecx, 0xd
mov ebx, dword [esp + 0x78]
add ecx, ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x9c
ret
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0x84]
cmp ecx, eax
jbe 0x423317
lea ecx, [edx + eax*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, 0x80000000
je 0x423198
mov ebx, 0x40000
je 0x4231a8
mov ecx, 0x40000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
je 0x4231c2
mov edx, 0x40000
jmp 0x4231cb
mov ebx, ecx
and ebx, 0x3ffff
test edx, 0x80000000
jmp 0x423180
mov ebp, edx
shl edx, 0xe
shr ecx, 0x12
or ecx, edx
and ecx, 0x3ffff
test ebp, 0x80000000
mov edx, ebp
jmp 0x423187
shr edx, 4
and edx, 0x3ffff
mov dword [esp + 0x24], edx
call fcn.0042f920
lea eax, [0x50fec7]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430220
mov dword [esp + 4], 0
mov dword [esp], 3
call fcn.00430030
lea eax, [0x50e1cf]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov eax, dword [esp + 0x84]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00430030
lea eax, [0x50e45a]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1c1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1c1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50e1bf]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00430220
call fcn.0042f990
call fcn.0042f920
lea eax, [0x5101d3]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.0042fec0
call fcn.0042fb40
call fcn.0042f990
lea eax, [0x50fab7]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042e560
call fcn.00454bc0
mov eax, ecx
mov ecx, 0x400
call fcn.00454bd0
mov eax, edx
call fcn.00454bc0
lea eax, [0x50fab7]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042e560
mov eax, edi
call fcn.00454bc0
mov eax, ebp
mov ecx, ebx
call fcn.00454c20
mov ecx, ebx
mov edx, edi
call fcn.00454c00
mov ecx, 4
call fcn.00454bc0
nop
call fcn.004535d0
jmp fcn.004227d0