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

Disassembly:
push ebp
push edi
mov edi, 0xffffffb8
push esi
push ebx
sub esp, 0x14c
cmp dword [esp + 0x164], 0x1ffff
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
ja 0x40906d
mov ebp, eax
mov eax, dword [eax + 0x72c8]
cmp dword [esp + 0x164], 2
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x72cc]
mov dword [esp + 0x48], eax
jbe 0x409068
mov eax, dword [esp + 0x160]
movzx edx, byte [eax]
mov ebx, edx
and ebx, 3
cmp bl, 2
je 0x40908f
cmp bl, 3
je 0x409080
cmp bl, 1
je 0x409260
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a4f0
cmp al, 3
je 0x40a478
shr dl, 3
mov eax, 1
movzx ebx, dl
lea esi, [ebx + eax]
mov dword [esp + 0x4c], esi
lea edx, [esi + 0x20]
cmp dword [esp + 0x164], edx
jae 0x40a0c0
cmp dword [esp + 0x164], esi
jae 0x40a180
lea esi, [esi]
mov edi, 0xffffffec
add esp, 0x14c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x72f8]
mov edi, 0xffffffe2
test eax, eax
je 0x40906d
cmp dword [esp + 0x164], 4
jbe 0x409068
mov eax, dword [esp + 0x160]
shr dl, 2
and edx, 3
mov esi, dword [eax]
mov eax, esi
shr eax, 4
cmp dl, 2
je 0x40a120
cmp dl, 3
je 0x40a0e0
and eax, 0x3ff
xor edx, 1
shr esi, 0xe
mov edi, 3
mov dword [esp + 0x3c], eax
movzx edx, dl
and esi, 0x3ff
lea eax, [edi + esi]
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x164], eax
jb 0x409068
mov eax, dword [ebp + 0x7394]
test eax, eax
je 0x409108
cmp dword [esp + 0x3c], 0x300
ja 0x40a1d9
add edi, dword [esp + 0x160]
lea eax, [ebp + 0x73e8]
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], eax
cmp bl, 3
je 0x40a640
lea eax, [ebp + 0x2828]
lea ecx, [ebp + 0x6aac]
mov dword [esp + 0x40], eax
test edx, edx
jne 0x40a232
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x409068
test esi, esi
je 0x409068
cmp edi, esi
jbe 0x40ac5c
mov eax, esi
xor edx, edx
shl eax, 4
div edi
lea edx, [eax + eax*2]
shl edx, 3
mov edi, dword [edx + 0x417840]
mov eax, dword [edx + 0x41784c]
mov dword [esp + 0x54], edi
mov edi, dword [edx + 0x417844]
mov dword [esp + 0x5c], edi
mov edi, dword [edx + 0x417848]
mov edx, dword [esp + 0x3c]
shr edx, 8
imul eax, edx
imul edx, dword [esp + 0x5c]
add edx, dword [esp + 0x54]
add eax, edi
mov edi, eax
shr edi, 3
add eax, edi
cmp edx, eax
jbe 0x40ac14
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0x800
mov edx, edi
call fcn.00407e90
cmp eax, 0xffffff88
ja 0x409068
cmp eax, esi
jae 0x409068
add edi, eax
sub esi, eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov ecx, edi
mov edi, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00403010
cmp eax, 0xffffff88
ja 0x409068
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov dword [ebp + 0x72f8], 1
mov edi, eax
mov dword [ebp + 0x7368], eax
mov dword [ebp + 0x7378], esi
add edi, esi
cmp bl, 2
jne 0x40922f
mov eax, dword [esp + 0x40]
mov dword [ebp + 0xc], eax
lea edx, [edi + 4]
mov dword [edi], 0
xor ecx, ecx
xor eax, eax
and edx, 0xfffffffc
mov dword [edi + 0x1c], 0
sub edi, edx
mov ebx, edi
add ebx, 0x20
and ebx, 0xfffffffc
mov dword [edx + eax], ecx
add eax, 4
cmp eax, ebx
jb 0x409250
jmp 0x4092bb
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a448
cmp al, 3
je 0x40a4a0
mov dword [esp + 0x4c], 2
shr dl, 3
mov eax, 1
movzx ebx, dl
mov edi, dword [esp + 0x160]
lea edx, [ebx + 0x20]
lea esi, [ebp + 0x73e8]
mov dword [esp + 8], edx
movzx eax, byte [edi + eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
mov dword [ebp + 0x7368], esi
mov dword [ebp + 0x7378], ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x160]
mov edi, 0xffffffb8
mov esi, dword [esp + 0x164]
add ebx, eax
sub esi, eax
mov dword [esp + 0x50], esi
je 0x40906d
mov eax, dword [ebp + 0x7394]
mov dword [esp + 0x54], eax
lea eax, [ebx + 1]
mov dword [esp + 0x40], eax
movzx eax, byte [ebx]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x409818
cmp dword [esp + 0x50], 1
jne 0x40906d
mov edi, 1
xor ebx, ebx
mov eax, 0x2000000
cmp eax, dword [esp + 0x44]
mov eax, 0
sbb eax, dword [esp + 0x48]
setb byte [esp + 0x6c]
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
mov edx, dword [ebp + 0x7368]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x7378]
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x72b0]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x72b4]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x72b8]
mov dword [esp + 0x64], eax
test esi, esi
je 0x409a30
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb8], edx
mov dword [ebp + 0x7394], 0
test eax, eax
je 0x40a140
mov eax, dword [ebp + 0x682c]
mov esi, dword [esp + 0x44]
mov dword [ebp + 0x72fc], 1
mov edx, dword [ebp + 0x6830]
mov ecx, dword [ebp + 0x6834]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x12c], edx
sub eax, esi
mov dword [esp + 0x130], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], eax
test ebx, ebx
je 0x409068
mov eax, dword [esp + 0x40]
lea esi, [eax + 4]
mov dword [esp + 0x108], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x10c], esi
mov esi, eax
lea eax, [eax + ebx - 1]
cmp ebx, 3
jbe 0x40ac84
lea edx, [esi + ebx - 4]
mov dword [esp + 0x104], edx
mov edx, dword [edx]
mov dword [esp + 0xfc], edx
movzx eax, byte [eax]
test al, al
je 0x409068
bsr eax, eax
mov edx, 8
sub edx, eax
mov dword [esp + 0x100], edx
cmp ebx, 0xffffff88
ja 0x409068
mov ecx, dword [ebp]
lea edx, [esp + 0xfc]
lea eax, [esp + 0x110]
call fcn.00401b50
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xfc]
lea eax, [esp + 0x118]
call fcn.00401b50
mov ecx, dword [ebp + 4]
lea edx, [esp + 0xfc]
lea eax, [esp + 0x120]
call fcn.00401b50
mov ebx, dword [esp + 0x100]
cmp ebx, 0x20
ja 0x409068
mov edi, dword [esp + 0x3c]
mov eax, 4
mov dword [esp + 0xa8], ebp
mov esi, dword [esp + 0x104]
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x68], 0
cmp edi, eax
mov dword [esp + 0x38], 0
cmovle eax, edi
mov edi, dword [esp + 0xfc]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x114]
mov ebp, edi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x7c], eax
xor eax, eax
mov byte [esp + 0x4c], al
jmp 0x40970d
cmp al, 0x18
mov esi, ebp
seta cl
mov edx, ecx
mov ecx, ebx
shl esi, cl
mov ecx, edx
and cl, byte [esp + 0x6c]
mov byte [esp + 0xa3], cl
jne 0x40aad0
add ebx, eax
neg eax
mov ecx, eax
shr esi, cl
add esi, dword [esp + 0x8c]
cmp ebx, 0x20
ja 0x409589
cmp dword [esp + 0x54], edi
jbe 0x40acf5
mov ecx, dword [esp + 0x40]
cmp ecx, edi
je 0x409589
mov eax, ebx
mov edx, edi
shr eax, 3
sub edx, eax
cmp ecx, edx
jbe 0x40b133
mov eax, edi
sub eax, ecx
sub edi, eax
mov ebp, dword [edi]
mov byte [esp + 0x68], 1
shl eax, 3
sub ebx, eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x128], esi
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x12c], eax
xor eax, eax
cmp byte [esp + 0x78], 0
jne 0x40a590
movzx edx, byte [esp + 0x60]
add eax, edx
cmp eax, 0x13
jg 0x40a550
cmp byte [esp + 0x60], 0
jne 0x40a530
cmp ebx, 0x20
ja 0x40a861
cmp dword [esp + 0x54], edi
jbe 0x40a7c0
mov ecx, dword [esp + 0x40]
mov esi, ecx
cmp ecx, edi
je 0x409611
mov eax, ebx
mov esi, edi
shr eax, 3
sub esi, eax
cmp ecx, esi
jbe 0x409605
mov eax, edi
mov esi, ecx
sub eax, ecx
mov ebp, dword [esi]
mov byte [esp + 0x68], 1
shl eax, 3
sub ebx, eax
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x74]
mov edx, ebp
add eax, dword [esp + 0x4c]
add eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
movzx eax, byte [edi + 3]
add ebx, eax
mov ecx, ebx
neg ecx
shr edx, cl
and edx, dword [eax*4 + 0x4179e0]
mov eax, edx
movzx edx, word [edi]
mov edi, dword [esp + 0x84]
add eax, edx
mov edx, ebp
mov dword [esp + 0x110], eax
movzx eax, byte [edi + 3]
add ebx, eax
mov ecx, ebx
neg ecx
shr edx, cl
and edx, dword [eax*4 + 0x4179e0]
mov eax, edx
movzx edx, word [edi]
add eax, edx
mov dword [esp + 0x120], eax
cmp ebx, 0x20
ja 0x4096af
cmp esi, dword [esp + 0x54]
jae 0x40a7e0
mov edi, dword [esp + 0x40]
cmp edi, esi
je 0x4096af
mov eax, ebx
mov edx, esi
shr eax, 3
sub edx, eax
cmp edi, edx
jbe 0x40ab72
mov eax, esi
sub eax, edi
sub esi, eax
mov ebp, dword [esi]
mov byte [esp + 0x68], 1
shl eax, 3
sub ebx, eax
mov edi, dword [esp + 0x88]
mov edx, ebp
add dword [esp + 0x38], 1
movzx eax, byte [edi + 3]
add ebx, eax
mov ecx, ebx
neg ecx
shr edx, cl
and edx, dword [eax*4 + 0x4179e0]
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x4c], 1
mov eax, edx
movzx edx, word [edi]
mov edi, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
add eax, 0x10
mov dword [eax - 0xc], edi
mov dword [eax - 8], ecx
mov dword [esp + 0x7c], eax
cmp ebx, 0x20
ja 0x40a870
mov ecx, ebx
cmp dword [esp + 0x54], esi
jbe 0x40a620
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x40ab79
mov edx, ebx
mov edi, esi
shr edx, 3
sub edi, edx
cmp eax, edi
jbe 0x409736
sub esi, eax
mov edi, eax
mov edx, esi
shl edx, 3
mov ebp, dword [edi]
mov byte [esp + 0x68], 1
sub ebx, edx
mov edx, 1
mov ecx, ebx
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x38], eax
je 0x40b210
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x94]
lea esi, [esi + eax*8]
movzx eax, byte [esi + 2]
mov dword [esp + 0x80], esi
mov byte [esp + 0x60], al
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x120]
lea esi, [esi + eax*8]
movzx eax, byte [esi + 2]
mov dword [esp + 0x84], esi
mov byte [esp + 0x78], al
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x118]
lea esi, [esi + eax*8]
mov dword [esp + 0x88], esi
movzx eax, byte [esi + 2]
mov esi, dword [esi + 4]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x128]
mov dword [esp + 0x5c], esi
cmp al, 1
ja 0x409520
je 0x40bc40
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4095ad
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], eax
mov dword [esp + 0x5c], eax
jmp 0x4095ad
mov eax, dword [esp + 0x160]
add eax, dword [esp + 0x164]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x7f
jle 0x409863
cmp eax, 0xff
je 0x40a272
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x58], esi
jbe 0x40906d
movzx edx, byte [ebx + 1]
add eax, 0xffffff80
lea edi, [ebx + 2]
shl eax, 8
mov dword [esp + 0x40], edi
add eax, edx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov edi, 0xffffffb8
lea esi, [ecx + 1]
cmp dword [esp + 0x58], esi
jb 0x40906d
mov edx, dword [esp + 0x3c]
movzx eax, byte [ecx]
lea edi, [ebp + 0x6aac]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x54]
mov ecx, eax
shr cl, 6
mov byte [esp + 0x40], al
lea eax, [ebp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x72fc]
movzx ecx, cl
mov dword [esp + 0x18], 0x417620
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], 0x417ac0
sub edx, esi
mov dword [esp + 0x10], 0x417b60
mov dword [esp + 0xc], edx
mov edx, ebp
mov dword [esp + 8], esi
mov dword [esp + 4], 9
mov dword [esp], 0x23
call fcn.00408ce0
cmp eax, 0xffffff88
ja 0x409068
add eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], edi
lea edx, [ebp + 8]
mov dword [esp + 0x5c], eax
movzx ecx, byte [esp + 0x40]
lea eax, [ebp + 0x1018]
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0x7394]
shr cl, 4
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0x72fc]
and ecx, 3
mov dword [esp + 0x18], 0x417500
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x58]
sub esi, dword [esp + 0x5c]
mov dword [esp + 0x14], 0x417dc0
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x10], 0x417e40
mov dword [esp + 8], esi
mov dword [esp + 4], 8
mov dword [esp], 0x1f
call fcn.00408ce0
cmp eax, 0xffffff88
ja 0x409068
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x3c]
mov edx, eax
lea eax, [ebp + 0x1820]
add edx, esi
movzx ecx, byte [esp + 0x40]
mov dword [esp + 0x24], edi
mov edi, dword [ebp + 0x7394]
mov esi, edx
lea edx, [ebp + 4]
shr cl, 2
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x72fc]
and ecx, 3
mov dword [esp + 0x18], 0x4172e0
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x14], 0x417c00
sub edi, esi
mov dword [esp + 0x10], 0x417ce0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 9
mov dword [esp], 0x34
call fcn.00408ce0
cmp eax, 0xffffff88
ja 0x409068
add eax, esi
mov edi, eax
mov dword [esp + 0x40], eax
sub edi, ebx
cmp edi, 0xffffff88
ja 0x40906d
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
sub ebx, edi
test eax, eax
jne 0x409312
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x409312
mov edi, 0xffffffba
jmp 0x40906d
mov eax, 0x1000000
cmp eax, dword [ebp + 0x72c8]
sbb esi, dword [ebp + 0x72cc]
jae 0x40a060
cmp dword [esp + 0x3c], 4
jle 0x40a060
mov eax, dword [ebp + 8]
mov esi, 1
mov ecx, dword [eax + 4]
shl esi, cl
mov dword [esp + 0x38], ecx
test esi, esi
je 0x40be78
movzx ecx, byte [esp + 0x38]
mov esi, 8
add eax, 0xa
shl esi, cl
mov ecx, esi
xor esi, esi
add ecx, eax
cmp byte [eax], 0x17
sbb esi, 0xffffffff
add eax, 8
cmp ecx, eax
jne 0x409a80
mov dword [ebp + 0x7394], 0
mov ecx, 8
sub ecx, dword [esp + 0x38]
shl esi, cl
cmp esi, 0x13
ja 0x40c0e1
mov dword [esp + 0xbc], edx
mov dword [ebp + 0x72fc], 1
mov eax, dword [ebp + 0x682c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 0x6830]
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0x6834]
mov dword [esp + 0x130], eax
test ebx, ebx
je 0x409068
mov esi, dword [esp + 0x40]
lea eax, [esi + 4]
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], eax
lea eax, [esi + ebx - 1]
cmp ebx, 3
ja 0x40a1f4
mov dword [esp + 0x104], esi
movzx edx, byte [esi]
mov dword [esp + 0xfc], edx
cmp ebx, 2
je 0x409b3c
cmp ebx, 3
jne 0x409b50
movzx ecx, byte [esi + 2]
shl ecx, 0x10
add edx, ecx
mov dword [esp + 0xfc], edx
mov esi, dword [esp + 0x40]
movzx ecx, byte [esi + 1]
shl ecx, 8
add ecx, edx
mov dword [esp + 0xfc], ecx
movzx eax, byte [eax]
test al, al
je 0x409068
bsr eax, eax
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x164]
lea edx, [edi + edx + 5]
shl edx, 3
sub edx, eax
mov dword [esp + 0x100], edx
mov ecx, dword [ebp]
lea edx, [esp + 0xfc]
lea eax, [esp + 0x110]
call fcn.00401b50
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xfc]
lea eax, [esp + 0x118]
call fcn.00401b50
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x120]
lea edx, [esp + 0xfc]
call fcn.00401b50
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x100]
mov dword [esp + 0x84], ebp
sub eax, 0x20
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov ebp, eax
lea esi, [esi]
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
lea edi, [eax + edx*8]
mov edx, dword [esp + 0x120]
movzx eax, byte [edi + 2]
mov dword [esp + 0x5c], edi
mov byte [esp + 0x54], al
mov eax, dword [edi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x124]
lea edi, [eax + edx*8]
mov edx, dword [esp + 0x118]
movzx eax, byte [edi + 2]
mov dword [esp + 0x60], edi
mov byte [esp + 0x58], al
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x11c]
lea eax, [eax + edx*8]
movzx edx, byte [eax + 2]
mov dword [esp + 0x68], eax
mov eax, dword [eax + 4]
cmp dl, 1
jbe 0x40a298
mov edi, dword [esp + 0xfc]
mov ecx, esi
movzx ebx, dl
mov dword [esp + 0x78], edi
shl edi, cl
cmp dl, 0x18
jbe 0x40a2d0
cmp byte [esp + 0x6c], 0
je 0x40a2d0
mov edx, 0x20
mov ecx, ebx
sub edx, esi
cmp edx, ebx
cmova edx, ebx
sub ecx, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov edx, ecx
mov ecx, dword [esp + 0x7c]
add esi, ecx
neg ecx
shr edi, cl
mov ecx, edx
mov dword [esp + 0x100], esi
shl edi, cl
add edi, eax
cmp esi, 0x20
ja 0x409d18
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x40b18d
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x88], ecx
cmp eax, ecx
je 0x409d18
mov ecx, esi
mov edx, eax
shr ecx, 3
sub edx, ecx
mov dword [esp + 0x78], ecx
mov ecx, edx
mov edx, dword [esp + 0x88]
cmp edx, ecx
jbe 0x409cf4
sub eax, edx
mov ecx, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], ecx
shl eax, 3
sub esi, eax
mov eax, dword [ecx]
mov dword [esp + 0x100], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x40b07c
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x128], edi
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], edi
mov dword [esp + 0x12c], eax
xor eax, eax
cmp byte [esp + 0x58], 0
jne 0x40a3b0
movzx edx, byte [esp + 0x54]
add eax, edx
cmp eax, 0x13
jg 0x40a348
cmp byte [esp + 0x54], 0
jne 0x40a420
cmp esi, 0x20
ja 0x40a3e0
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x104]
cmp ecx, eax
jbe 0x40a5d0
mov ecx, dword [esp + 0x108]
cmp ecx, eax
je 0x40a3e0
mov edx, esi
mov ebx, eax
shr edx, 3
sub ebx, edx
cmp ecx, ebx
jbe 0x409db4
sub eax, ecx
mov ebx, ecx
mov edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x104], ebx
shl edx, 3
sub esi, edx
mov dword [esp + 0xfc], eax
mov edi, dword [esp + 0x5c]
mov ebx, eax
movzx edx, byte [edi + 3]
add esi, edx
mov ecx, esi
neg ecx
shr ebx, cl
mov ecx, dword [edx*4 + 0x4179e0]
and ecx, ebx
mov edx, ecx
movzx ecx, word [edi]
mov edi, dword [esp + 0x60]
add edx, ecx
mov dword [esp + 0x110], edx
movzx ebx, byte [edi + 3]
movzx edx, word [edi]
mov edi, eax
add esi, ebx
mov ecx, esi
mov dword [esp + 0x100], esi
neg ecx
shr edi, cl
mov ecx, dword [ebx*4 + 0x4179e0]
and ecx, edi
add edx, ecx
mov dword [esp + 0x120], edx
cmp esi, 0x20
ja 0x409e6c
mov edx, dword [esp + 0x104]
cmp edx, dword [esp + 0x10c]
jae 0x40a5b0
mov ecx, dword [esp + 0x108]
cmp edx, ecx
je 0x409e6c
mov eax, esi
mov ebx, edx
shr eax, 3
sub ebx, eax
cmp ecx, ebx
jbe 0x409e57
mov eax, edx
mov ebx, ecx
sub eax, ecx
shl eax, 3
mov dword [esp + 0x104], ebx
sub esi, eax
mov eax, dword [ebx]
mov dword [esp + 0xfc], eax
mov edi, dword [esp + 0x68]
movzx ebx, byte [edi + 3]
movzx edx, word [edi]
add esi, ebx
mov ecx, esi
mov dword [esp + 0x100], esi
mov esi, dword [esp + 0x40]
neg ecx
shr eax, cl
and eax, dword [ebx*4 + 0x4179e0]
lea ebx, [ebp + esi]
add edx, eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x4c]
lea ecx, [eax + esi]
add edx, esi
mov dword [esp + 0x58], ecx
mov esi, ecx
mov ecx, ebx
mov dword [esp + 0x54], edx
lea edi, [ebp + edx]
sub ecx, dword [esp + 0x38]
cmp esi, dword [esp + 0x50]
ja 0x40a800
cmp edi, dword [esp + 0x74]
ja 0x40a800
mov esi, dword [esp + 0x48]
add edx, 0x20
sub esi, ebp
cmp esi, edx
jb 0x40a800
mov esi, dword [eax + 4]
mov edx, dword [eax]
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp], edx
mov edx, dword [esp + 0x5c]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
mov dword [ebp + 4], edx
ja 0x40ad0b
mov eax, dword [esp + 0x58]
mov dword [esp + 0xbc], eax
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
jbe 0x409f71
mov eax, ebx
sub eax, dword [esp + 0x70]
cmp dword [esp + 0x38], eax
ja 0x40bb6c
mov esi, ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
sub esi, dword [esp + 0x44]
lea eax, [ecx + esi]
add edx, eax
cmp ecx, edx
jae 0x40ab85
mov ebp, esi
mov dword [esp], ebx
neg ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
add ebx, ebp
call sub.msvcrt.dll_memmove
add dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x38], 0xf
jbe 0x40affd
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
cmp dword [esp + 0x4c], 0x10
mov dword [ebx], ebp
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
jle 0x409fd9
add ebx, 0x10
lea eax, [ecx + 0x10]
nop
mov ebp, dword [eax]
mov esi, dword [eax + 4]
add ebx, 0x20
add eax, 0x20
mov ecx, dword [eax - 0x18]
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x20], ebp
mov dword [ebx - 0x1c], esi
mov dword [ebx - 0x18], ecx
mov dword [ebx - 0x14], edx
mov ebp, dword [eax - 0x10]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebx - 0x10], ebp
mov dword [ebx - 0xc], esi
mov dword [ebx - 8], ecx
mov dword [ebx - 4], edx
cmp edi, ebx
ja 0x409fa0
mov esi, dword [esp + 0x100]
cmp esi, 0x20
ja 0x40a033
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x40a5f0
mov ecx, dword [esp + 0x108]
cmp eax, ecx
je 0x40a033
mov edx, esi
mov ebx, eax
shr edx, 3
sub ebx, edx
cmp ecx, ebx
jbe 0x40a017
sub eax, ecx
mov ebx, ecx
mov edx, eax
mov eax, dword [ebx]
shl edx, 3
mov dword [esp + 0x104], ebx
sub esi, edx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], eax
cmp dword [esp + 0x54], 0xffffff88
ja 0x40ac7b
sub dword [esp + 0x3c], 1
je 0x40b0a1
mov eax, dword [esp + 0x128]
mov ebp, edi
mov dword [esp + 0x38], eax
jmp 0x409be0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xbc], edx
mov dword [ebp + 0x7394], 0
test ecx, ecx
jne 0x409ab2
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov esi, ecx
mov edi, 0xffffffba
sub ebx, edx
sub eax, ecx
cmp ebx, eax
ja 0x40906d
test ecx, ecx
je 0x40a0b4
mov dword [esp], ecx
add esi, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov ecx, esi
mov edi, ecx
sub edi, dword [esp + 0x34]
jmp 0x40906d
add eax, dword [esp + 0x160]
mov dword [ebp + 0x7378], ebx
mov dword [ebp + 0x7368], eax
jmp 0x4092bb
and eax, 0x3ffff
mov dword [esp + 0x3c], eax
mov edi, eax
mov eax, dword [esp + 0x160]
movzx eax, byte [eax + 4]
cmp edi, 0x20000
ja 0x409068
shr esi, 0x16
shl eax, 0xa
xor edx, edx
mov edi, 5
add esi, eax
jmp 0x4090dc
and eax, 0x3fff
shr esi, 0x12
xor edx, edx
mov edi, 4
mov dword [esp + 0x3c], eax
jmp 0x4090dc
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov edi, 0xffffffba
sub ebx, edx
sub eax, esi
cmp ebx, eax
ja 0x40906d
test esi, esi
je 0x40a173
mov dword [esp], esi
add esi, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov edi, esi
sub edi, dword [esp + 0x34]
jmp 0x40906d
lea esi, [ebp + 0x73e8]
add eax, dword [esp + 0x160]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov dword [ebp + 0x7368], esi
add esi, ebx
xor edx, edx
lea ecx, [esi + 4]
mov dword [ebp + 0x7378], ebx
xor ebx, ebx
and ecx, 0xfffffffc
mov dword [esi], 0
mov dword [esi + 0x1c], 0
sub esi, ecx
lea eax, [esi + 0x20]
and eax, 0xfffffffc
mov dword [ecx + edx], ebx
add edx, 4
cmp edx, eax
jb 0x40a1ca
jmp 0x4092bb
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x4040]
lea esi, [esi]
add eax, 0x40
cmp ecx, eax
jne 0x40a1e8
jmp 0x409108
lea edx, [esi + ebx - 4]
mov dword [esp + 0x104], edx
mov edx, dword [edx]
mov dword [esp + 0xfc], edx
movzx eax, byte [eax]
test al, al
je 0x409068
bsr eax, eax
mov edx, 8
sub edx, eax
mov dword [esp + 0x100], edx
cmp ebx, 0xffffff88
jbe 0x409b79
jmp 0x409068
mov dword [esp], ecx
mov edx, edi
mov ecx, esi
call fcn.004075d0
cmp eax, 0xffffff88
ja 0x409068
cmp eax, esi
jae 0x409068
add edi, eax
sub esi, eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov ecx, edi
mov edi, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00405e60
jmp 0x4091f8
lea eax, [ebx + 3]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x58], eax
jb 0x40906d
movzx eax, word [ebx + 1]
add eax, 0x7f00
mov dword [esp + 0x3c], eax
jmp 0x409863
je 0x40bb09
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x409d4b
mov eax, dword [esp + 0x12c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], edi
mov dword [esp + 0x38], eax
jmp 0x409d4b
mov ecx, ebx
add esi, ebx
neg ecx
mov dword [esp + 0x100], esi
shr edi, cl
add edi, eax
cmp esi, 0x20
ja 0x409d27
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x40abee
mov ecx, dword [esp + 0x108]
cmp eax, ecx
je 0x409d27
mov edx, esi
mov ebx, eax
shr edx, 3
sub ebx, edx
cmp ecx, ebx
jbe 0x40a320
sub eax, ecx
mov ebx, ecx
mov edx, eax
mov eax, dword [ebx]
shl edx, 3
mov dword [esp + 0x104], ebx
sub esi, edx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], eax
jmp 0x409d27
cmp esi, 0x20
ja 0x40adab
mov ebx, dword [esp + 0x104]
mov ecx, dword [esp + 0x10c]
cmp ebx, ecx
jae 0x40a3ec
mov eax, dword [esp + 0x108]
cmp ebx, eax
je 0x40a40f
mov ecx, esi
mov edi, ebx
shr ecx, 3
sub edi, ecx
cmp eax, edi
jbe 0x40a389
mov ecx, ebx
mov edi, eax
sub ecx, eax
mov eax, dword [edi]
shl ecx, 3
mov dword [esp + 0x104], edi
sub esi, ecx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], eax
jmp 0x409d68
movzx eax, byte [esp + 0x58]
mov ebx, dword [esp + 0xfc]
mov ecx, esi
shl ebx, cl
mov ecx, eax
add esi, eax
neg ecx
mov dword [esp + 0x100], esi
shr ebx, cl
add dword [esp + 0x4c], ebx
jmp 0x409d58
mov eax, dword [esp + 0xfc]
jmp 0x409dc9
mov edi, esi
mov eax, ebx
and esi, 7
shr edi, 3
mov dword [esp + 0x100], esi
sub eax, edi
mov ebx, dword [eax]
mov dword [esp + 0x104], eax
mov dword [esp + 0xfc], ebx
cmp byte [esp + 0x54], 0
je 0x409d8a
lea esi, [esi]
mov ebx, dword [esp + 0xfc]
mov ecx, esi
add esi, edx
shl ebx, cl
mov ecx, edx
mov dword [esp + 0x100], esi
neg ecx
shr ebx, cl
add dword [esp + 0x40], ebx
jmp 0x409d73
mov eax, dword [esp + 0x160]
mov dword [esp + 0x4c], 3
movzx eax, word [eax]
mov ebx, eax
mov word [esp + 0x3c], ax
mov eax, 2
shr bx, 4
movzx ebx, bx
jmp 0x40928b
mov eax, dword [esp + 0x160]
movzx ebx, byte [eax + 2]
movzx eax, word [eax]
shl ebx, 0x10
add ebx, eax
mov eax, 3
shr ebx, 4
jmp 0x409041
mov eax, dword [esp + 0x160]
mov edi, dword [esp + 0x160]
movzx eax, byte [eax + 2]
movzx edx, word [edi]
shl eax, 0x10
add eax, edx
mov ebx, eax
shr ebx, 4
cmp eax, 0x20000f
ja 0x409068
cmp dword [esp + 0x164], 3
je 0x409068
mov dword [esp + 0x4c], 4
mov eax, 3
jmp 0x40928b
mov eax, dword [esp + 0x160]
movzx eax, word [eax]
mov ebx, eax
mov word [esp + 0x3c], ax
mov eax, 2
shr bx, 4
movzx ebx, bx
jmp 0x409041
mov eax, ebx
mov byte [esp + 0x68], 1
and ebx, 7
shr eax, 3
sub edi, eax
mov ebp, dword [edi]
cmp byte [esp + 0x60], 0
je 0x4095de
nop
mov ecx, ebx
mov eax, ebp
add ebx, edx
shl eax, cl
mov ecx, edx
neg ecx
shr eax, cl
add dword [esp + 0x4c], eax
jmp 0x4095d5
cmp ebx, 0x20
ja 0x40a856
cmp dword [esp + 0x54], edi
jbe 0x40a512
mov esi, dword [esp + 0x40]
cmp esi, edi
je 0x40a523
mov ecx, ebx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp esi, eax
jbe 0x40b1b7
mov ecx, edi
sub ecx, esi
sub edi, ecx
shl ecx, 3
mov byte [esp + 0x68], 1
mov ebp, dword [edi]
sub ebx, ecx
jmp 0x4095ca
movzx eax, byte [esp + 0x78]
mov ecx, ebx
mov edx, ebp
shl edx, cl
mov ecx, eax
add ebx, eax
neg ecx
shr edx, cl
add dword [esp + 0x58], edx
jmp 0x4095ba
mov eax, esi
and esi, 7
shr eax, 3
sub edx, eax
mov eax, dword [edx]
mov dword [esp + 0x104], edx
mov dword [esp + 0xfc], eax
jmp 0x409e6c
mov edx, esi
and esi, 7
shr edx, 3
sub eax, edx
mov dword [esp + 0x104], eax
mov eax, dword [eax]
mov dword [esp + 0xfc], eax
jmp 0x409dc9
mov edx, esi
and esi, 7
shr edx, 3
mov dword [esp + 0x100], esi
sub eax, edx
mov dword [esp + 0x104], eax
mov eax, dword [eax]
mov dword [esp + 0xfc], eax
jmp 0x40a033
mov edx, ebx
and ebx, 7
shr edx, 3
mov ecx, ebx
sub esi, edx
mov edx, 1
mov ebp, dword [esi]
mov edi, esi
mov byte [esp + 0x68], 1
jmp 0x409749
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
movzx eax, bh
test edx, edx
je 0x40ab9e
test al, al
je 0x40b116
test esi, esi
je 0x409068
mov eax, edi
lea edi, [edi + 4]
mov dword [esp + 0x64], edi
movzx edi, byte [eax + esi - 1]
cmp esi, 3
jbe 0x40bcf4
lea eax, [eax + esi - 4]
mov dword [esp + 0x70], eax
mov eax, dword [eax]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xfc], eax
mov eax, edi
test al, al
je 0x409068
movzx eax, al
mov edx, 8
bsr eax, eax
sub edx, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x100], edx
lea esi, [ecx + 4]
mov ecx, dword [esp + 0x70]
shr ebx, 0x10
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], esi
movzx esi, bl
mov edi, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], esi
neg esi
mov ebx, dword [esp + 0x68]
add edi, eax
mov dword [esp + 0x54], ecx
mov ecx, esi
and ecx, 0x1f
mov dword [esp + 0x60], ecx
jmp 0x40a78b
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x40], ecx
je 0x40b15d
mov esi, dword [esp + 0x40]
mov ecx, ebx
shr ecx, 3
sub esi, ecx
cmp esi, dword [esp + 0x50]
jb 0x40aed2
lea edx, [edi - 3]
mov dword [esp + 0x40], esi
cmp eax, edx
setb dl
shl ecx, 3
sub ebx, ecx
mov ecx, dword [esi]
mov dword [esp + 0x54], ecx
test dl, dl
je 0x40aeed
mov esi, dword [esp + 0x54]
mov ecx, ebx
shl esi, cl
movzx ecx, byte [esp + 0x60]
shr esi, cl
mov ecx, dword [esp + 0x5c]
lea ecx, [ecx + esi*4]
movzx esi, word [ecx]
mov word [eax], si
movzx esi, byte [ecx + 2]
add ebx, esi
movzx esi, byte [ecx + 3]
mov ecx, ebx
add esi, eax
mov eax, dword [esp + 0x54]
shl eax, cl
movzx ecx, byte [esp + 0x60]
shr eax, cl
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + eax*4]
movzx ecx, word [eax]
mov word [esi], cx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
add ebx, ecx
add eax, esi
cmp ebx, 0x20
ja 0x40adc4
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x40], ecx
jb 0x40a6f0
mov edx, ebx
and ebx, 7
shr edx, 3
sub dword [esp + 0x40], edx
mov esi, dword [esp + 0x40]
lea edx, [edi - 3]
cmp eax, edx
mov esi, dword [esi]
setb dl
mov dword [esp + 0x54], esi
jmp 0x40a72a
mov eax, ebx
mov esi, edi
and ebx, 7
shr eax, 3
sub esi, eax
mov ebp, dword [esi]
mov byte [esp + 0x68], 1
jmp 0x409611
mov eax, ebx
and ebx, 7
shr eax, 3
sub esi, eax
mov ebp, dword [esi]
mov byte [esp + 0x68], 1
jmp 0x4096af
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, ebp
call fcn.00408e90
mov dword [esp + 0x54], eax
lea edi, [ebp + eax]
jmp 0x409fd9
cmp byte [esp + 0x60], 0
jne 0x40a530
mov esi, edi
jmp 0x409611
mov eax, dword [esp + 0x74]
cmp byte [esp + 0x68], 0
mov edi, ebp
mov dword [esp + 0x100], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x13c], eax
je 0x40a8a0
mov dword [esp + 0x104], esi
mov dword [esp + 0xfc], edi
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x90], edi
jg 0x409068
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x3c], edi
jg 0x409068
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x3c], eax
jle 0x40aa94
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], ebp
sub eax, 0x20
mov dword [esp + 0x6c], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x38]
and eax, 3
shl eax, 4
mov ecx, dword [esp + eax + 0xbc]
mov edi, dword [esp + eax + 0xc0]
mov ebp, dword [esp + eax + 0xc4]
lea edx, [ecx + edi]
lea ebx, [esi + ecx]
mov dword [esp + 0x4c], edi
lea eax, [esi + edx]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x40], ebp
lea edi, [eax + ecx]
mov ecx, ebx
mov dword [esp + 0x58], edx
sub ecx, ebp
mov dword [esp + 0x60], edi
mov ebp, ecx
cmp edi, dword [esp + 0x50]
ja 0x40b1be
mov edi, dword [esp + 0x6c]
cmp dword [esp + 0x54], edi
ja 0x40b1be
mov edi, dword [esp + 0x48]
add edx, 0x20
sub edi, esi
cmp edi, edx
jb 0x40b1be
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x68], edx
mov edx, dword [eax]
mov dword [esi + 8], edi
mov edi, dword [esp + 0x68]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edi
ja 0x40bdd7
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb8], eax
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x40], eax
jbe 0x40a9f1
mov eax, ebx
sub eax, dword [esp + 0x70]
cmp dword [esp + 0x40], eax
ja 0x409068
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
sub ebp, dword [esp + 0x44]
lea eax, [edi + ebp]
lea edx, [eax + ecx]
cmp edi, edx
jae 0x40bc9c
mov edi, ebp
mov dword [esp], ebx
neg edi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
add ebx, edi
call sub.msvcrt.dll_memmove
add dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x44]
cmp dword [esp + 0x40], 0xf
jbe 0x40be87
mov edi, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x4c], 0x10
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
jle 0x40aa6e
mov dword [esp + 0x40], esi
lea eax, [ebp + 0x10]
mov ebp, dword [esp + 0x54]
add ebx, 0x10
lea esi, [esi]
nop
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
add ebx, 0x20
add eax, 0x20
mov edx, dword [eax - 0x14]
mov esi, dword [eax - 0x20]
mov dword [ebx - 0x1c], edi
mov dword [ebx - 0x20], esi
mov dword [ebx - 0x18], ecx
mov dword [ebx - 0x14], edx
mov edi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov esi, dword [eax - 0x10]
mov dword [ebx - 0xc], edi
mov dword [ebx - 8], ecx
mov dword [ebx - 0x10], esi
mov dword [ebx - 4], edx
cmp ebp, ebx
ja 0x40aa30
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
cmp eax, 0xffffff88
ja 0x40c0c5
add dword [esp + 0x38], 1
add esi, eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x3c], eax
jne 0x40a8f0
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0xb8]
mov dword [ebp + 0x682c], eax
mov eax, dword [esp + 0x12c]
mov dword [ebp + 0x6830], eax
mov eax, dword [esp + 0x130]
mov dword [ebp + 0x6834], eax
jmp 0x40a144
mov ecx, 0x20
mov edx, eax
sub ecx, ebx
cmp ecx, eax
cmova ecx, eax
sub edx, ecx
mov dword [esp + 0xac], ecx
add ebx, ecx
neg ecx
shr esi, cl
mov ecx, edx
mov dword [esp + 0xa4], edx
shl esi, cl
add esi, dword [esp + 0x8c]
cmp ebx, 0x20
ja 0x40ab44
cmp dword [esp + 0x54], edi
jbe 0x40bad3
cmp dword [esp + 0x40], edi
je 0x40ab44
mov edx, ebx
mov ebp, dword [esp + 0x40]
shr edx, 3
mov ecx, edx
mov edx, edi
sub edx, ecx
cmp ebp, edx
jbe 0x40bced
mov ecx, edi
sub ecx, ebp
sub edi, ecx
shl ecx, 3
mov ebp, dword [edi]
sub ebx, ecx
movzx ecx, byte [esp + 0xa3]
mov byte [esp + 0x68], cl
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x409589
mov ecx, ebx
mov edx, ebp
add ebx, dword [esp + 0xa4]
shl edx, cl
mov ecx, dword [esp + 0xac]
sub ecx, eax
shr edx, cl
add esi, edx
jmp 0x409589
mov esi, edx
jmp 0x4096a3
movzx edx, byte [esp + 0x4c]
mov edi, eax
jmp 0x409749
mov esi, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], esi
call sub.msvcrt.dll_memmove
jmp 0x409fd9
test al, al
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov ecx, dword [esp + 0x50]
je 0x40b10c
call fcn.00403010
cmp eax, 0xffffff88
ja 0x409068
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x72f8], 1
mov dword [ebp + 0x7368], eax
add eax, edi
mov dword [ebp + 0x7378], edi
mov edi, eax
jmp 0x40922f
mov edx, esi
and esi, 7
shr edx, 3
mov dword [esp + 0x100], esi
sub eax, edx
mov dword [esp + 0x104], eax
mov eax, dword [eax]
mov dword [esp + 0xfc], eax
jmp 0x409d27
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, esi
mov edx, edi
call fcn.004075d0
cmp eax, 0xffffff88
ja 0x409068
cmp eax, esi
jae 0x409068
add edi, eax
sub esi, eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov ecx, edi
mov edi, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00404790
jmp 0x4091f8
mov dword [esp + 0x5c], pe_nt_image_headers32
mov eax, 0x91
mov edi, 0x763
mov dword [esp + 0x54], 0x2d2
jmp 0x409189
mov edi, dword [esp + 0x54]
jmp 0x40906d
mov esi, dword [esp + 0x40]
mov dword [esp + 0x104], esi
movzx edx, byte [esi]
mov dword [esp + 0xfc], edx
cmp ebx, 2
je 0x40acb3
cmp ebx, 3
jne 0x40acc7
movzx ecx, byte [esi + 2]
shl ecx, 0x10
add edx, ecx
mov dword [esp + 0xfc], edx
mov esi, dword [esp + 0x40]
movzx ecx, byte [esi + 1]
shl ecx, 8
add ecx, edx
mov dword [esp + 0xfc], ecx
movzx eax, byte [eax]
test al, al
je 0x409068
bsr eax, eax
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x164]
lea edx, [edi + edx + 5]
shl edx, 3
sub edx, eax
mov dword [esp + 0x100], edx
jmp 0x40944f
mov eax, ebx
and ebx, 7
shr eax, 3
sub edi, eax
mov ebp, dword [edi]
mov byte [esp + 0x68], 1
jmp 0x409589
mov edx, dword [esp + 0xbc]
mov esi, dword [edx + 0x18]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x5c], esi
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x60], esi
mov esi, dword [edx + 0x10]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x40]
sub eax, 0x10
cmp eax, 0x10
jle 0x409f11
mov dword [esp + 0x40], ebp
lea eax, [ebp + 0x20]
add edx, 0x20
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edi
lea esi, [esi]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
add eax, 0x20
add edx, 0x20
mov ecx, dword [edx - 0x14]
mov edi, dword [edx - 0x20]
mov dword [eax - 0x1c], ebp
mov dword [eax - 0x20], edi
mov dword [eax - 0x18], esi
mov dword [eax - 0x14], ecx
mov ebp, dword [edx - 0xc]
mov esi, dword [edx - 8]
mov ecx, dword [edx - 4]
mov edi, dword [edx - 0x10]
mov dword [eax - 0xc], ebp
mov dword [eax - 8], esi
mov dword [eax - 0x10], edi
mov dword [eax - 4], ecx
cmp ebx, eax
ja 0x40ad60
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x409f11
mov ebx, dword [esp + 0xfc]
cmp byte [esp + 0x54], 0
mov eax, ebx
je 0x409dc9
jmp 0x40a427
mov esi, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
lea esi, [edi - 2]
mov dword [esp + 0x6c], esi
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jb 0x40ae44
mov esi, dword [esp + 0xfc]
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x64], ebp
mov ebp, ecx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x74]
neg esi
and esi, 0x1f
nop
mov edx, dword [esp + 0x54]
mov ecx, ebx
shl edx, cl
mov ecx, esi
shr edx, cl
lea edx, [edi + edx*4]
movzx ecx, word [edx]
mov word [eax], cx
movzx ecx, byte [edx + 2]
movzx edx, byte [edx + 3]
add ebx, ecx
add eax, edx
cmp eax, ebp
jbe 0x40ae10
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x100], ebx
cmp edi, eax
jbe 0x40ae93
mov ebx, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
mov esi, dword [esp + 0x5c]
mov ecx, ebx
shl edx, cl
mov ecx, dword [esp + 0x74]
neg ecx
shr edx, cl
lea edx, [esi + edx*4]
movzx ecx, byte [edx]
mov byte [eax], cl
cmp byte [edx + 3], 1
je 0x40bfc7
cmp ebx, 0x1f
ja 0x40ae93
movzx eax, byte [edx + 2]
add eax, ebx
cmp eax, 0x20
ja 0x40c0ce
mov dword [esp + 0x100], eax
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
jne 0x409068
cmp dword [esp + 0x100], 0x20
jne 0x409068
mov dword [ebp + 0x72f8], 1
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x7368], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x7378], eax
jmp 0x40922f
mov esi, dword [esp + 0x40]
mov edx, esi
sub edx, dword [esp + 0x50]
sub esi, edx
shl edx, 3
mov dword [esp + 0x40], esi
mov esi, dword [esi]
sub ebx, edx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0xfc], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x70], esi
lea esi, [edi - 2]
cmp dword [esp + 0x68], 0x20
mov dword [esp + 0x6c], esi
ja 0x40be5c
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
xor edx, edx
mov ebx, dword [esp + 0x68]
neg ecx
mov dword [esp + 0x40], esi
and ecx, 0x1f
mov dword [esp + 0x60], ecx
jmp 0x40afa2
mov esi, ecx
mov ecx, dword [esp + 0x50]
cmp esi, ecx
je 0x40b13a
mov ecx, ebx
shr ecx, 3
sub esi, ecx
cmp esi, dword [esp + 0x50]
jb 0x40afcb
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x40], esi
setbe dl
shl ecx, 3
sub ebx, ecx
mov ecx, dword [esi]
mov dword [esp + 0x54], ecx
test dl, dl
je 0x40afe6
mov esi, dword [esp + 0x54]
mov ecx, ebx
shl esi, cl
movzx ecx, byte [esp + 0x60]
shr esi, cl
mov ecx, dword [esp + 0x5c]
lea ecx, [ecx + esi*4]
movzx esi, word [ecx]
mov word [eax], si
movzx esi, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add ebx, esi
add eax, ecx
cmp ebx, 0x20
ja 0x40afe6
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x64], ecx
ja 0x40af40
mov edx, ebx
and ebx, 7
shr edx, 3
sub dword [esp + 0x40], edx
mov esi, dword [esp + 0x40]
cmp eax, dword [esp + 0x6c]
mov esi, dword [esi]
setbe dl
mov dword [esp + 0x54], esi
jmp 0x40af71
mov esi, dword [esp + 0x40]
mov edx, esi
sub edx, dword [esp + 0x50]
sub esi, edx
shl edx, 3
mov dword [esp + 0x40], esi
mov esi, dword [esi]
sub ebx, edx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
jmp 0x40addd
mov esi, dword [esp + 0x38]
cmp esi, 7
ja 0x40bcb1
movzx eax, byte [ecx]
mov byte [ebx], al
movzx eax, byte [ecx + 1]
mov byte [ebx + 1], al
movzx eax, byte [ecx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 3]
mov byte [ebx + 3], al
mov eax, dword [esi*4 + 0x417a60]
add eax, ecx
mov edx, dword [eax]
sub eax, dword [esi*4 + str._b_b_b_a_b_t_n_v]
mov ecx, eax
mov dword [ebx + 4], edx
cmp dword [esp + 0x4c], 8
jbe 0x409fd9
mov eax, ebx
sub eax, ecx
cmp eax, 0xf
jg 0x40bf38
lea eax, [ecx + 8]
add ebx, 8
mov edx, edi
lea esi, [esi]
nop
mov esi, dword [eax]
mov edi, dword [eax + 4]
add ebx, 8
add eax, 8
mov dword [ebx - 8], esi
mov dword [ebx - 4], edi
cmp edx, ebx
ja 0x40b060
mov edi, edx
jmp 0x409fd9
mov eax, dword [esp + 0x78]
mov ecx, esi
add esi, dword [esp + 0x80]
mov dword [esp + 0x100], esi
shl eax, cl
mov ecx, dword [esp + 0x7c]
sub ecx, ebx
shr eax, cl
add edi, eax
jmp 0x409d27
mov ebp, dword [esp + 0x84]
mov ecx, edi
cmp esi, 0x20
ja 0x40b0d9
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x409068
cmp eax, dword [esp + 0x108]
jne 0x409068
cmp esi, 0x20
jne 0x409068
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0xbc]
mov dword [ebp + 0x682c], eax
mov eax, dword [esp + 0x12c]
mov dword [ebp + 0x6830], eax
mov eax, dword [esp + 0x130]
mov dword [ebp + 0x6834], eax
jmp 0x40a081
call fcn.00404790
jmp 0x40abbe
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov ecx, dword [esp + 0x50]
call fcn.00405e60
jmp 0x40abbe
mov edi, edx
jmp 0x40957d
mov dword [esp + 0x68], ebx
test dl, dl
je 0x40be5c
mov esi, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
jmp 0x40addd
test dl, dl
je 0x40bf24
mov esi, ecx
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], esi
jmp 0x40af0b
mov ecx, esi
and esi, 7
shr ecx, 3
mov dword [esp + 0x100], esi
sub eax, ecx
mov dword [esp + 0x104], eax
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov dword [esp + 0xfc], eax
jmp 0x409d18
mov edi, eax
jmp 0x40a57e
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, esi
call fcn.00408e90
mov dword [esp + 0x58], eax
jmp 0x40aa6e
mov dword [esp + 0x38], ebp
movzx eax, byte [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0xa8]
test dl, dl
je 0x40b22f
mov dword [esp + 0x100], ecx
test al, al
je 0x40b23e
mov eax, dword [esp + 0x74]
mov dword [esp + 0x13c], eax
cmp byte [esp + 0x68], 0
je 0x40b257
mov eax, dword [esp + 0x38]
mov dword [esp + 0x104], edi
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], eax
cmp ebx, 0x20
ja 0x40a8b5
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x4c], esi
lea esi, [esi]
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x104]
mov dword [esp + 0x40], ecx
cmp eax, ecx
jae 0x40b94d
mov esi, dword [esp + 0x108]
mov edx, eax
cmp eax, esi
je 0x40b2d4
mov ecx, ebx
shr ecx, 3
sub edx, ecx
cmp esi, edx
jbe 0x40b2b8
sub eax, esi
mov edx, esi
mov ecx, eax
shl ecx, 3
mov dword [esp + 0x104], edx
sub ebx, ecx
mov dword [esp + 0x100], ebx
mov eax, dword [edx]
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x38], ecx
jge 0x40bdc7
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
lea edi, [eax + ecx*8]
mov ecx, dword [esp + 0x120]
movzx eax, byte [edi + 2]
mov byte [esp + 0x60], al
mov eax, dword [edi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x124]
lea esi, [eax + ecx*8]
mov ecx, dword [esp + 0x118]
movzx eax, byte [esi + 2]
mov dword [esp + 0x74], esi
mov byte [esp + 0x68], al
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x11c]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x128]
movzx esi, byte [eax + 2]
mov ebx, dword [eax + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x100]
mov ecx, esi
cmp cl, 1
jbe 0x40b7b0
mov ebp, dword [esp + 0xfc]
movzx ecx, cl
mov dword [esp + 0x7c], ecx
mov ecx, eax
mov dword [esp + 0x84], ebp
shl ebp, cl
mov ecx, esi
mov dword [esp + 0x80], ebp
cmp cl, 0x18
jbe 0x40b7e8
cmp byte [esp + 0x6c], 0
je 0x40b7e8
mov esi, 0x20
sub esi, eax
mov ecx, esi
mov esi, dword [esp + 0x7c]
mov ebp, ecx
cmp ecx, esi
mov ecx, esi
cmova ebp, esi
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x94], ebp
mov esi, ecx
mov dword [esp + 0x88], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x80]
neg ecx
mov dword [esp + 0x100], eax
shr ebp, cl
mov ecx, esi
shl ebp, cl
add ebx, ebp
cmp eax, 0x20
ja 0x40b42b
cmp dword [esp + 0x40], edx
jbe 0x40bcc0
mov ecx, dword [esp + 0x108]
cmp ecx, edx
je 0x40b42b
mov ebp, eax
mov esi, edx
shr ebp, 3
sub esi, ebp
cmp ecx, esi
jbe 0x40b406
sub edx, ecx
mov esi, ecx
mov ebp, edx
mov edx, ebp
mov dword [esp + 0x104], esi
mov esi, dword [esi]
shl edx, 3
sub eax, edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], esi
mov esi, dword [esp + 0x88]
test esi, esi
jne 0x40bb8c
mov edx, dword [esp + 0x12c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x130], edx
mov dword [esp + 0x12c], esi
xor esi, esi
cmp byte [esp + 0x68], 0
jne 0x40b8c8
movzx ebx, byte [esp + 0x60]
add esi, ebx
cmp esi, 0x13
jg 0x40b868
cmp byte [esp + 0x60], 0
jne 0x40b92a
mov edx, dword [esp + 0x104]
cmp eax, 0x20
ja 0x40b8f0
cmp dword [esp + 0x40], edx
jbe 0x40b994
mov ebx, dword [esp + 0x108]
cmp ebx, edx
je 0x40b8f0
mov ecx, eax
mov esi, edx
shr ecx, 3
sub esi, ecx
cmp ebx, esi
jbe 0x40b4c2
mov ecx, edx
mov esi, ebx
sub ecx, ebx
mov dword [esp + 0x104], esi
mov esi, dword [esi]
shl ecx, 3
sub eax, ecx
mov dword [esp + 0xfc], esi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ebx, esi
add edx, ecx
add dword [esp + 0x13c], edx
movzx edx, byte [edi + 3]
add eax, edx
mov ecx, eax
neg ecx
shr ebx, cl
mov ecx, dword [edx*4 + 0x4179e0]
and ecx, ebx
mov edx, ecx
movzx ecx, word [edi]
mov edi, dword [esp + 0x74]
add edx, ecx
mov dword [esp + 0x110], edx
movzx ebx, byte [edi + 3]
movzx edx, word [edi]
mov edi, esi
add eax, ebx
mov ecx, eax
mov dword [esp + 0x100], eax
neg ecx
shr edi, cl
mov ecx, dword [ebx*4 + 0x4179e0]
and ecx, edi
add edx, ecx
mov dword [esp + 0x120], edx
cmp eax, 0x20
ja 0x40b584
mov edx, dword [esp + 0x104]
cmp edx, dword [esp + 0x40]
jae 0x40b975
mov ebx, dword [esp + 0x108]
cmp edx, ebx
je 0x40b584
mov ecx, eax
mov esi, edx
shr ecx, 3
sub esi, ecx
cmp ebx, esi
jbe 0x40b56f
mov ecx, edx
mov esi, ebx
sub ecx, ebx
mov dword [esp + 0x104], esi
mov esi, dword [esi]
shl ecx, 3
sub eax, ecx
mov dword [esp + 0xfc], esi
mov edi, dword [esp + 0x78]
movzx ebx, byte [edi + 3]
movzx edx, word [edi]
add eax, ebx
mov ecx, eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x38]
neg ecx
and eax, 3
shr esi, cl
and esi, dword [ebx*4 + 0x4179e0]
mov dword [esp + 0x78], eax
shl eax, 4
add edx, esi
mov ecx, dword [esp + eax + 0xbc]
mov esi, dword [esp + eax + 0xc0]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + eax + 0xc4]
lea eax, [ecx + esi]
mov dword [esp + 0x74], esi
lea esi, [edx + eax]
mov dword [esp + 0x68], eax
lea ebx, [edx + ecx]
mov dword [esp + 0x84], esi
mov eax, esi
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x60], edi
lea ebp, [esi + ecx]
mov dword [esp + 0x40], esi
mov esi, ebx
sub esi, edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x7c], ebp
lea edx, [edi - 0x20]
cmp eax, edx
ja 0x40b9b3
mov edx, dword [esp + 0x50]
cmp ebp, edx
ja 0x40b9b3
mov edx, dword [esp + 0x68]
sub edi, dword [esp + 0x4c]
add edx, 0x20
cmp edi, edx
jb 0x40b9b3
mov eax, dword [esp + 0x40]
mov ebp, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
mov eax, dword [esp + 0x4c]
mov dword [eax], edx
mov edx, eax
mov dword [eax + 4], ebp
mov dword [eax + 8], edi
mov eax, dword [esp + 0x80]
mov dword [edx + 0xc], eax
cmp ecx, 0x10
ja 0x40ba3e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x60], eax
jbe 0x40b6d1
mov eax, ebx
sub eax, dword [esp + 0x70]
cmp dword [esp + 0x60], eax
ja 0x409068
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
sub esi, dword [esp + 0x44]
lea eax, [ecx + esi]
lea edx, [eax + edi]
cmp ecx, edx
jae 0x40ba03
mov edi, esi
mov dword [esp], ebx
neg edi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
add ebx, edi
call sub.msvcrt.dll_memmove
add dword [esp + 0x74], esi
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x60], 0xf
jbe 0x40bbbb
mov edi, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp dword [esp + 0x74], 0x10
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
jle 0x40b74a
mov edi, dword [esp + 0x84]
add ebx, 0x10
lea eax, [esi + 0x10]
lea esi, [esi]
lea esi, [esi]
mov esi, dword [eax + 4]
mov ecx, dword [eax + 8]
add ebx, 0x20
add eax, 0x20
mov edx, dword [eax - 0x14]
mov ebp, dword [eax - 0x20]
mov dword [ebx - 0x1c], esi
mov dword [ebx - 0x20], ebp
mov dword [ebx - 0x18], ecx
mov dword [ebx - 0x14], edx
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov ebp, dword [eax - 0x10]
mov dword [ebx - 0xc], esi
mov dword [ebx - 8], ecx
mov dword [ebx - 0x10], ebp
mov dword [ebx - 4], edx
cmp edi, ebx
ja 0x40b710
mov esi, dword [esp + 0x68]
cmp esi, 0xffffff88
ja 0x40bfd9
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x100]
add dword [esp + 0x4c], esi
shl eax, 4
add dword [esp + 0x38], 1
mov dword [esp + eax + 0xbc], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + eax + 0xc0], edi
mov edi, dword [esp + 0x58]
mov dword [esp + eax + 0xc4], edi
cmp ebx, 0x20
jbe 0x40b280
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x8c]
jmp 0x40a8b5
je 0x40bd64
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x40b45e
mov edx, dword [esp + 0x12c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], esi
mov dword [esp + 0x58], edx
jmp 0x40b45e
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
add eax, ecx
neg ecx
shr esi, cl
mov dword [esp + 0x100], eax
add ebx, esi
cmp eax, 0x20
ja 0x40b43a
cmp dword [esp + 0x40], edx
jbe 0x40ba18
mov ecx, dword [esp + 0x108]
cmp ecx, edx
je 0x40b43a
mov esi, eax
mov ebp, edx
shr esi, 3
sub ebp, esi
mov dword [esp + 0x7c], esi
mov esi, ebp
cmp ecx, ebp
jbe 0x40b83f
sub edx, ecx
mov esi, ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi]
mov dword [esp + 0x104], esi
shl ecx, 3
mov dword [esp + 0xfc], edx
sub eax, ecx
mov dword [esp + 0x100], eax
jmp 0x40b43a
cmp eax, 0x20
ja 0x40baf0
mov ecx, dword [esp + 0x104]
cmp ecx, dword [esp + 0x40]
jae 0x40b8fc
mov edx, dword [esp + 0x108]
cmp ecx, edx
je 0x40b91f
mov esi, eax
mov ebp, ecx
shr esi, 3
sub ebp, esi
cmp edx, ebp
jbe 0x40b8a0
mov esi, ecx
mov ebp, edx
sub esi, edx
mov edx, dword [ebp]
shl esi, 3
mov dword [esp + 0x104], ebp
sub eax, esi
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], edx
jmp 0x40b47b
movzx esi, byte [esp + 0x68]
mov edx, dword [esp + 0xfc]
mov ecx, eax
shl edx, cl
mov ecx, esi
add eax, esi
neg ecx
mov dword [esp + 0x100], eax
shr edx, cl
add dword [esp + 0x5c], edx
jmp 0x40b46b
mov esi, dword [esp + 0xfc]
jmp 0x40b4d7
mov esi, eax
and eax, 7
shr esi, 3
mov dword [esp + 0x100], eax
sub ecx, esi
mov dword [esp + 0x104], ecx
mov edx, ecx
mov ecx, dword [ecx]
mov dword [esp + 0xfc], ecx
cmp byte [esp + 0x60], 0
je 0x40b496
mov edx, dword [esp + 0xfc]
mov ecx, eax
add eax, ebx
shl edx, cl
mov ecx, ebx
mov dword [esp + 0x100], eax
neg ecx
shr edx, cl
add dword [esp + 0x54], edx
jmp 0x40b486
mov ecx, ebx
and ebx, 7
shr ecx, 3
mov dword [esp + 0x100], ebx
sub eax, ecx
mov dword [esp + 0x104], eax
mov edx, eax
mov eax, dword [eax]
mov dword [esp + 0xfc], eax
jmp 0x40b2d4
mov ecx, eax
and eax, 7
shr ecx, 3
sub edx, ecx
mov esi, dword [edx]
mov dword [esp + 0x104], edx
mov dword [esp + 0xfc], esi
jmp 0x40b584
mov ecx, eax
and eax, 7
shr ecx, 3
sub edx, ecx
mov esi, dword [edx]
mov dword [esp + 0x104], edx
mov dword [esp + 0xfc], esi
jmp 0x40b4d7
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.00408e90
mov dword [esp + 0x68], eax
jmp 0x40b74a
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memmove
jmp 0x40b74a
mov ecx, eax
and eax, 7
shr ecx, 3
mov dword [esp + 0x100], eax
sub edx, ecx
mov dword [esp + 0x104], edx
mov edx, dword [edx]
mov dword [esp + 0xfc], edx
jmp 0x40b43a
mov eax, dword [esp + 0x40]
sub ecx, 0x10
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ebp
cmp ecx, 0x10
jle 0x40b672
lea edx, [eax + 0x20]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], esi
add eax, 0x20
lea esi, [esi]
lea esi, [esi]
mov ebp, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, 0x20
add eax, 0x20
mov ecx, dword [eax - 0x14]
mov esi, dword [eax - 0x20]
mov dword [edx - 0x1c], ebp
mov dword [edx - 0x20], esi
mov dword [edx - 0x18], edi
mov dword [edx - 0x14], ecx
mov ebp, dword [eax - 0xc]
mov edi, dword [eax - 8]
mov ecx, dword [eax - 4]
mov esi, dword [eax - 0x10]
mov dword [edx - 0xc], ebp
mov dword [edx - 8], edi
mov dword [edx - 0x10], esi
mov dword [edx - 4], ecx
cmp ebx, edx
ja 0x40ba90
mov esi, dword [esp + 0x40]
jmp 0x40b672
mov edx, ebx
movzx ecx, byte [esp + 0xa3]
and ebx, 7
shr edx, 3
sub edi, edx
mov ebp, dword [edi]
mov byte [esp + 0x68], cl
jmp 0x40ab44
mov edx, dword [esp + 0xfc]
cmp byte [esp + 0x60], 0
mov esi, edx
je 0x40b4d7
jmp 0x40b931
mov ebx, dword [esp + 0xfc]
mov ecx, esi
add esi, 1
mov dword [esp + 0x100], esi
shl ebx, cl
shr ebx, 0x1f
cmp dword [esp + 0x40], 1
adc eax, ebx
cmp eax, 3
je 0x40bf00
mov edx, dword [esp + eax*4 + 0x128]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40bb51
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x128], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x12c], eax
jmp 0x409d4b
mov esi, dword [esp + 0x100]
cmp esi, 0x20
ja 0x409068
mov dword [esp + 0x54], 0xffffffec
lea edi, [ebp - 0x14]
jmp 0x409fe5
mov edx, dword [esp + 0x84]
mov ecx, eax
mov esi, dword [esp + 0x94]
sub esi, dword [esp + 0x7c]
add eax, dword [esp + 0x88]
shl edx, cl
mov ecx, esi
mov dword [esp + 0x100], eax
shr edx, cl
add ebx, edx
jmp 0x40b43a
mov edi, dword [esp + 0x60]
cmp edi, 7
ja 0x40be69
movzx eax, byte [esi]
mov byte [ebx], al
movzx eax, byte [esi + 1]
mov byte [ebx + 1], al
movzx eax, byte [esi + 2]
mov byte [ebx + 2], al
movzx eax, byte [esi + 3]
mov byte [ebx + 3], al
mov eax, dword [edi*4 + 0x417a60]
add eax, esi
mov edx, dword [eax]
sub eax, dword [edi*4 + str._b_b_b_a_b_t_n_v]
mov esi, eax
mov dword [ebx + 4], edx
cmp dword [esp + 0x74], 8
jbe 0x40b74a
mov eax, ebx
sub eax, esi
cmp eax, 0xf
jg 0x40bfe2
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
lea eax, [esi + 8]
add ebx, 8
mov esi, dword [eax]
mov edi, dword [eax + 4]
add ebx, 8
add eax, 8
mov dword [ebx - 8], esi
mov dword [ebx - 4], edi
cmp edx, ebx
ja 0x40bc22
mov dword [esp + 0x4c], ebp
jmp 0x40b74a
mov ecx, ebx
mov eax, ebp
add ebx, 1
shl eax, cl
shr eax, 0x1f
cmp dword [esp + 0x4c], 1
adc eax, dword [esp + 0x8c]
cmp eax, 3
je 0x40bf13
mov edx, dword [esp + eax*4 + 0x128]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40bc81
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x128], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x12c], eax
jmp 0x4095ad
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memmove
jmp 0x40aa6e
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x40b03b
mov ecx, eax
and eax, 7
shr ecx, 3
mov dword [esp + 0x100], eax
sub edx, ecx
mov esi, dword [edx]
mov dword [esp + 0x104], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0xfc], esi
jmp 0x40b42b
mov edi, edx
jmp 0x40ab31
movzx edx, byte [eax]
mov dword [esp + 0xfc], edx
cmp esi, 2
je 0x40bd11
cmp esi, 3
jne 0x40bd25
movzx eax, byte [eax + 2]
shl eax, 0x10
add edx, eax
mov eax, dword [esp + 0x50]
movzx eax, byte [eax + 1]
shl eax, 8
add eax, edx
mov dword [esp + 0xfc], eax
mov eax, edi
test al, al
je 0x409068
movzx eax, al
bsr edx, eax
mov eax, 5
sub eax, esi
shl eax, 3
sub eax, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
jmp 0x40a6ae
mov edx, dword [esp + 0xfc]
mov ecx, eax
add eax, 1
mov dword [esp + 0x100], eax
shl edx, cl
shr edx, 0x1f
cmp dword [esp + 0x54], 1
adc edx, ebx
cmp edx, 3
je 0x40bfb4
mov ecx, dword [esp + edx*4 + 0x128]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40bdac
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x130], edx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x128], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x12c], esi
jmp 0x40b45e
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x8c]
jmp 0x40a8c3
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x68]
sub ecx, 0x10
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edx
cmp ecx, 0x10
jle 0x40a992
mov dword [esp + 0x5c], esi
lea edx, [esi + 0x20]
add eax, 0x20
mov dword [esp + 0x68], ebp
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
add edx, 0x20
add eax, 0x20
mov ecx, dword [eax - 0x14]
mov ebp, dword [eax - 0x20]
mov dword [edx - 0x1c], edi
mov dword [edx - 0x20], ebp
mov dword [edx - 0x18], esi
mov dword [edx - 0x14], ecx
mov edi, dword [eax - 0xc]
mov esi, dword [eax - 8]
mov ecx, dword [eax - 4]
mov ebp, dword [eax - 0x10]
mov dword [edx - 0xc], edi
mov dword [edx - 8], esi
mov dword [edx - 0x10], ebp
mov dword [edx - 4], ecx
cmp edx, ebx
jb 0x40be15
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x68]
jmp 0x40a992
mov esi, dword [esp + 0x70]
mov dword [esp + 0x40], esi
jmp 0x40addd
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x40bbf9
mov dword [ebp + 0x7394], 0
jmp 0x409aab
mov edi, dword [esp + 0x40]
cmp edi, 7
ja 0x40bfa4
movzx eax, byte [ebp]
mov byte [ebx], al
movzx eax, byte [ebp + 1]
mov byte [ebx + 1], al
movzx eax, byte [ebp + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebp + 3]
mov byte [ebx + 3], al
mov eax, dword [edi*4 + 0x417a60]
add eax, ebp
mov edx, dword [eax]
sub eax, dword [edi*4 + str._b_b_b_a_b_t_n_v]
mov ebp, eax
mov dword [ebx + 4], edx
cmp dword [esp + 0x4c], 8
jbe 0x40aa6e
mov eax, ebx
sub eax, ebp
cmp eax, 0xf
jg 0x40c057
lea eax, [ebp + 8]
add ebx, 8
mov edi, dword [eax]
mov ebp, dword [eax + 4]
add ebx, 8
add eax, 8
mov dword [ebx - 8], edi
mov dword [ebx - 4], ebp
cmp dword [esp + 0x54], ebx
ja 0x40bee4
jmp 0x40aa6e
mov edx, dword [esp + 0x38]
xor eax, eax
sub edx, 1
sete al
add edx, eax
jmp 0x40bb43
mov edx, esi
xor eax, eax
sub edx, 1
sete al
add edx, eax
jmp 0x40bc73
lea esi, [edi - 2]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x54], esi
jmp 0x40af1d
mov eax, dword [ecx + 0x10]
mov ebp, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 8], ebp
sub eax, 8
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x14], esi
cmp eax, 0x10
jle 0x409fd9
add ebx, 0x18
lea eax, [ecx + 0x18]
mov ebp, dword [eax]
mov esi, dword [eax + 4]
add ebx, 0x20
add eax, 0x20
mov ecx, dword [eax - 0x18]
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x20], ebp
mov dword [ebx - 0x1c], esi
mov dword [ebx - 0x18], ecx
mov dword [ebx - 0x14], edx
mov ebp, dword [eax - 0x10]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebx - 0x10], ebp
mov dword [ebx - 0xc], esi
mov dword [ebx - 8], ecx
mov dword [ebx - 4], edx
cmp edi, ebx
ja 0x40bf66
jmp 0x409fd9
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x40bec6
mov edx, dword [esp + 0x58]
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40bd9e
movzx eax, byte [edx + 2]
add eax, ebx
mov dword [esp + 0x100], eax
jmp 0x40ae93
mov edi, dword [esp + 0x68]
jmp 0x40906d
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 8], edi
sub eax, 8
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], ecx
cmp eax, 0x10
jle 0x40b74a
mov ebp, dword [esp + 0x4c]
add ebx, 0x18
lea eax, [esi + 0x18]
mov edi, dword [eax]
mov esi, dword [eax + 4]
add ebx, 0x20
add eax, 0x20
mov ecx, dword [eax - 0x18]
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x20], edi
mov dword [ebx - 0x1c], esi
mov dword [ebx - 0x18], ecx
mov dword [ebx - 0x14], edx
mov edi, dword [eax - 0x10]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebx - 0x10], edi
mov dword [ebx - 0xc], esi
mov dword [ebx - 8], ecx
mov dword [ebx - 4], edx
cmp dword [esp + 0x84], ebx
ja 0x40c014
jmp 0x40bc37
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 8], edi
sub eax, 8
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], ecx
cmp eax, 0x10
jle 0x40aa6e
lea edi, [ebx + 0x18]
lea eax, [ebp + 0x18]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add edi, 0x20
add eax, 0x20
mov ecx, dword [eax - 0x18]
mov edx, dword [eax - 0x14]
mov dword [edi - 0x20], ebp
mov dword [edi - 0x1c], ebx
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], edx
mov ebp, dword [eax - 0x10]
mov ebx, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [edi - 0x10], ebp
mov dword [edi - 0xc], ebx
mov dword [edi - 8], ecx
mov dword [edi - 4], edx
cmp edi, dword [esp + 0x54]
jb 0x40c085
jmp 0x40aa6e
mov edi, dword [esp + 0x58]
jmp 0x40906d
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
jne 0x409068
jmp 0x40aeaf
mov dword [esp + 0xb8], edx
jmp 0x40938e