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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4224d6
sub esp, 0x70
mov ebx, dword [esp + 0x74]
test byte [ebx], al
mov ebp, dword [esp + 0x7c]
shl ebp, 0xd
mov eax, dword [esp + 0x78]
lea ebp, [ebp + eax - 1]
mov dword [esp + 0x30], ebp
nop
nop
mov esi, eax
shr eax, 0x16
mov dword [esp + 0x58], eax
mov edi, ebp
shr ebp, 0x16
cmp eax, ebp
je 0x4223da
mov dword [esp + 0x54], ebp
mov ecx, edi
movzx edi, byte [esp + 0x80]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4222bd
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x68], edi
mov edx, esi
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x24], esi
jmp 0x4220cf
mov edi, dword [esp + 0x68]
lea ebp, [edi + edx*8 + 4]
mov dword [ebp], eax
lea eax, [edi + edx*8]
mov dword [eax], ecx
lea eax, [edx + 1]
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
cmp ebp, eax
jb 0x42210d
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp eax, 0x400
jae 0x422498
mov dword [esp + 0x50], eax
shl eax, 7
add eax, edx
mov dword [esp], eax
call fcn.00425300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jb 0x4220a4
jmp 0x42248f
mov eax, 2
mov ebp, 1
jmp 0x42223a
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
mov ecx, ebp
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x74]
mov byte [esp + 0x1b], al
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
cmp ebx, edx
jle 0x42222a
mov dword [esp + 0x40], edx
cmp esi, 0x20
sbb ebp, ebp
mov dword [esp + 0x4c], ebp
lea ebx, [eax + eax*2]
mov dword [esp + 0x48], ebx
mov ebp, dword [edi + ebx*4 + 0xc]
mov dword [esp + 0x6c], ebp
mov ebx, dword [edi + ebx*4 + 0x14]
mov ecx, esi
shl edx, cl
mov edi, dword [esp + 0x4c]
and edx, edi
mov ebp, dword [esp + 0x40]
inc ebp
mov dword [esp + 0x4c], ebp
shl ebp, cl
and ebp, edi
cmp ebp, ebx
ja 0x422470
cmp edx, ebp
ja 0x422467
sub ebx, edx
mov eax, ebx
neg ebx
mov ecx, edx
shl edx, 3
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x6c]
add edx, ebx
mov dword [esp], edx
sub ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.004237e0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [ecx + eax*4]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
cmp edx, esi
jbe 0x42245e
mov dword [esp + 0x2c], ebp
lea edi, [eax + esi*8]
cmp dword [edi + 4], ebx
mov edx, ebx
setne bl
cmp dword [edi], ebp
xchg edi, ebx
setne bl
xchg edi, ebx
lea ebp, [eax + esi*8]
lea esi, [eax + esi*8 + 4]
or ebx, edi
test bl, bl
je 0x422220
mov dword [esi], edx
mov ebx, dword [esp + 0x2c]
mov dword [ebp], ebx
mov eax, 1
jmp 0x42211c
movzx eax, byte [esp + 0x1b]
jmp 0x42211c
dec eax
mov edx, dword [esp + 0x78]
movzx esi, byte [esp + 0x1b]
mov ecx, ebp
mov ebx, edi
mov ebp, esi
test eax, eax
jl 0x4222b9
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4222b9
lea ebp, [eax + 1]
cmp ebp, 4
jae 0x422483
lea ebp, [0x4f80c0]
mov esi, dword [ebp + eax*4 + 4]
lea edi, [0x4f80d0]
mov edi, dword [edi + eax*4 + 4]
nop
cmp eax, 4
jae 0x422479
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
lea ebp, [0x4f80e0]
mov ebp, dword [ebp + eax*4]
cmp ebp, 0x20
sbb edi, edi
mov ecx, ebp
shr edx, cl
and edx, edi
mov ebx, dword [esp + 0x30]
mov ebp, ebx
shr ebx, cl
and ebx, edi
inc ebx
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
xor eax, eax
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x5c]
jmp 0x422146
add esp, 0x70
ret
mov edx, dword [ebx + 0x30]
test byte [edx], al
mov edi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x64], edi
shl eax, 7
add eax, edx
mov dword [esp], eax
call fcn.00425300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jae 0x4224c0
mov ebp, dword [esp + 0x64]
lea esi, [ebp + edx*8 + 4]
mov dword [esi], eax
lea esi, [ebp + edx*8]
mov dword [esi], ecx
mov esi, dword [esp + 0x74]
mov edi, dword [esi + 0x2c]
mov eax, ebp
mov ebp, dword [esi + 0x24]
mov ecx, dword [esp + 0x54]
cmp ecx, edi
ja 0x4224b9
lea ebx, [edx + 1]
cmp ecx, ebx
jb 0x4224b2
sub edi, edx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ebx, 3
sar edi, 0x1f
and edi, ebx
lea ebx, [edi + ebp]
mov ebp, ecx
sub ecx, edx
dec ecx
movzx edx, byte [esp + 0x81]
test dl, dl
jne 0x4223b9
xor edx, edx
jmp 0x422362
lea edi, [ebx + edx*8]
mov dword [edi], 0x8000200
mov dword [edi + 4], 0x2000
inc edx
cmp ecx, edx
jle 0x42236d
ja 0x422351
jmp 0x4224ab
mov ecx, dword [esi + 0x30]
test byte [ecx], al
shl ebp, 7
add ecx, ebp
mov dword [esp], ecx
call fcn.00425300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jae 0x4224a2
mov ebp, dword [esp + 0x64]
lea esi, [ebp + edx*8 + 4]
mov dword [esi], eax
lea ebp, [ebp + edx*8]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
jmp 0x42210d
test ecx, ecx
je 0x42236d
mov dword [esp], ebx
shl ecx, 3
mov dword [esp + 4], ecx
call fcn.00455230
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
jmp 0x42236d
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
cmp eax, ecx
jae 0x4224d0
mov ecx, dword [ebx + 0x30]
test byte [ecx], al
lea edx, [edx + eax*8]
mov ebp, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
shl eax, 7
add eax, ecx
mov dword [esp], eax
call fcn.00425300
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
sete cl
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x20]
cmp edx, ebx
sete bl
and ebx, ecx
test bl, bl
jne 0x42245a
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov esi, dword [esp + 0x58]
cmp esi, ecx
jae 0x4224c9
lea edi, [ebp + esi*8 + 4]
mov dword [edi], edx
lea ebp, [ebp + esi*8]
mov dword [ebp], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
jmp 0x42210d
add esp, 0x70
ret
mov eax, esi
mov ecx, edx
call fcn.00454bc0
mov eax, edx
mov ecx, ebp
call fcn.00454c20
mov ecx, ebp
mov edx, ebx
call fcn.00454c00
mov ecx, 4
call fcn.00454bc0
mov eax, ebp
mov ecx, 4
call fcn.00454bc0
mov eax, edx
mov ecx, ebx
call fcn.00454bd0
mov ecx, 0x400
call fcn.00454bd0
mov eax, edx
mov ecx, ebx
call fcn.00454bd0
mov eax, edx
call fcn.00454bc0
mov eax, ebx
call fcn.00454c30
mov edx, edi
call fcn.00454c10
mov eax, edx
mov ecx, ebx
call fcn.00454bd0
mov eax, esi
call fcn.00454bd0
call fcn.00454bd0
nop
call fcn.004535d0
jmp fcn.00422030