Function at 0x401e00
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x88
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
cmp edx, 9
jbe 0x401e4c
mov eax, ecx
movzx ecx, word [ecx]
mov ebp, edx
movzx ebx, word [eax + 2]
movzx edi, word [eax + 4]
lea eax, [ecx + ebx]
mov word [esp], bx
add eax, edi
mov word [esp + 0x14], di
sub ebp, eax
lea eax, [ebp - 6]
mov dword [esp + 4], ebp
cmp edx, eax
jae 0x401e60
mov eax, 0xffffffec
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret
test ecx, ecx
je 0x402330
mov edx, dword [esp + 8]
lea ebp, [edx + 6]
movzx edx, byte [edx + ecx + 5]
mov dword [esp + 0x34], ebp
cmp ecx, 3
ja 0x402308
mov ebp, dword [esp + 8]
movzx ebp, byte [ebp + 6]
mov dword [esp + 0x10], ebp
cmp cx, 2
je 0x401eaa
cmp cx, 3
jne 0x401eb9
mov esi, dword [esp + 8]
movzx esi, byte [esi + 8]
shl esi, 0x10
add ebp, esi
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 8]
movzx esi, byte [esi + 7]
shl esi, 8
add dword [esp + 0x10], esi
test dl, dl
je 0x401e4c
mov esi, 5
bsr edx, edx
sub esi, ecx
shl esi, 3
sub esi, edx
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
test ebx, ebx
je 0x402330
mov esi, dword [esp + 0x34]
add esi, ecx
mov dword [esp + 0x4c], esi
movzx edx, byte [esi + ebx - 1]
cmp ebx, 3
jbe 0x402340
lea esi, [esi + ebx - 4]
mov dword [esp + 0x38], esi
test dl, dl
je 0x402388
mov esi, dword [esi]
bsr edx, edx
mov ecx, 8
sub ecx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x68], ecx
test edi, edi
je 0x402330
mov esi, dword [esp + 0x4c]
add esi, ebx
mov dword [esp + 0x64], esi
movzx edx, byte [esi + edi - 1]
cmp edi, 3
ja 0x4023c0
mov ebx, esi
movzx ecx, word [esp + 0x14]
movzx esi, byte [esi]
mov dword [esp + 0x20], esi
cmp cx, 2
je 0x401f63
cmp cx, 3
jne 0x401f72
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
add esi, ecx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x64]
movzx ecx, byte [esi + 1]
shl ecx, 8
add dword [esp + 0x20], ecx
test dl, dl
je 0x401e4c
mov ecx, 5
bsr edx, edx
mov esi, dword [esp + 0x64]
sub ecx, edi
shl ecx, 3
mov dword [esp + 0x44], esi
sub ecx, edx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x402330
mov esi, dword [esp + 0x64]
add esi, edi
lea edi, [esi + 4]
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], edi
mov edi, dword [esp + 4]
movzx edx, byte [esi + edi - 7]
cmp eax, 3
jbe 0x402530
test dl, dl
je 0x402388
bsr edx, edx
mov ecx, 8
sub ecx, edx
mov dword [esp + 0x1c], ecx
cmp eax, 0xffffff88
ja 0x401e51
mov eax, esi
mov esi, dword [esp + 4]
lea eax, [eax + esi - 0xa]
mov dword [esp + 0x48], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
lea eax, [esi + ebx]
lea edx, [eax - 3]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x6c], edx
lea edi, [eax + 4]
lea eax, [ebx + 3]
shr eax, 2
add esi, eax
mov dword [esp + 0x7c], esi
add esi, eax
add eax, esi
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x80], eax
movzx esi, byte [esi + 2]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 8]
add esi, 0xa
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x4c]
add esi, 4
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x64]
add esi, 4
mov dword [esp + 0x60], esi
cmp eax, edx
jae 0x403119
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x50]
mov dword [esp + 4], edi
mov ebp, dword [esp + 0x68]
neg eax
and eax, 0x1f
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
jmp 0x402150
mov eax, esi
and esi, 7
shr eax, 3
sub ebx, eax
mov eax, dword [ebx]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], eax
xor eax, eax
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp edi, ebx
jb 0x402510
mov edx, ebp
and ebp, 7
shr edx, 3
sub edi, edx
mov ebx, dword [edi]
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
cmp ebx, edi
jb 0x402520
mov edi, dword [esp + 0x14]
mov edx, edi
and edi, 7
shr edx, 3
mov dword [esp + 0x14], edi
sub ebx, edx
mov dword [esp + 0x44], ebx
mov ebx, dword [ebx]
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
cmp edi, ebx
jb 0x4023e8
mov ebx, dword [esp + 0x1c]
mov edx, ebx
and ebx, 7
shr edx, 3
mov dword [esp + 0x1c], ebx
sub edi, edx
mov ebx, dword [edi]
mov dword [esp + 0x48], edi
mov dword [esp + 0x28], ebx
test eax, eax
jne 0x4023e8
mov ebx, dword [esp + 0x6c]
cmp dword [esp + 0x30], ebx
jae 0x4023e8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edi, dword [esp + 4]
shl eax, cl
movzx ecx, byte [esp]
shr eax, cl
mov ecx, ebp
lea eax, [edi + eax*4]
mov edi, dword [esp + 0xc]
movzx edx, word [eax]
mov word [edi], dx
movzx edx, byte [eax + 2]
lea ebx, [esi + edx]
mov esi, dword [esp]
mov dword [esp + 0xc], ebx
movzx ebx, byte [eax + 3]
mov eax, dword [esp + 0x18]
add ebx, edi
mov edi, dword [esp + 4]
shl eax, cl
mov ecx, esi
mov esi, dword [esp + 4]
shr eax, cl
movzx ecx, byte [esp + 0x14]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x3c]
movzx edx, word [eax]
mov word [edi], dx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
add edx, ebp
mov ebp, dword [esp + 0x20]
add eax, edi
mov edi, dword [esp + 0x14]
shl ebp, cl
movzx ecx, byte [esp]
shr ebp, cl
lea ecx, [esi + ebp*4]
mov esi, dword [esp + 0x40]
movzx ebp, word [ecx]
mov word [esi], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add edi, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
add ecx, esi
mov dword [esp + 0x40], ecx
mov ecx, edi
shl ebp, cl
movzx ecx, byte [esp]
mov esi, dword [esp + 4]
shr ebp, cl
lea ecx, [esi + ebp*4]
mov esi, dword [esp + 0x30]
movzx ebp, word [ecx]
mov word [esi], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add edi, ebp
mov ebp, dword [esp + 0x10]
add esi, ecx
mov dword [esp + 0x1c], edi
movzx ecx, byte [esp + 0xc]
mov edi, dword [esp]
mov dword [esp + 0x30], esi
shl ebp, cl
mov esi, dword [esp + 4]
mov ecx, edi
mov edi, dword [esp + 4]
shr ebp, cl
lea ecx, [esi + ebp*4]
mov esi, dword [esp + 0xc]
movzx ebp, word [ecx]
mov word [ebx], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add esi, ebp
add ecx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, edx
shl ebx, cl
movzx ecx, byte [esp]
shr ebx, cl
lea ecx, [edi + ebx*4]
mov edi, dword [esp + 0x14]
movzx ebx, word [ecx]
mov word [eax], bx
movzx ebx, byte [ecx + 2]
lea ebp, [ebx + edx]
movzx edx, byte [ecx + 3]
mov ebx, dword [esp]
mov ecx, edi
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 4]
shl eax, cl
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x40]
lea eax, [edx + eax*4]
movzx edx, word [eax]
mov word [ecx], dx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
add edx, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
lea edx, [ecx + eax]
mov eax, dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x40], edx
shl eax, cl
mov ecx, ebx
mov ebx, dword [esp + 4]
shr eax, cl
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x30]
movzx edx, word [eax]
mov word [ebx], dx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
add edi, edx
add eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
cmp ebx, eax
jae 0x4020a8
mov eax, 3
jmp 0x4020be
lea esi, [ebp + ecx - 4]
mov dword [esp + 0x2c], esi
test dl, dl
je 0x402388
mov esi, dword [esi]
bsr edx, edx
mov dword [esp + 0x10], esi
mov esi, 8
sub esi, edx
mov dword [esp + 0x50], esi
jmp 0x401ed8
mov eax, 0xffffffb8
jmp 0x401e51
mov ebp, esi
movzx ecx, word [esp]
movzx esi, byte [esi]
mov dword [esp + 0x18], esi
cmp cx, 2
je 0x4023a5
cmp cx, 3
je 0x402398
test dl, dl
je 0x401e4c
mov ecx, 5
bsr edx, edx
mov esi, dword [esp + 0x4c]
sub ecx, ebx
shl ecx, 3
mov dword [esp + 0x38], esi
sub ecx, edx
mov dword [esp + 0x68], ecx
jmp 0x401f1c
mov eax, 0xffffffff
jmp 0x401e51
movzx ecx, byte [ebp + 2]
shl ecx, 0x10
add esi, ecx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x4c]
movzx ecx, byte [esi + 1]
shl ecx, 8
add dword [esp + 0x18], ecx
jmp 0x402359
lea esi, [esi + edi - 4]
mov dword [esp + 0x44], esi
test dl, dl
je 0x402388
mov esi, dword [esi]
bsr edx, edx
mov ecx, 8
sub ecx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ecx
jmp 0x401f95
mov dword [esp + 0x50], esi
mov edi, dword [esp + 4]
mov dword [esp + 0x68], ebp
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
cmp esi, ebx
setb dl
cmp dword [esp + 0x78], ecx
setb al
or al, dl
jne 0x401e4c
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x80], edx
jb 0x401e4c
mov edx, dword [esp + 0x50]
sub esi, 2
cmp edx, 0x20
ja 0x4025a4
mov eax, dword [esp + 0x70]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov ebp, eax
mov eax, edx
mov edx, ebx
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
jmp 0x4024e5
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
je 0x4030a0
mov esi, eax
mov ecx, ebp
shr esi, 3
sub ecx, esi
cmp ecx, ebx
jb 0x402f60
mov ebx, dword [esp + 0x7c]
mov ebp, ecx
sub ebx, 3
cmp edx, ebx
setb bl
shl esi, 3
sub eax, esi
mov esi, dword [ecx]
test bl, bl
je 0x4031cf
mov ecx, eax
mov ebx, esi
shl ebx, cl
movzx ecx, byte [esp]
shr ebx, cl
lea ecx, [edi + ebx*4]
movzx ebx, word [ecx]
mov word [edx], bx
movzx ebx, byte [ecx + 2]
add eax, ebx
movzx ebx, byte [ecx + 3]
mov ecx, eax
add ebx, edx
mov edx, esi
shl edx, cl
movzx ecx, byte [esp]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebx], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add edx, ebx
cmp eax, 0x20
ja 0x402590
mov ebx, dword [esp + 0x58]
cmp ebp, ebx
jb 0x402460
mov ebx, dword [esp + 0x7c]
mov ecx, eax
and eax, 7
shr ecx, 3
sub ebp, ecx
lea ecx, [ebx - 3]
cmp edx, ecx
mov esi, dword [ebp]
setb bl
jmp 0x402492
mov eax, 3
jmp 0x4020e2
mov eax, 3
jmp 0x40210e
mov edi, esi
movzx esi, byte [esi]
mov dword [esp + 0x28], esi
cmp eax, 2
je 0x402550
cmp eax, 3
jne 0x40255f
movzx ecx, byte [edi + 2]
shl ecx, 0x10
add esi, ecx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x74]
movzx ecx, byte [esi + 1]
shl ecx, 8
add dword [esp + 0x28], ecx
test dl, dl
je 0x401e4c
mov ecx, 5
bsr edx, edx
sub ecx, eax
mov eax, dword [esp + 0x74]
shl ecx, 3
sub ecx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], ecx
jmp 0x401ff3
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xc]
cmp esi, eax
jb 0x4025ed
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x50]
neg edx
and edx, 0x1f
lea esi, [esi]
mov ebp, dword [esp + 0x10]
mov ecx, ebx
shl ebp, cl
mov ecx, edx
shr ebp, cl
lea ecx, [edi + ebp*4]
movzx ebp, word [ecx]
mov word [eax], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add ebx, ebp
add eax, ecx
cmp esi, eax
jae 0x4025c0
mov dword [esp + 0x50], ebx
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
cmp esi, eax
jae 0x40263b
movzx ecx, byte [esp + 0x50]
mov eax, dword [esp + 0x10]
shl eax, cl
mov ecx, dword [esp + 0x70]
neg ecx
shr eax, cl
lea eax, [edi + eax*4]
movzx edx, byte [eax]
mov byte [esi], dl
cmp byte [eax + 3], 1
je 0x403177
mov esi, dword [esp + 0x50]
cmp esi, 0x1f
ja 0x40263b
movzx eax, byte [eax + 2]
add esi, eax
mov eax, 0x20
cmp esi, eax
cmovbe eax, esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
lea esi, [eax - 2]
cmp edx, 0x20
ja 0x402734
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], esi
mov ebp, dword [esp + 0x18]
neg eax
and eax, 0x1f
mov dword [esp], eax
mov eax, dword [esp + 0x38]
jmp 0x4026f5
mov esi, dword [esp + 0x4c]
cmp esi, eax
je 0x403100
mov ebp, edx
mov ecx, eax
shr ebp, 3
sub ecx, ebp
cmp ecx, esi
jb 0x402e38
mov eax, dword [esp + 0x78]
lea esi, [eax - 3]
cmp ebx, esi
setb al
shl ebp, 3
sub edx, ebp
mov ebp, dword [ecx]
mov esi, eax
mov eax, ecx
mov ecx, esi
test cl, cl
je 0x40319d
mov ecx, edx
mov esi, ebp
shl esi, cl
movzx ecx, byte [esp]
shr esi, cl
lea ecx, [edi + esi*4]
movzx esi, word [ecx]
mov word [ebx], si
movzx esi, byte [ecx + 2]
add edx, esi
movzx esi, byte [ecx + 3]
mov ecx, edx
add esi, ebx
mov ebx, ebp
shl ebx, cl
movzx ecx, byte [esp]
shr ebx, cl
lea ecx, [edi + ebx*4]
movzx ebx, word [ecx]
mov word [esi], bx
movzx ebx, byte [ecx + 2]
add edx, ebx
movzx ebx, byte [ecx + 3]
add ebx, esi
cmp edx, 0x20
ja 0x402720
mov esi, dword [esp + 0x5c]
cmp eax, esi
jb 0x402670
mov esi, dword [esp + 0x78]
mov ecx, edx
and edx, 7
shr ecx, 3
sub eax, ecx
lea ecx, [esi - 3]
cmp ebx, ecx
mov ebp, dword [eax]
setb cl
mov esi, ecx
jmp 0x4026a4
mov dword [esp + 0x68], edx
mov esi, dword [esp + 4]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x4027ad
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
neg edx
and edx, 0x1f
jmp 0x402780
mov ebp, dword [esp + 0x18]
mov ecx, ebx
shl ebp, cl
mov ecx, edx
shr ebp, cl
lea ecx, [edi + ebp*4]
movzx ebp, word [ecx]
mov word [eax], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add ebx, ebp
add eax, ecx
cmp esi, eax
jae 0x402780
mov dword [esp + 0x68], ebx
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
cmp esi, eax
jae 0x4027fb
movzx ecx, byte [esp + 0x68]
mov eax, dword [esp + 0x18]
shl eax, cl
mov ecx, dword [esp + 0x70]
neg ecx
shr eax, cl
lea eax, [edi + eax*4]
movzx edx, byte [eax]
mov byte [esi], dl
cmp byte [eax + 3], 1
je 0x40316a
mov esi, dword [esp + 0x68]
cmp esi, 0x1f
ja 0x4027fb
movzx eax, byte [eax + 2]
add esi, eax
mov eax, 0x20
cmp esi, eax
cmovbe eax, esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x14]
lea esi, [eax - 2]
cmp ebx, 0x20
ja 0x402904
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x20]
neg eax
and eax, 0x1f
mov ebp, eax
mov eax, ebx
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
jmp 0x4028c4
mov ebx, dword [esp + 0x64]
cmp ebx, ebp
je 0x4030c0
mov esi, eax
mov ecx, ebp
shr esi, 3
sub ecx, esi
cmp ecx, ebx
jb 0x402be8
mov ebx, dword [esp + 0x80]
mov ebp, ecx
sub ebx, 3
cmp edx, ebx
setb bl
shl esi, 3
sub eax, esi
mov esi, dword [ecx]
test bl, bl
je 0x403184
mov ecx, eax
mov ebx, esi
shl ebx, cl
movzx ecx, byte [esp]
shr ebx, cl
lea ecx, [edi + ebx*4]
movzx ebx, word [ecx]
mov word [edx], bx
movzx ebx, byte [ecx + 2]
add eax, ebx
movzx ebx, byte [ecx + 3]
mov ecx, eax
add ebx, edx
mov edx, esi
shl edx, cl
movzx ecx, byte [esp]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebx], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add edx, ebx
cmp eax, 0x20
ja 0x4028f0
mov ebx, dword [esp + 0x60]
cmp ebp, ebx
jb 0x402840
mov ebx, dword [esp + 0x80]
mov ecx, eax
and eax, 7
shr ecx, 3
sub ebp, ecx
lea ecx, [ebx - 3]
cmp edx, ecx
mov esi, dword [ebp]
setb bl
jmp 0x402875
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], esi
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x40296d
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x14]
neg edx
and edx, 0x1f
jmp 0x402940
mov ebp, dword [esp + 0x20]
mov ecx, ebx
shl ebp, cl
mov ecx, edx
shr ebp, cl
lea ecx, [edi + ebp*4]
movzx ebp, word [ecx]
mov word [eax], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add ebx, ebp
add eax, ecx
cmp esi, eax
jae 0x402940
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
cmp esi, eax
jae 0x4029be
movzx ecx, byte [esp + 0x14]
mov eax, dword [esp + 0x20]
shl eax, cl
mov ecx, dword [esp + 0x70]
neg ecx
shr eax, cl
lea eax, [edi + eax*4]
movzx edx, byte [eax]
mov byte [esi], dl
cmp byte [eax + 3], 1
je 0x403150
mov esi, dword [esp + 0x14]
cmp esi, 0x1f
ja 0x4029be
movzx eax, byte [eax + 2]
add esi, eax
mov eax, 0x20
cmp esi, eax
cmovbe eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x1c]
lea esi, [eax - 2]
cmp ebx, 0x20
ja 0x402abc
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x28]
neg eax
and eax, 0x1f
mov ebp, eax
mov eax, ebx
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
jmp 0x402a7e
mov ebx, dword [esp + 0x74]
cmp ebx, ebp
je 0x4030e0
mov esi, eax
mov ecx, ebp
shr esi, 3
sub ecx, esi
cmp ecx, ebx
jb 0x402d10
mov ebx, dword [esp + 0x6c]
mov ebp, ecx
cmp edx, ebx
setb bl
shl esi, 3
sub eax, esi
mov esi, dword [ecx]
test bl, bl
je 0x4031b6
mov ecx, eax
mov ebx, esi
shl ebx, cl
movzx ecx, byte [esp]
shr ebx, cl
lea ecx, [edi + ebx*4]
movzx ebx, word [ecx]
mov word [edx], bx
movzx ebx, byte [ecx + 2]
add eax, ebx
movzx ebx, byte [ecx + 3]
mov ecx, eax
add ebx, edx
mov edx, esi
shl edx, cl
movzx ecx, byte [esp]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebx], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add edx, ebx
cmp eax, 0x20
ja 0x402aa8
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
jb 0x402a00
mov ebx, dword [esp + 0x6c]
mov ecx, eax
and eax, 7
shr ecx, 3
sub ebp, ecx
cmp edx, ebx
mov esi, dword [ebp]
setb bl
jmp 0x402a2f
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], esi
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x402b2d
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
neg edx
and edx, 0x1f
jmp 0x402b00
mov ebp, dword [esp + 0x28]
mov ecx, ebx
shl ebp, cl
mov ecx, edx
shr ebp, cl
lea ecx, [edi + ebp*4]
movzx ebp, word [ecx]
mov word [eax], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add ebx, ebp
add eax, ecx
cmp esi, eax
jae 0x402b00
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x84]
cmp esi, eax
jae 0x402b7e
movzx ecx, byte [esp + 0x1c]
mov eax, dword [esp + 0x28]
shl eax, cl
mov ecx, dword [esp + 0x70]
neg ecx
shr eax, cl
lea eax, [edi + eax*4]
movzx edx, byte [eax]
mov byte [esi], dl
cmp byte [eax + 3], 1
je 0x40315d
mov esi, dword [esp + 0x1c]
cmp esi, 0x1f
ja 0x402b7e
movzx eax, byte [eax + 2]
add esi, eax
mov eax, 0x20
cmp esi, eax
cmovbe eax, esi
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x2c]
xor edx, edx
cmp dword [esp + 0x34], esi
je 0x403141
mov edi, dword [esp + 0x38]
xor eax, eax
cmp dword [esp + 0x4c], edi
je 0x403132
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x64], edi
jne 0x401e4c
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x74], edi
jne 0x401e4c
xor ecx, ecx
cmp dword [esp + 0x14], 0x20
sete cl
and edx, ecx
test edx, eax
je 0x401e4c
cmp dword [esp + 0x1c], 0x20
jne 0x401e4c
mov eax, dword [esp + 0x24]
jmp 0x401e51
sub ebp, ebx
mov dword [esp + 0x40], edx
mov edx, eax
mov esi, dword [esp + 4]
mov eax, ebp
mov dword [esp + 0x44], ebx
shl eax, 3
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], 0x20
ja 0x402904
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x40]
mov dword [esp], esi
neg eax
and eax, 0x1f
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
jmp 0x402ca2
mov edx, dword [esp + 0x64]
cmp edx, ebx
je 0x402cc8
mov ecx, eax
shr ecx, 3
mov esi, ecx
mov ecx, ebx
sub ecx, esi
mov dword [esp + 8], esi
cmp ecx, edx
jb 0x402ce0
cmp dword [esp], ebp
mov edx, esi
setae bl
shl edx, 3
mov esi, ebx
mov ebx, dword [ecx]
sub eax, edx
mov dword [esp + 0x20], ebx
mov ebx, ecx
mov edx, esi
test dl, dl
je 0x402cc8
mov edx, dword [esp + 0x20]
mov ecx, eax
shl edx, cl
movzx ecx, byte [esp + 4]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebp], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add ebp, edx
cmp eax, 0x20
ja 0x402cc8
mov edx, dword [esp + 0x60]
cmp ebx, edx
jb 0x402c38
mov edx, eax
and eax, 7
shr edx, 3
sub ebx, edx
cmp dword [esp], ebp
mov edx, dword [ebx]
mov dword [esp + 0x20], edx
setae dl
mov esi, edx
jmp 0x402c72
mov dword [esp + 0x40], ebp
mov esi, dword [esp]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ebx
jmp 0x402904
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x40], ebp
mov esi, dword [esp]
sub eax, ebx
mov dword [esp + 0x44], ebx
shl eax, 3
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
jmp 0x402904
sub ebp, ebx
mov dword [esp + 0x30], edx
mov edx, eax
mov esi, dword [esp + 4]
mov eax, ebp
mov dword [esp + 0x48], ebx
shl eax, 3
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x1c], 0x20
ja 0x402abc
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x30]
mov dword [esp], esi
neg eax
and eax, 0x1f
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
jmp 0x402dca
mov edx, dword [esp + 0x74]
cmp edx, ebx
je 0x402df0
mov ecx, eax
shr ecx, 3
mov esi, ecx
mov ecx, ebx
sub ecx, esi
mov dword [esp + 8], esi
cmp ecx, edx
jb 0x402e08
cmp dword [esp], ebp
mov edx, esi
setae bl
shl edx, 3
mov esi, ebx
mov ebx, dword [ecx]
sub eax, edx
mov dword [esp + 0x28], ebx
mov ebx, ecx
mov edx, esi
test dl, dl
je 0x402df0
mov edx, dword [esp + 0x28]
mov ecx, eax
shl edx, cl
movzx ecx, byte [esp + 4]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebp], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add ebp, edx
cmp eax, 0x20
ja 0x402df0
mov edx, dword [esp + 0x54]
cmp ebx, edx
jb 0x402d60
mov edx, eax
and eax, 7
shr edx, 3
sub ebx, edx
cmp dword [esp], ebp
mov edx, dword [ebx]
mov dword [esp + 0x28], edx
setae dl
mov esi, edx
jmp 0x402d9a
mov dword [esp + 0x30], ebp
mov esi, dword [esp]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ebx
jmp 0x402abc
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x30], ebp
mov esi, dword [esp]
sub eax, ebx
mov dword [esp + 0x48], ebx
shl eax, 3
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
jmp 0x402abc
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 4]
sub eax, ebx
mov dword [esp + 0x38], ebx
shl eax, 3
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x68], 0x20
ja 0x402734
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x3c]
mov dword [esp], esi
neg eax
and eax, 0x1f
mov ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
jmp 0x402ef2
mov edx, dword [esp + 0x4c]
cmp edx, ebx
je 0x402f18
mov ecx, eax
shr ecx, 3
mov esi, ecx
mov ecx, ebx
sub ecx, esi
mov dword [esp + 8], esi
cmp ecx, edx
jb 0x402f30
cmp dword [esp], ebp
mov edx, esi
setae bl
shl edx, 3
mov esi, ebx
mov ebx, dword [ecx]
sub eax, edx
mov dword [esp + 0x18], ebx
mov ebx, ecx
mov edx, esi
test dl, dl
je 0x402f18
mov edx, dword [esp + 0x18]
mov ecx, eax
shl edx, cl
movzx ecx, byte [esp + 4]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebp], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add ebp, edx
cmp eax, 0x20
ja 0x402f18
mov edx, dword [esp + 0x5c]
cmp ebx, edx
jb 0x402e88
mov edx, eax
and eax, 7
shr edx, 3
sub ebx, edx
cmp dword [esp], ebp
mov edx, dword [ebx]
mov dword [esp + 0x18], edx
setae dl
mov esi, edx
jmp 0x402ec2
mov dword [esp + 0x68], eax
mov esi, dword [esp]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
jmp 0x402734
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp]
sub eax, ebx
mov dword [esp + 0x38], ebx
shl eax, 3
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], eax
jmp 0x402734
sub ebp, ebx
mov ecx, eax
mov dword [esp + 0xc], edx
mov esi, dword [esp + 4]
mov eax, ebp
mov dword [esp + 0x2c], ebx
shl eax, 3
sub ecx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 6]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x50], 0x20
ja 0x4025a4
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x2c]
mov dword [esp], esi
neg eax
and eax, 0x1f
mov ebx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc]
jmp 0x403023
mov edx, dword [esp + 0x34]
cmp edx, ebp
je 0x403050
mov ecx, eax
shr ecx, 3
mov esi, ecx
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0xc], esi
cmp ecx, edx
jb 0x403068
cmp dword [esp], ebx
mov ebp, ecx
setae dl
mov esi, edx
mov edx, dword [esp + 0xc]
shl edx, 3
sub eax, edx
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, esi
test dl, dl
je 0x403050
mov edx, dword [esp + 0x10]
mov ecx, eax
shl edx, cl
movzx ecx, byte [esp + 4]
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [ebx], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ecx
add ebx, edx
cmp eax, 0x20
ja 0x403050
mov edx, dword [esp + 0x58]
cmp ebp, edx
jb 0x402fb8
mov edx, eax
and eax, 7
shr edx, 3
sub ebp, edx
cmp dword [esp], ebx
mov edx, dword [ebp]
mov dword [esp + 0x10], edx
setae dl
mov esi, edx
jmp 0x402ff4
mov dword [esp + 0x50], eax
mov esi, dword [esp]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xc], ebx
jmp 0x4025a4
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x34]
mov edx, eax
mov esi, dword [esp]
sub ebp, ebx
mov dword [esp + 0x2c], ebx
mov eax, ebp
shl eax, 3
sub edx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 6]
mov dword [esp + 0x10], eax
jmp 0x4025a4
mov dword [esp + 0x10], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xc], edx
jmp 0x402f91
mov dword [esp + 0x20], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ebp
jmp 0x402c14
mov dword [esp + 0x28], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ebp
jmp 0x402d3c
mov dword [esp + 0x68], edx
mov esi, dword [esp + 4]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
jmp 0x402e64
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
jmp 0x4023f4
xor eax, eax
cmp dword [esp + 0x68], 0x20
sete al
jmp 0x402b9e
xor edx, edx
cmp dword [esp + 0x50], 0x20
sete dl
jmp 0x402b8e
movzx eax, byte [eax + 2]
add dword [esp + 0x14], eax
jmp 0x4029be
movzx eax, byte [eax + 2]
add dword [esp + 0x1c], eax
jmp 0x402b7e
movzx eax, byte [eax + 2]
add dword [esp + 0x68], eax
jmp 0x4027fb
movzx eax, byte [eax + 2]
add dword [esp + 0x50], eax
jmp 0x40263b
mov dword [esp + 0x20], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ebp
jmp 0x402c09
mov dword [esp + 0x68], edx
mov esi, dword [esp + 4]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
jmp 0x402e59
mov dword [esp + 0x28], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ebp
jmp 0x402d31
mov dword [esp + 0x10], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xc], edx
jmp 0x402f86