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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x423770
sub esp, 0xa0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ebx, [0x450940]
mov dword [esp + 0x98], ebx
lea ebx, [esp + 0x8c]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0xa4]
xor eax, eax
xor ecx, ecx
mov edx, 0xffffffff
xor ebp, ebp
xor esi, esi
jmp 0x422e6a
inc edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x70], esi
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x5c]
cmp edi, ebx
jge 0x42349a
jae 0x42374a
lea esi, [ebp + edi*8]
mov ebp, dword [esi + 4]
mov dword [esp + 0x48], ebp
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esi]
mov dword [esp + 0x40], esi
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x422d0b
xor ebp, ebp
mov esi, dword [esp + 0x70]
jmp 0x422cb6
mov dword [esp + 0x88], edi
lea ebx, [0x59e600]
mov ebp, dword [ebx + eax*4]
cmp ebp, 0x20
sbb esi, esi
lea ebx, [edi + ecx]
mov dword [esp + 0x80], ebx
mov ecx, ebp
shl ebx, cl
and ebx, esi
mov dword [esp], ebx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x20
sbb ebx, ebx
mov esi, 1
shl esi, cl
and esi, ebx
shl esi, 0xd
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x98]
lea edx, [esp + 0x98]
call ebx
mov eax, dword [esp + 0x48]
test eax, 0x80000000
je 0x42348b
mov ecx, 0x40000
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0xa8]
cmp ebp, esi
jae 0x422f7c
test eax, 0x80000000
je 0x422f63
mov edx, 0x40000
cmp edx, esi
jae 0x422e3e
test ebx, ebx
jne 0x422df1
test eax, 0x80000000
je 0x422de0
mov ecx, dword [esp + 0x50]
cmp ecx, 0x20
mov eax, 0x40000
sbb edx, edx
mov edi, dword [esp + 0x88]
lea ebx, [edi + 1]
shl ebx, cl
and ebx, edx
sub ebx, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
jmp 0x422cb6
shr eax, 4
and eax, 0x3ffff
mov ecx, dword [esp + 0x50]
cmp ecx, 0x20
jmp 0x422db5
mov ebp, dword [esp + 0x50]
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 0x422e19
test eax, 0x80000000
mov esi, dword [esp + 0xa8]
jmp 0x422da7
lea eax, [ebx + esi]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x88]
mov ebp, eax
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
jmp 0x422cb6
mov edi, dword [esp + 0x58]
inc edi
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
mov ebx, ecx
mov eax, edi
mov ecx, dword [esp + 0x80]
mov edx, ecx
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
cmp eax, 4
jge 0x4234b7
jae 0x423765
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], esi
test byte [ebx], al
lea edi, [0x59e5e0]
mov edi, dword [edi + eax*4]
cmp edi, 0x20
sbb ebp, ebp
mov ecx, edi
mov esi, 1
shl esi, cl
and esi, ebp
mov dword [esp + 0x6c], esi
lea esi, [0x59e5f0]
mov esi, dword [esi + eax*4]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x88]
shl esi, cl
and esi, ebp
lea ebp, [eax + eax*2]
mov edi, dword [ebx + ebp*4 + 8]
mov ebp, dword [ebx + ebp*4]
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
add ebx, esi
cmp ebx, edi
ja 0x42375c
cmp esi, ebx
ja 0x423753
mov dword [esp + 0x68], esi
lea ebx, [0x59e600]
mov ebx, dword [ebx + eax*4]
mov dword [esp + 0x84], ebx
cmp ebx, 0x20
sbb ebx, ebx
sub edi, esi
shl esi, 3
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, esi
add ebp, edi
mov esi, dword [ecx + 0x34]
mov ecx, dword [esp + 0x84]
shr esi, cl
and esi, ebx
mov ecx, dword [esp + 0x6c]
mov ebx, ecx
neg ecx
and ecx, esi
mov edi, dword [esp + 0x68]
cmp ecx, edi
jne 0x4234ae
mov ecx, edi
lea edi, [ebx - 1]
and edi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], edx
mov esi, edi
xor esi, esi
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x5c]
mov edi, esi
jmp 0x422cca
mov edx, eax
shl edx, 0xe
mov ebp, dword [esp + 0x40]
shr ebp, 0x12
or edx, ebp
and edx, 0x3ffff
jmp 0x422d96
test ebx, ebx
jne 0x423482
mov ecx, dword [esp + 0x50]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x88]
shl edx, cl
and edx, eax
cmp ebp, esi
jae 0x423447
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42342a
mov ecx, dword [esp + 0x4c]
test ecx, 0x80000000
je 0x423415
mov edx, 0x40000
je 0x4233f6
mov ebx, 0x40000
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
je 0x4233e8
mov ecx, 0x40000
mov dword [esp + 0x34], ecx
call fcn.0042f0c0
lea eax, [0x4f43ef]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f960
mov eax, dword [esp + 0x58]
lea ecx, [eax - 1]
mov dword [esp], ecx
sar ecx, 0x1f
mov dword [esp + 4], ecx
call fcn.0042f7a0
lea eax, [0x4f1351]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x54]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f7a0
lea eax, [0x4f1569]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0042f960
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1305]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1305]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
call fcn.0042f2e0
call fcn.0042f130
call fcn.0042f0c0
lea eax, [0x4f43ab]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f960
mov eax, dword [esp + 0x58]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov dword [esp + 4], eax
call fcn.0042f7a0
lea eax, [0x4f259a]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042f960
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1a01]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0042f960
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f7a0
call fcn.0042f2e0
call fcn.0042f130
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x78], eax
call fcn.0042f0c0
lea eax, [0x4f6f13]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042f960
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f830
lea eax, [0x4f1811]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0042f960
mov eax, dword [esp + 0x68]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f7a0
call fcn.0042f2e0
call fcn.0042f130
mov eax, dword [esp + 0x58]
lea ecx, [0x59e600]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x84], ecx
lea edx, [0x59e5e0]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x74], edx
call fcn.0042f0c0
lea eax, [0x4f881a]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042f960
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f5754]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0042f960
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
call fcn.0042f2e0
call fcn.0042f130
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
xor edx, edx
jmp 0x42336e
mov dword [esp + 0x20], ebp
call fcn.0042f0c0
lea eax, [0x4f43ef]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f960
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.0042f7a0
lea eax, [0x4f1351]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
lea edx, [ecx + eax]
mov dword [esp], edx
sar edx, 0x1f
mov dword [esp + 4], edx
call fcn.0042f7a0
lea eax, [0x4f1720]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042f960
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1305]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1305]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1303]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
call fcn.0042f130
mov eax, dword [esp + 0x64]
lea edx, [eax + 1]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
cmp edx, ecx
jge 0x423734
jae 0x42372d
lea ebx, [eax + edx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebp, 0x80000000
je 0x4233d8
mov esi, 0x40000
je 0x4233be
mov ebx, 0x40000
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], esi
je 0x4233b0
mov ebp, 0x40000
jmp 0x423260
shr ebp, 4
and ebp, 0x3ffff
jmp 0x423260
mov edi, ebp
shl ebp, 0xe
shr ebx, 0x12
or ebx, ebp
and ebx, 0x3ffff
test edi, 0x80000000
mov ebp, edi
jmp 0x423398
mov esi, ebx
and esi, 0x3ffff
test ebp, 0x80000000
jmp 0x423391
shr ecx, 4
and ecx, 0x3ffff
jmp 0x422fdf
mov ebx, ecx
shl ebx, 0xe
mov ebp, dword [esp + 0x44]
shr ebp, 0x12
or ebx, ebp
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x422fcc
mov edx, dword [esp + 0x44]
and edx, 0x3ffff
test ecx, 0x80000000
jmp 0x422fc1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xffffffff
add esp, 0xa0
ret
mov eax, dword [esp + 0x58]
lea ebx, [0x59e600]
mov ecx, dword [ebx + eax*4]
mov eax, dword [esp + 0x8c]
cmp ecx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x68]
shl ebp, cl
and ebp, ebx
shl edx, 0xd
add edx, ebp
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
add esp, 0xa0
ret
mov edx, dword [esp + 0x70]
jmp 0x422f98
mov ecx, dword [esp + 0x40]
and ecx, 0x3ffff
jmp 0x422d70
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
jmp 0x422f98
mov ecx, edi
xor edi, edi
jmp 0x422f37
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp ecx, 0x400
jae 0x423721
shl ecx, 7
lea ecx, [edx + ecx]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00425780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jb 0x423554
mov dword [esp + 0x60], eax
shl ecx, 0xd
mov eax, dword [esp + 0x88]
mov ebx, eax
shl eax, 0x16
mov dword [esp + 0x14], eax
add ecx, eax
mov dword [esp], ecx
inc ebx
shl ebx, 0x16
sub ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x98]
call ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x60]
shl ecx, 0xd
mov ebx, dword [esp + 0x14]
add ecx, ebx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa0
ret
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
mov eax, dword [esp + 0x88]
cmp eax, ecx
jae 0x42371c
lea ecx, [ebx + eax*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
test ecx, 0x80000000
je 0x4235c2
mov ebx, 0x40000
je 0x4235a8
mov edx, 0x40000
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebx
je 0x42359d
mov ecx, 0x40000
jmp 0x4235d2
shr ecx, 4
and ecx, 0x3ffff
jmp 0x4235d2
mov ebp, ecx
shl ecx, 0xe
shr edx, 0x12
or edx, ecx
and edx, 0x3ffff
test ebp, 0x80000000
mov ecx, ebp
jmp 0x42358c
mov ebx, edx
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x423585
mov dword [esp + 0x38], ecx
call fcn.0042f0c0
lea eax, [0x4f43ef]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f960
mov dword [esp], 3
mov dword [esp + 4], 0
call fcn.0042f7a0
lea eax, [0x4f1351]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x88]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f7a0
lea eax, [0x4f1720]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042f960
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1305]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1305]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
lea eax, [0x4f1303]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f960
call fcn.0042f130
call fcn.0042f0c0
lea eax, [0x4f4984]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0042f960
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f670
call fcn.0042f2e0
call fcn.0042f130
lea eax, [0x4f3e25]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042dc50
call fcn.00454040
mov eax, ecx
mov ecx, 0x400
call fcn.00454050
mov eax, edx
call fcn.00454040
lea eax, [0x4f3e25]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042dc50
mov eax, edi
mov ecx, ebx
call fcn.00454040
mov eax, esi
mov ecx, ebx
call fcn.004540a0
mov ecx, ebx
mov edx, edi
call fcn.00454080
mov ecx, 4
call fcn.00454040
nop
call fcn.00452780
jmp fcn.00422c20