Function at 0x422920
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 0x423470
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, [0x452140]
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 0x422b6a
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 0x42319a
jae 0x42344a
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 0x422a0b
xor ebp, ebp
mov esi, dword [esp + 0x70]
jmp 0x4229b6
mov dword [esp + 0x88], edi
lea ebx, [0x5845e0]
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 0x42318b
mov ecx, 0x40000
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0xa8]
cmp ebp, esi
jae 0x422c7c
test eax, 0x80000000
je 0x422c63
mov edx, 0x40000
cmp edx, esi
jae 0x422b3e
test ebx, ebx
jne 0x422af1
test eax, 0x80000000
je 0x422ae0
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 0x4229b6
shr eax, 4
and eax, 0x3ffff
mov ecx, dword [esp + 0x50]
cmp ecx, 0x20
jmp 0x422ab5
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 0x422b19
test eax, 0x80000000
mov esi, dword [esp + 0xa8]
jmp 0x422aa7
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 0x4229b6
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 0x4231b7
jae 0x423465
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], esi
test byte [ebx], al
lea edi, [0x5845c0]
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, [0x5845d0]
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 0x42345c
cmp esi, ebx
ja 0x423453
mov dword [esp + 0x68], esi
lea ebx, [0x5845e0]
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 0x4231ae
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 0x4229ca
mov edx, eax
shl edx, 0xe
mov ebp, dword [esp + 0x40]
shr ebp, 0x12
or edx, ebp
and edx, 0x3ffff
jmp 0x422a96
test ebx, ebx
jne 0x423182
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 0x423147
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42312a
mov ecx, dword [esp + 0x4c]
test ecx, 0x80000000
je 0x423115
mov edx, 0x40000
je 0x4230f6
mov ebx, 0x40000
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
je 0x4230e8
mov ecx, 0x40000
mov dword [esp + 0x34], ecx
call fcn.0042f0a0
lea eax, [0x4e1c13]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f940
mov eax, dword [esp + 0x58]
lea ecx, [eax - 1]
mov dword [esp], ecx
sar ecx, 0x1f
mov dword [esp + 4], ecx
call fcn.0042f780
lea eax, [0x4df074]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x54]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f780
lea eax, [0x4df277]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0042f940
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df024]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df024]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
call fcn.0042f2c0
call fcn.0042f110
call fcn.0042f0a0
lea eax, [0x4e1bcf]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f940
mov eax, dword [esp + 0x58]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov dword [esp + 4], eax
call fcn.0042f780
lea eax, [0x4e01e0]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042f940
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df6f2]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0042f940
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f780
call fcn.0042f2c0
call fcn.0042f110
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x78], eax
call fcn.0042f0a0
lea eax, [0x4e4257]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042f940
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f810
lea eax, [0x4df514]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0042f940
mov eax, dword [esp + 0x68]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f780
call fcn.0042f2c0
call fcn.0042f110
mov eax, dword [esp + 0x58]
lea ecx, [0x5845e0]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x84], ecx
lea edx, [0x5845c0]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x74], edx
call fcn.0042f0a0
lea eax, [0x4e58ee]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042f940
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4e2cbb]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0042f940
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
call fcn.0042f2c0
call fcn.0042f110
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
xor edx, edx
jmp 0x42306e
mov dword [esp + 0x20], ebp
call fcn.0042f0a0
lea eax, [0x4e1c13]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f940
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.0042f780
lea eax, [0x4df074]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
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.0042f780
lea eax, [0x4df42d]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042f940
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df024]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df024]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df022]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
call fcn.0042f110
mov eax, dword [esp + 0x64]
lea edx, [eax + 1]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x6c]
cmp edx, ecx
jge 0x423434
jae 0x42342d
lea ebx, [eax + edx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebp, 0x80000000
je 0x4230d8
mov esi, 0x40000
je 0x4230be
mov ebx, 0x40000
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], esi
je 0x4230b0
mov ebp, 0x40000
jmp 0x422f60
shr ebp, 4
and ebp, 0x3ffff
jmp 0x422f60
mov edi, ebp
shl ebp, 0xe
shr ebx, 0x12
or ebx, ebp
and ebx, 0x3ffff
test edi, 0x80000000
mov ebp, edi
jmp 0x423098
mov esi, ebx
and esi, 0x3ffff
test ebp, 0x80000000
jmp 0x423091
shr ecx, 4
and ecx, 0x3ffff
jmp 0x422cdf
mov ebx, ecx
shl ebx, 0xe
mov ebp, dword [esp + 0x44]
shr ebp, 0x12
or ebx, ebp
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x422ccc
mov edx, dword [esp + 0x44]
and edx, 0x3ffff
test ecx, 0x80000000
jmp 0x422cc1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xffffffff
add esp, 0xa0
ret
mov eax, dword [esp + 0x58]
lea ebx, [0x5845e0]
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 0x422c98
mov ecx, dword [esp + 0x40]
and ecx, 0x3ffff
jmp 0x422a70
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
jmp 0x422c98
mov ecx, edi
xor edi, edi
jmp 0x422c37
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp ecx, 0x400
jae 0x423421
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.00425480
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jb 0x423254
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 0x42341c
lea ecx, [ebx + eax*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
test ecx, 0x80000000
je 0x4232c2
mov ebx, 0x40000
je 0x4232a8
mov edx, 0x40000
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebx
je 0x42329d
mov ecx, 0x40000
jmp 0x4232d2
shr ecx, 4
and ecx, 0x3ffff
jmp 0x4232d2
mov ebp, ecx
shl ecx, 0xe
shr edx, 0x12
or edx, ecx
and edx, 0x3ffff
test ebp, 0x80000000
mov ecx, ebp
jmp 0x42328c
mov ebx, edx
and ebx, 0x3ffff
test ecx, 0x80000000
jmp 0x423285
mov dword [esp + 0x38], ecx
call fcn.0042f0a0
lea eax, [0x4e1c13]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f940
mov dword [esp], 3
mov dword [esp + 4], 0
call fcn.0042f780
lea eax, [0x4df074]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x88]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f780
lea eax, [0x4df42d]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042f940
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df024]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df024]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4df022]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042f940
call fcn.0042f110
call fcn.0042f0a0
lea eax, [0x4e20ac]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0042f940
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
call fcn.0042f2c0
call fcn.0042f110
lea eax, [0x4e1703]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042db80
call fcn.004558e0
mov eax, ecx
mov ecx, 0x400
call fcn.004558f0
mov eax, edx
call fcn.004558e0
lea eax, [0x4e1703]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042db80
mov eax, edi
mov ecx, ebx
call fcn.004558e0
mov eax, esi
mov ecx, ebx
call fcn.00455940
mov ecx, ebx
mov edx, edi
call fcn.00455920
mov ecx, 4
call fcn.004558e0
nop
call fcn.00454020
jmp fcn.00422920