Function at 0x4094b0
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 0x40956d
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 0x409568
mov eax, dword [esp + 0x160]
movzx edx, byte [eax]
mov ebx, edx
and ebx, 3
cmp bl, 2
je 0x40958f
cmp bl, 3
je 0x409580
cmp bl, 1
je 0x409760
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a9f0
cmp al, 3
je 0x40a978
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 0x40a5c0
cmp dword [esp + 0x164], esi
jae 0x40a680
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 0x40956d
cmp dword [esp + 0x164], 4
jbe 0x409568
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 0x40a620
cmp dl, 3
je 0x40a5e0
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 0x409568
mov eax, dword [ebp + 0x7394]
test eax, eax
je 0x409608
cmp dword [esp + 0x3c], 0x300
ja 0x40a6d9
add edi, dword [esp + 0x160]
lea eax, [ebp + 0x73e8]
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], eax
cmp bl, 3
je 0x40ab40
lea eax, [ebp + 0x2828]
lea ecx, [ebp + 0x6aac]
mov dword [esp + 0x40], eax
test edx, edx
jne 0x40a732
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x409568
test esi, esi
je 0x409568
cmp edi, esi
jbe 0x40b15c
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 0x40b114
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 0x409568
cmp eax, esi
jae 0x409568
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 0x409568
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 0x40972f
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 0x409750
jmp 0x4097bb
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a948
cmp al, 3
je 0x40a9a0
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 0x40956d
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 0x409d18
cmp dword [esp + 0x50], 1
jne 0x40956d
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 0x409f30
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb8], edx
mov dword [ebp + 0x7394], 0
test eax, eax
je 0x40a640
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 0x409568
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 0x40b184
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 0x409568
bsr eax, eax
mov edx, 8
sub edx, eax
mov dword [esp + 0x100], edx
cmp ebx, 0xffffff88
ja 0x409568
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 0x409568
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 0x409c0d
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 0x40afd0
add ebx, eax
neg eax
mov ecx, eax
shr esi, cl
add esi, dword [esp + 0x8c]
cmp ebx, 0x20
ja 0x409a89
cmp dword [esp + 0x54], edi
jbe 0x40b1f5
mov ecx, dword [esp + 0x40]
cmp ecx, edi
je 0x409a89
mov eax, ebx
mov edx, edi
shr eax, 3
sub edx, eax
cmp ecx, edx
jbe 0x40b633
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 0x40aa90
movzx edx, byte [esp + 0x60]
add eax, edx
cmp eax, 0x13
jg 0x40aa50
cmp byte [esp + 0x60], 0
jne 0x40aa30
cmp ebx, 0x20
ja 0x40ad61
cmp dword [esp + 0x54], edi
jbe 0x40acc0
mov ecx, dword [esp + 0x40]
mov esi, ecx
cmp ecx, edi
je 0x409b11
mov eax, ebx
mov esi, edi
shr eax, 3
sub esi, eax
cmp ecx, esi
jbe 0x409b05
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 0x409baf
cmp esi, dword [esp + 0x54]
jae 0x40ace0
mov edi, dword [esp + 0x40]
cmp edi, esi
je 0x409baf
mov eax, ebx
mov edx, esi
shr eax, 3
sub edx, eax
cmp edi, edx
jbe 0x40b072
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 0x40ad70
mov ecx, ebx
cmp dword [esp + 0x54], esi
jbe 0x40ab20
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x40b079
mov edx, ebx
mov edi, esi
shr edx, 3
sub edi, edx
cmp eax, edi
jbe 0x409c36
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 0x40b710
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 0x409a20
je 0x40c140
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x409aad
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], eax
mov dword [esp + 0x5c], eax
jmp 0x409aad
mov eax, dword [esp + 0x160]
add eax, dword [esp + 0x164]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x7f
jle 0x409d63
cmp eax, 0xff
je 0x40a772
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x58], esi
jbe 0x40956d
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 0x40956d
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.004091e0
cmp eax, 0xffffff88
ja 0x409568
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.004091e0
cmp eax, 0xffffff88
ja 0x409568
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.004091e0
cmp eax, 0xffffff88
ja 0x409568
add eax, esi
mov edi, eax
mov dword [esp + 0x40], eax
sub edi, ebx
cmp edi, 0xffffff88
ja 0x40956d
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
sub ebx, edi
test eax, eax
jne 0x409812
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x409812
mov edi, 0xffffffba
jmp 0x40956d
mov eax, 0x1000000
cmp eax, dword [ebp + 0x72c8]
sbb esi, dword [ebp + 0x72cc]
jae 0x40a560
cmp dword [esp + 0x3c], 4
jle 0x40a560
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 0x40c378
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 0x409f80
mov dword [ebp + 0x7394], 0
mov ecx, 8
sub ecx, dword [esp + 0x38]
shl esi, cl
cmp esi, 0x13
ja 0x40c5e1
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 0x409568
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 0x40a6f4
mov dword [esp + 0x104], esi
movzx edx, byte [esi]
mov dword [esp + 0xfc], edx
cmp ebx, 2
je 0x40a03c
cmp ebx, 3
jne 0x40a050
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 0x409568
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 0x40a798
mov edi, dword [esp + 0xfc]
mov ecx, esi
movzx ebx, dl
mov dword [esp + 0x78], edi
shl edi, cl
cmp dl, 0x18
jbe 0x40a7d0
cmp byte [esp + 0x6c], 0
je 0x40a7d0
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 0x40a218
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x40b68d
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x88], ecx
cmp eax, ecx
je 0x40a218
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 0x40a1f4
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 0x40b57c
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 0x40a8b0
movzx edx, byte [esp + 0x54]
add eax, edx
cmp eax, 0x13
jg 0x40a848
cmp byte [esp + 0x54], 0
jne 0x40a920
cmp esi, 0x20
ja 0x40a8e0
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x104]
cmp ecx, eax
jbe 0x40aad0
mov ecx, dword [esp + 0x108]
cmp ecx, eax
je 0x40a8e0
mov edx, esi
mov ebx, eax
shr edx, 3
sub ebx, edx
cmp ecx, ebx
jbe 0x40a2b4
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 0x40a36c
mov edx, dword [esp + 0x104]
cmp edx, dword [esp + 0x10c]
jae 0x40aab0
mov ecx, dword [esp + 0x108]
cmp edx, ecx
je 0x40a36c
mov eax, esi
mov ebx, edx
shr eax, 3
sub ebx, eax
cmp ecx, ebx
jbe 0x40a357
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 0x40ad00
cmp edi, dword [esp + 0x74]
ja 0x40ad00
mov esi, dword [esp + 0x48]
add edx, 0x20
sub esi, ebp
cmp esi, edx
jb 0x40ad00
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 0x40b20b
mov eax, dword [esp + 0x58]
mov dword [esp + 0xbc], eax
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
jbe 0x40a471
mov eax, ebx
sub eax, dword [esp + 0x70]
cmp dword [esp + 0x38], eax
ja 0x40c06c
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 0x40b085
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 0x40b4fd
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 0x40a4d9
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 0x40a4a0
mov esi, dword [esp + 0x100]
cmp esi, 0x20
ja 0x40a533
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x40aaf0
mov ecx, dword [esp + 0x108]
cmp eax, ecx
je 0x40a533
mov edx, esi
mov ebx, eax
shr edx, 3
sub ebx, edx
cmp ecx, ebx
jbe 0x40a517
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 0x40b17b
sub dword [esp + 0x3c], 1
je 0x40b5a1
mov eax, dword [esp + 0x128]
mov ebp, edi
mov dword [esp + 0x38], eax
jmp 0x40a0e0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xbc], edx
mov dword [ebp + 0x7394], 0
test ecx, ecx
jne 0x409fb2
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 0x40956d
test ecx, ecx
je 0x40a5b4
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 0x40956d
add eax, dword [esp + 0x160]
mov dword [ebp + 0x7378], ebx
mov dword [ebp + 0x7368], eax
jmp 0x4097bb
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 0x409568
shr esi, 0x16
shl eax, 0xa
xor edx, edx
mov edi, 5
add esi, eax
jmp 0x4095dc
and eax, 0x3fff
shr esi, 0x12
xor edx, edx
mov edi, 4
mov dword [esp + 0x3c], eax
jmp 0x4095dc
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 0x40956d
test esi, esi
je 0x40a673
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 0x40956d
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 0x40a6ca
jmp 0x4097bb
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x4040]
lea esi, [esi]
add eax, 0x40
cmp ecx, eax
jne 0x40a6e8
jmp 0x409608
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 0x409568
bsr eax, eax
mov edx, 8
sub edx, eax
mov dword [esp + 0x100], edx
cmp ebx, 0xffffff88
jbe 0x40a079
jmp 0x409568
mov dword [esp], ecx
mov edx, edi
mov ecx, esi
call fcn.004075d0
cmp eax, 0xffffff88
ja 0x409568
cmp eax, esi
jae 0x409568
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 0x4096f8
lea eax, [ebx + 3]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x58], eax
jb 0x40956d
movzx eax, word [ebx + 1]
add eax, 0x7f00
mov dword [esp + 0x3c], eax
jmp 0x409d63
je 0x40c009
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x40a24b
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 0x40a24b
mov ecx, ebx
add esi, ebx
neg ecx
mov dword [esp + 0x100], esi
shr edi, cl
add edi, eax
cmp esi, 0x20
ja 0x40a227
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x40b0ee
mov ecx, dword [esp + 0x108]
cmp eax, ecx
je 0x40a227
mov edx, esi
mov ebx, eax
shr edx, 3
sub ebx, edx
cmp ecx, ebx
jbe 0x40a820
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 0x40a227
cmp esi, 0x20
ja 0x40b2ab
mov ebx, dword [esp + 0x104]
mov ecx, dword [esp + 0x10c]
cmp ebx, ecx
jae 0x40a8ec
mov eax, dword [esp + 0x108]
cmp ebx, eax
je 0x40a90f
mov ecx, esi
mov edi, ebx
shr ecx, 3
sub edi, ecx
cmp eax, edi
jbe 0x40a889
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 0x40a268
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 0x40a258
mov eax, dword [esp + 0xfc]
jmp 0x40a2c9
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 0x40a28a
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 0x40a273
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 0x40978b
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 0x409541
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 0x409568
cmp dword [esp + 0x164], 3
je 0x409568
mov dword [esp + 0x4c], 4
mov eax, 3
jmp 0x40978b
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 0x409541
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 0x409ade
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 0x409ad5
cmp ebx, 0x20
ja 0x40ad56
cmp dword [esp + 0x54], edi
jbe 0x40aa12
mov esi, dword [esp + 0x40]
cmp esi, edi
je 0x40aa23
mov ecx, ebx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp esi, eax
jbe 0x40b6b7
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 0x409aca
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 0x409aba
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 0x40a36c
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 0x40a2c9
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 0x40a533
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 0x409c49
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
movzx eax, bh
test edx, edx
je 0x40b09e
test al, al
je 0x40b616
test esi, esi
je 0x409568
mov eax, edi
lea edi, [edi + 4]
mov dword [esp + 0x64], edi
movzx edi, byte [eax + esi - 1]
cmp esi, 3
jbe 0x40c1f4
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 0x409568
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 0x40ac8b
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x40], ecx
je 0x40b65d
mov esi, dword [esp + 0x40]
mov ecx, ebx
shr ecx, 3
sub esi, ecx
cmp esi, dword [esp + 0x50]
jb 0x40b3d2
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 0x40b3ed
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 0x40b2c4
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x40], ecx
jb 0x40abf0
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 0x40ac2a
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 0x409b11
mov eax, ebx
and ebx, 7
shr eax, 3
sub esi, eax
mov ebp, dword [esi]
mov byte [esp + 0x68], 1
jmp 0x409baf
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.00409390
mov dword [esp + 0x54], eax
lea edi, [ebp + eax]
jmp 0x40a4d9
cmp byte [esp + 0x60], 0
jne 0x40aa30
mov esi, edi
jmp 0x409b11
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 0x40ada0
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 0x409568
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x3c], edi
jg 0x409568
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x3c], eax
jle 0x40af94
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 0x40b6be
mov edi, dword [esp + 0x6c]
cmp dword [esp + 0x54], edi
ja 0x40b6be
mov edi, dword [esp + 0x48]
add edx, 0x20
sub edi, esi
cmp edi, edx
jb 0x40b6be
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 0x40c2d7
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb8], eax
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x40], eax
jbe 0x40aef1
mov eax, ebx
sub eax, dword [esp + 0x70]
cmp dword [esp + 0x40], eax
ja 0x409568
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 0x40c19c
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 0x40c387
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 0x40af6e
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 0x40af30
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
cmp eax, 0xffffff88
ja 0x40c5c5
add dword [esp + 0x38], 1
add esi, eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x3c], eax
jne 0x40adf0
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 0x40a644
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 0x40b044
cmp dword [esp + 0x54], edi
jbe 0x40bfd3
cmp dword [esp + 0x40], edi
je 0x40b044
mov edx, ebx
mov ebp, dword [esp + 0x40]
shr edx, 3
mov ecx, edx
mov edx, edi
sub edx, ecx
cmp ebp, edx
jbe 0x40c1ed
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 0x409a89
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 0x409a89
mov esi, edx
jmp 0x409ba3
movzx edx, byte [esp + 0x4c]
mov edi, eax
jmp 0x409c49
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 0x40a4d9
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 0x40b60c
call fcn.00403010
cmp eax, 0xffffff88
ja 0x409568
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 0x40972f
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 0x40a227
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 0x409568
cmp eax, esi
jae 0x409568
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 0x4096f8
mov dword [esp + 0x5c], pe_nt_image_headers32
mov eax, 0x91
mov edi, 0x763
mov dword [esp + 0x54], 0x2d2
jmp 0x409689
mov edi, dword [esp + 0x54]
jmp 0x40956d
mov esi, dword [esp + 0x40]
mov dword [esp + 0x104], esi
movzx edx, byte [esi]
mov dword [esp + 0xfc], edx
cmp ebx, 2
je 0x40b1b3
cmp ebx, 3
jne 0x40b1c7
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 0x409568
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 0x40994f
mov eax, ebx
and ebx, 7
shr eax, 3
sub edi, eax
mov ebp, dword [edi]
mov byte [esp + 0x68], 1
jmp 0x409a89
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 0x40a411
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 0x40b260
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x40a411
mov ebx, dword [esp + 0xfc]
cmp byte [esp + 0x54], 0
mov eax, ebx
je 0x40a2c9
jmp 0x40a927
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 0x40b344
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 0x40b310
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x100], ebx
cmp edi, eax
jbe 0x40b393
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 0x40c4c7
cmp ebx, 0x1f
ja 0x40b393
movzx eax, byte [edx + 2]
add eax, ebx
cmp eax, 0x20
ja 0x40c5ce
mov dword [esp + 0x100], eax
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
jne 0x409568
cmp dword [esp + 0x100], 0x20
jne 0x409568
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 0x40972f
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 0x40c35c
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 0x40b4a2
mov esi, ecx
mov ecx, dword [esp + 0x50]
cmp esi, ecx
je 0x40b63a
mov ecx, ebx
shr ecx, 3
sub esi, ecx
cmp esi, dword [esp + 0x50]
jb 0x40b4cb
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 0x40b4e6
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 0x40b4e6
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x64], ecx
ja 0x40b440
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 0x40b471
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 0x40b2dd
mov esi, dword [esp + 0x38]
cmp esi, 7
ja 0x40c1b1
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 0x40a4d9
mov eax, ebx
sub eax, ecx
cmp eax, 0xf
jg 0x40c438
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 0x40b560
mov edi, edx
jmp 0x40a4d9
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 0x40a227
mov ebp, dword [esp + 0x84]
mov ecx, edi
cmp esi, 0x20
ja 0x40b5d9
mov eax, dword [esp + 0x104]
cmp eax, dword [esp + 0x10c]
jae 0x409568
cmp eax, dword [esp + 0x108]
jne 0x409568
cmp esi, 0x20
jne 0x409568
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 0x40a581
call fcn.00404790
jmp 0x40b0be
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 0x40b0be
mov edi, edx
jmp 0x409a7d
mov dword [esp + 0x68], ebx
test dl, dl
je 0x40c35c
mov esi, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
jmp 0x40b2dd
test dl, dl
je 0x40c424
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 0x40b40b
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 0x40a218
mov edi, eax
jmp 0x40aa7e
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.00409390
mov dword [esp + 0x58], eax
jmp 0x40af6e
mov dword [esp + 0x38], ebp
movzx eax, byte [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0xa8]
test dl, dl
je 0x40b72f
mov dword [esp + 0x100], ecx
test al, al
je 0x40b73e
mov eax, dword [esp + 0x74]
mov dword [esp + 0x13c], eax
cmp byte [esp + 0x68], 0
je 0x40b757
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 0x40adb5
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 0x40be4d
mov esi, dword [esp + 0x108]
mov edx, eax
cmp eax, esi
je 0x40b7d4
mov ecx, ebx
shr ecx, 3
sub edx, ecx
cmp esi, edx
jbe 0x40b7b8
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 0x40c2c7
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 0x40bcb0
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 0x40bce8
cmp byte [esp + 0x6c], 0
je 0x40bce8
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 0x40b92b
cmp dword [esp + 0x40], edx
jbe 0x40c1c0
mov ecx, dword [esp + 0x108]
cmp ecx, edx
je 0x40b92b
mov ebp, eax
mov esi, edx
shr ebp, 3
sub esi, ebp
cmp ecx, esi
jbe 0x40b906
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 0x40c08c
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 0x40bdc8
movzx ebx, byte [esp + 0x60]
add esi, ebx
cmp esi, 0x13
jg 0x40bd68
cmp byte [esp + 0x60], 0
jne 0x40be2a
mov edx, dword [esp + 0x104]
cmp eax, 0x20
ja 0x40bdf0
cmp dword [esp + 0x40], edx
jbe 0x40be94
mov ebx, dword [esp + 0x108]
cmp ebx, edx
je 0x40bdf0
mov ecx, eax
mov esi, edx
shr ecx, 3
sub esi, ecx
cmp ebx, esi
jbe 0x40b9c2
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 0x40ba84
mov edx, dword [esp + 0x104]
cmp edx, dword [esp + 0x40]
jae 0x40be75
mov ebx, dword [esp + 0x108]
cmp edx, ebx
je 0x40ba84
mov ecx, eax
mov esi, edx
shr ecx, 3
sub esi, ecx
cmp ebx, esi
jbe 0x40ba6f
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 0x40beb3
mov edx, dword [esp + 0x50]
cmp ebp, edx
ja 0x40beb3
mov edx, dword [esp + 0x68]
sub edi, dword [esp + 0x4c]
add edx, 0x20
cmp edi, edx
jb 0x40beb3
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 0x40bf3e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x60], eax
jbe 0x40bbd1
mov eax, ebx
sub eax, dword [esp + 0x70]
cmp dword [esp + 0x60], eax
ja 0x409568
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 0x40bf03
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 0x40c0bb
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 0x40bc4a
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 0x40bc10
mov esi, dword [esp + 0x68]
cmp esi, 0xffffff88
ja 0x40c4d9
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 0x40b780
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x8c]
jmp 0x40adb5
je 0x40c264
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x40b95e
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 0x40b95e
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 0x40b93a
cmp dword [esp + 0x40], edx
jbe 0x40bf18
mov ecx, dword [esp + 0x108]
cmp ecx, edx
je 0x40b93a
mov esi, eax
mov ebp, edx
shr esi, 3
sub ebp, esi
mov dword [esp + 0x7c], esi
mov esi, ebp
cmp ecx, ebp
jbe 0x40bd3f
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 0x40b93a
cmp eax, 0x20
ja 0x40bff0
mov ecx, dword [esp + 0x104]
cmp ecx, dword [esp + 0x40]
jae 0x40bdfc
mov edx, dword [esp + 0x108]
cmp ecx, edx
je 0x40be1f
mov esi, eax
mov ebp, ecx
shr esi, 3
sub ebp, esi
cmp edx, ebp
jbe 0x40bda0
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 0x40b97b
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 0x40b96b
mov esi, dword [esp + 0xfc]
jmp 0x40b9d7
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 0x40b996
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 0x40b986
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 0x40b7d4
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 0x40ba84
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 0x40b9d7
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.00409390
mov dword [esp + 0x68], eax
jmp 0x40bc4a
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memmove
jmp 0x40bc4a
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 0x40b93a
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 0x40bb72
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 0x40bf90
mov esi, dword [esp + 0x40]
jmp 0x40bb72
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 0x40b044
mov edx, dword [esp + 0xfc]
cmp byte [esp + 0x60], 0
mov esi, edx
je 0x40b9d7
jmp 0x40be31
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 0x40c400
mov edx, dword [esp + eax*4 + 0x128]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40c051
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 0x40a24b
mov esi, dword [esp + 0x100]
cmp esi, 0x20
ja 0x409568
mov dword [esp + 0x54], 0xffffffec
lea edi, [ebp - 0x14]
jmp 0x40a4e5
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 0x40b93a
mov edi, dword [esp + 0x60]
cmp edi, 7
ja 0x40c369
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 0x40bc4a
mov eax, ebx
sub eax, esi
cmp eax, 0xf
jg 0x40c4e2
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 0x40c122
mov dword [esp + 0x4c], ebp
jmp 0x40bc4a
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 0x40c413
mov edx, dword [esp + eax*4 + 0x128]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40c181
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 0x409aad
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memmove
jmp 0x40af6e
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x40b53b
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 0x40b92b
mov edi, edx
jmp 0x40b031
movzx edx, byte [eax]
mov dword [esp + 0xfc], edx
cmp esi, 2
je 0x40c211
cmp esi, 3
jne 0x40c225
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 0x409568
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 0x40abae
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 0x40c4b4
mov ecx, dword [esp + edx*4 + 0x128]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40c2ac
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 0x40b95e
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x8c]
jmp 0x40adc3
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 0x40ae92
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 0x40c315
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x68]
jmp 0x40ae92
mov esi, dword [esp + 0x70]
mov dword [esp + 0x40], esi
jmp 0x40b2dd
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x40c0f9
mov dword [ebp + 0x7394], 0
jmp 0x409fab
mov edi, dword [esp + 0x40]
cmp edi, 7
ja 0x40c4a4
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 0x40af6e
mov eax, ebx
sub eax, ebp
cmp eax, 0xf
jg 0x40c557
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 0x40c3e4
jmp 0x40af6e
mov edx, dword [esp + 0x38]
xor eax, eax
sub edx, 1
sete al
add edx, eax
jmp 0x40c043
mov edx, esi
xor eax, eax
sub edx, 1
sete al
add edx, eax
jmp 0x40c173
lea esi, [edi - 2]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x54], esi
jmp 0x40b41d
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 0x40a4d9
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 0x40c466
jmp 0x40a4d9
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x40c3c6
mov edx, dword [esp + 0x58]
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40c29e
movzx eax, byte [edx + 2]
add eax, ebx
mov dword [esp + 0x100], eax
jmp 0x40b393
mov edi, dword [esp + 0x68]
jmp 0x40956d
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 0x40bc4a
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 0x40c514
jmp 0x40c137
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 0x40af6e
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 0x40c585
jmp 0x40af6e
mov edi, dword [esp + 0x58]
jmp 0x40956d
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
jne 0x409568
jmp 0x40b3af
mov dword [esp + 0xb8], edx
jmp 0x40988e