Function at 0x422c80
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 0x4237d0
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, [0x452800]
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 0x422eca
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 0x4234fa
jae 0x4237aa
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 0x422d6b
xor ebp, ebp
mov esi, dword [esp + 0x70]
jmp 0x422d16
mov dword [esp + 0x88], edi
lea ebx, [0x5ea640]
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 0x4234eb
mov ecx, 0x40000
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0xa8]
cmp ebp, esi
jae 0x422fdc
test eax, 0x80000000
je 0x422fc3
mov edx, 0x40000
cmp edx, esi
jae 0x422e9e
test ebx, ebx
jne 0x422e51
test eax, 0x80000000
je 0x422e40
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 0x422d16
shr eax, 4
and eax, 0x3ffff
mov ecx, dword [esp + 0x50]
cmp ecx, 0x20
jmp 0x422e15
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 0x422e79
test eax, 0x80000000
mov esi, dword [esp + 0xa8]
jmp 0x422e07
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 0x422d16
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 0x423517
jae 0x4237c5
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], esi
test byte [ebx], al
lea edi, [0x5ea620]
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, [0x5ea630]
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 0x4237bc
cmp esi, ebx
ja 0x4237b3
mov dword [esp + 0x68], esi
lea ebx, [0x5ea640]
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 0x42350e
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 0x422d2a
mov edx, eax
shl edx, 0xe
mov ebp, dword [esp + 0x40]
shr ebp, 0x12
or edx, ebp
and edx, 0x3ffff
jmp 0x422df6
test ebx, ebx
jne 0x4234e2
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 0x4234a7
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42348a
mov ecx, dword [esp + 0x4c]
test ecx, 0x80000000
je 0x423475
mov edx, 0x40000
je 0x423456
mov ebx, 0x40000
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
je 0x423448
mov ecx, 0x40000
mov dword [esp + 0x34], ecx
call fcn.0042f670
lea eax, [0x51e412]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042ff10
mov eax, dword [esp + 0x58]
lea ecx, [eax - 1]
mov dword [esp], ecx
sar ecx, 0x1f
mov dword [esp + 4], ecx
call fcn.0042fd50
lea eax, [0x51b928]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x54]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042fd50
lea eax, [0x51bb6f]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0042ff10
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c6]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c6]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
call fcn.0042f890
call fcn.0042f6e0
call fcn.0042f670
lea eax, [0x51e3ce]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042ff10
mov eax, dword [esp + 0x58]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov dword [esp + 4], eax
call fcn.0042fd50
lea eax, [0x51cb7d]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042ff10
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51c024]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0042ff10
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042fd50
call fcn.0042f890
call fcn.0042f6e0
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x78], eax
call fcn.0042f670
lea eax, [0x520882]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042ff10
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fde0
lea eax, [0x51be28]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0042ff10
mov eax, dword [esp + 0x68]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042fd50
call fcn.0042f890
call fcn.0042f6e0
mov eax, dword [esp + 0x58]
lea ecx, [0x5ea640]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x84], ecx
lea edx, [0x5ea620]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x74], edx
call fcn.0042f670
lea eax, [0x521d77]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042ff10
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51f3d5]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0042ff10
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
call fcn.0042f890
call fcn.0042f6e0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
xor edx, edx
jmp 0x4233ce
mov dword [esp + 0x20], ebp
call fcn.0042f670
lea eax, [0x51e412]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042ff10
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.0042fd50
lea eax, [0x51b928]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
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.0042fd50
lea eax, [0x51bd41]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042ff10
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c6]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c6]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c4]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
call fcn.0042f6e0
mov eax, dword [esp + 0x64]
lea edx, [eax + 1]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
cmp edx, ecx
jge 0x423794
jae 0x42378d
lea ebx, [eax + edx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebp, 0x80000000
je 0x423438
mov esi, 0x40000
je 0x42341e
mov ebx, 0x40000
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], esi
je 0x423410
mov ebp, 0x40000
jmp 0x4232c0
shr ebp, 4
and ebp, 0x3ffff
jmp 0x4232c0
mov edi, ebp
shl ebp, 0xe
shr ebx, 0x12
or ebx, ebp
and ebx, 0x3ffff
test edi, 0x80000000
mov ebp, edi
jmp 0x4233f8
mov esi, ebx
and esi, 0x3ffff
test ebp, 0x80000000
jmp 0x4233f1
shr ecx, 4
and ecx, 0x3ffff
jmp 0x42303f
mov ebx, ecx
shl ebx, 0xe
mov ebp, dword [esp + 0x44]
shr ebp, 0x12
or ebx, ebp
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x42302c
mov edx, dword [esp + 0x44]
and edx, 0x3ffff
test ecx, 0x80000000
jmp 0x423021
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xffffffff
add esp, 0xa0
ret
mov eax, dword [esp + 0x58]
lea ebx, [0x5ea640]
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 0x422ff8
mov ecx, dword [esp + 0x40]
and ecx, 0x3ffff
jmp 0x422dd0
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
jmp 0x422ff8
mov ecx, edi
xor edi, edi
jmp 0x422f97
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp ecx, 0x400
jae 0x423781
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.004257e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jb 0x4235b4
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 0x42377c
lea ecx, [ebx + eax*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
test ecx, 0x80000000
je 0x423622
mov ebx, 0x40000
je 0x423608
mov edx, 0x40000
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebx
je 0x4235fd
mov ecx, 0x40000
jmp 0x423632
shr ecx, 4
and ecx, 0x3ffff
jmp 0x423632
mov ebp, ecx
shl ecx, 0xe
shr edx, 0x12
or edx, ecx
and edx, 0x3ffff
test ebp, 0x80000000
mov ecx, ebp
jmp 0x4235ec
mov ebx, edx
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x4235e5
mov dword [esp + 0x38], ecx
call fcn.0042f670
lea eax, [0x51e412]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042ff10
mov dword [esp], 3
mov dword [esp + 4], 0
call fcn.0042fd50
lea eax, [0x51b928]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x88]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042fd50
lea eax, [0x51bd41]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042ff10
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c6]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c6]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
lea eax, [0x51b8c4]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042ff10
call fcn.0042f6e0
call fcn.0042f670
lea eax, [0x51e82d]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0042ff10
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fc20
call fcn.0042f890
call fcn.0042f6e0
lea eax, [0x51deaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042dee0
call fcn.00455fa0
mov eax, ecx
mov ecx, 0x400
call fcn.00455fb0
mov eax, edx
call fcn.00455fa0
lea eax, [0x51deaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042dee0
mov eax, edi
mov ecx, ebx
call fcn.00455fa0
mov eax, esi
mov ecx, ebx
call fcn.00456000
mov ecx, ebx
mov edx, edi
call fcn.00455fe0
mov ecx, 4
call fcn.00455fa0
nop
call fcn.004546e0
jmp fcn.00422c80