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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x422dd9
sub esp, 0x6c
mov ebx, dword [esp + 0x78]
shl ebx, 0xd
mov eax, dword [esp + 0x74]
lea ebx, [ebx + eax - 1]
mov dword [esp + 0x2c], ebx
nop
nop
mov ebp, eax
shr eax, 0x16
mov dword [esp + 0x54], eax
mov esi, ebx
shr ebx, 0x16
cmp eax, ebx
je 0x422cd9
mov dword [esp + 0x50], ebx
movzx edi, byte [esp + 0x7c]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x422bc2
mov edi, dword [esp + 0x70]
mov ecx, esi
mov esi, dword [edi + 0x28]
mov dword [esp + 0x24], esi
mov edx, ebp
mov ebp, dword [edi + 0x24]
mov dword [esp + 0x60], ebp
jmp 0x4229db
mov ebp, dword [esp + 0x60]
lea esi, [ebp + edx*8]
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [edx + 1]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x70]
cmp eax, ebx
ja 0x422a1a
mov edx, dword [edi + 0x30]
test byte [edx], al
cmp eax, 0x400
jae 0x422d9b
mov dword [esp + 0x4c], eax
shl eax, 7
lea eax, [edx + eax]
mov dword [esp], eax
call fcn.00425a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jb 0x4229af
jmp 0x422d92
mov eax, 2
mov ebx, 1
jmp 0x422b42
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov ecx, esi
mov ebx, dword [esp + 0x2c]
mov esi, edx
mov edi, dword [esp + 0x70]
mov byte [esp + 0x1b], al
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
cmp edx, ebp
jge 0x422b32
mov dword [esp + 0x3c], edx
test byte [edi], al
cmp esi, 0x20
sbb ebx, ebx
mov dword [esp + 0x48], ebx
lea ebp, [eax + eax*2]
mov dword [esp + 0x44], ebp
mov ebx, dword [edi + ebp*4 + 0x14]
mov ebp, dword [edi + ebp*4 + 0xc]
mov dword [esp + 0x68], ebp
mov ecx, esi
shl edx, cl
mov edi, dword [esp + 0x48]
and edx, edi
mov ebp, dword [esp + 0x3c]
inc ebp
mov dword [esp + 0x48], ebp
shl ebp, cl
and ebp, edi
cmp ebp, ebx
ja 0x422d73
cmp edx, ebp
ja 0x422d6a
sub ebx, edx
mov eax, edx
shl edx, 3
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and edx, ebx
mov ebx, dword [esp + 0x68]
add edx, ebx
mov dword [esp], edx
sub ebp, eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.00424070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + edx*4 + 4]
mov edx, dword [ebx + edx*4]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jae 0x422d61
lea ebp, [edx + esi*8]
cmp dword [ebp + 4], eax
xchg esi, ebx
setne bl
xchg esi, ebx
cmp dword [ebp], ecx
xchg edi, ebx
setne bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x422b28
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov eax, 1
jmp 0x422a29
movzx eax, byte [esp + 0x1b]
jmp 0x422a29
dec eax
mov ebp, dword [esp + 0x74]
movzx esi, byte [esp + 0x1b]
mov ecx, ebx
mov edx, ebp
mov ebx, esi
test eax, eax
jl 0x422bbe
test bl, bl
je 0x422bbe
lea ebx, [eax + 1]
cmp ebx, 4
jae 0x422d86
lea ebx, [0x64a7c0]
mov ebp, dword [ebx + eax*4 + 4]
lea esi, [0x64a7d0]
mov esi, dword [esi + eax*4 + 4]
nop
cmp eax, 4
jae 0x422d7c
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
lea ebx, [0x64a7e0]
mov ebx, dword [ebx + eax*4]
cmp ebx, 0x20
sbb esi, esi
mov ecx, ebx
shr edx, cl
and edx, esi
mov ebp, dword [esp + 0x2c]
mov ebx, ebp
shr ebp, cl
and ebp, esi
inc ebp
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
xor eax, eax
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x58]
jmp 0x422a55
add esp, 0x6c
ret
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x30]
test byte [edx], al
mov edi, dword [ecx + 0x24]
mov esi, dword [ecx + 0x28]
mov dword [esp + 0x64], edi
mov dword [esp + 0x28], esi
shl eax, 7
lea eax, [edx + eax]
mov dword [esp], eax
call fcn.00425a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jae 0x422dc3
mov ebp, dword [esp + 0x64]
lea esi, [ebp + edx*8]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov esi, dword [esp + 0x70]
mov edi, dword [esi + 0x2c]
mov eax, ebp
mov ebp, dword [esi + 0x24]
mov ecx, dword [esp + 0x50]
cmp ecx, edi
ja 0x422dbc
inc edx
cmp edx, ecx
ja 0x422db5
sub ecx, edx
sub edi, edx
shl edx, 3
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edx, edi
add edx, ebp
movzx ebp, byte [esp + 0x7d]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x422cb8
xor ebp, ebp
jmp 0x422c61
lea edi, [edx + ebp*8]
mov dword [edi], 0x8000200
mov dword [edi + 4], 0x2000
inc ebp
cmp ebp, ecx
jge 0x422c6c
jb 0x422c50
jmp 0x422dae
mov ecx, dword [esi + 0x30]
test byte [ecx], al
mov eax, dword [esp + 0x50]
shl eax, 7
lea eax, [ecx + eax]
mov dword [esp], eax
call fcn.00425a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jae 0x422da5
mov ebx, dword [esp + 0x64]
lea ebx, [ebx + edx*8]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
jmp 0x422a1a
test ecx, ecx
je 0x422c6c
mov dword [esp], edx
shl ecx, 3
mov dword [esp + 4], ecx
call fcn.00456370
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x70]
jmp 0x422c6c
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x422dd3
mov ecx, dword [edx + 0x30]
test byte [ecx], al
lea ebx, [ebx + eax*8]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
shl eax, 7
lea eax, [ecx + eax]
mov dword [esp], eax
call fcn.00425a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
sete cl
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
cmp ebx, edx
sete bl
and ecx, ebx
test cl, cl
jne 0x422d5d
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebx + 0x28]
mov ebp, dword [ebx + 0x24]
mov esi, dword [esp + 0x54]
cmp esi, ecx
jae 0x422dcc
lea ebp, [ebp + esi*8]
mov dword [ebp], edx
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
mov edi, ebx
jmp 0x422a1a
add esp, 0x6c
ret
mov eax, esi
mov ecx, ebp
call fcn.00455c70
mov eax, edx
mov ecx, ebp
call fcn.00455cd0
mov ecx, ebp
mov edx, ebx
call fcn.00455cb0
mov ecx, 4
call fcn.00455c70
mov eax, ebx
mov ecx, 4
call fcn.00455c70
mov eax, edx
mov ecx, ebx
call fcn.00455c80
mov ecx, 0x400
call fcn.00455c80
mov eax, edx
mov ecx, ebx
call fcn.00455c80
mov eax, ebp
call fcn.00455c70
mov eax, edx
call fcn.00455ce0
mov edx, edi
call fcn.00455cc0
mov eax, edx
mov ecx, ebx
call fcn.00455c80
mov eax, esi
call fcn.00455c80
call fcn.00455c80
nop
call fcn.004543b0
jmp fcn.00422940