Function at 0x401000
Capabilities:
Authenticate hmac
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], 0
mov edx, esi
jmp 0x40103f
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov edx, esi
mov byte [esi], al
inc esi
mov eax, edi
inc eax
mov dword [esp + 0x1c], edx
test al, 3
mov dword [esp + 0x28], esi
mov edi, eax
je 0x401060
movzx eax, byte [eax]
jmp 0x40107e
mov eax, dword [eax]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010c4
cmp al, 0x25
je 0x401134
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
test al, al
je 0x403625
cmp dword [ebp + 8], 0
je 0x401039
mov ecx, esi
sub ecx, edx
cmp ecx, 0x1ff
jl 0x401039
add dword [esp + 0x18], ecx
push ecx
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x403655
mov ecx, dword [esp + 0x1c]
sub ecx, esi
add ecx, 0x200
jmp 0x401112
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x28], edx
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40107e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401086
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x28]
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x40107e
add edi, 2
xor ebx, ebx
mov ecx, edi
mov edi, dword [esp + 0x18]
jmp 0x401153
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401164.33
mov edx, 2
jmp dword [esi*4 + 0x445564]
mov edx, 4
jmp case.0x401164.43
mov edx, 0x400
jmp case.0x401164.43
mov edx, 0x100
mov eax, ebx
test ebx, 0x100
je case.0x401164.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401164.43
mov edx, 8
jmp case.0x401164.43
mov edx, 0x40
jmp case.0x401164.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011af
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x28]
jne 0x4011cf
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401213
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x44], 0
cmp dl, 9
ja 0x401213
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011f0
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x18]
cmp al, 0x2e
mov dword [esp + 0x18], edi
jne 0x401241
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x4012b7
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 8], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401249
mov dword [esp + 8], 0xffffffff
mov edx, ebx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x401256.74
jmp dword [eax*4 + 0x445664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 4], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x401278.67
jmp dword [eax*4 + 0x44572c]
test dl, 0x20
jne 0x401703
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
xor ecx, ecx
cmp byte [esp + 4], 0x75
je 0x401733
test esi, esi
jns 0x401733
neg esi
or edx, 0x80
jmp 0x401733
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 8], 0
cmp dl, 9
ja 0x401249
xor edi, edi
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012d0
mov dword [esp + 8], edi
mov edx, ebx
mov edi, dword [esp + 0x18]
jmp 0x40124b
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401967
or edx, 0x20
add ecx, 2
jmp case.0x401256.74
lea eax, [ecx + 1]
movzx edi, byte [ecx + 1]
cmp edi, 0x33
je 0x401d7d
mov dword [esp + 4], edi
cmp edi, 0x36
jne 0x401d93
cmp byte [ecx + 2], 0x34
jne 0x401d83
or edx, 0x20
jmp 0x401d87
cmp byte [ecx + 1], 0x68
je 0x40196d
inc ecx
or edx, 0x200
jmp case.0x401256.74
mov ebx, str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x45
je 0x401367
mov ebx, str.0123456789abcdefxp
mov esi, edx
mov eax, dword [esp + 0x24]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x40137f
mov eax, ecx
mov dword [esp], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.00403670
add esp, 0x18
mov edx, esi
test eax, eax
je 0x4013bd
or edx, 0x80
add dword [esp + 0x24], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x4013e0
mov al, 0x20
test dl, 4
jne 0x4013e0
mov al, 0x2b
test dl, 2
je 0x4013e9
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
cmp edi, 0x7000
jne 0x4015c8
mov dword [esp + 4], 0
mov dword [esp + 0x14], esi
jmp 0x4028e6
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x41
je 0x40141f
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov edi, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x401433
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401444
or edx, 0x80
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x40157a
mov al, 0x20
test dl, 4
jne 0x40157a
mov al, 0x2b
test dl, 2
jne 0x40157a
mov dword [esp + 0x14], 0
jmp 0x401584
mov dword [esp], str.0123456789ABCDEFXP
mov eax, dword [esp + 4]
cmp al, 0x42
je 0x40148d
mov dword [esp], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
test dl, 8
je 0x4014ac
cmp al, 0x42
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x3e], al
mov dword [esp + 0x20], 0x180
mov ecx, 1
jmp 0x4019f6
mov ebx, str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x47
je 0x4014cf
mov ebx, str.0123456789abcdefxp
mov edi, edx
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, dword [esp + 8]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x4014ef
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.00403670
add esp, 0x18
test eax, eax
je 0x40152b
or edi, 0x80
mov eax, dword [esp + 0x20]
cmp eax, esi
jb 0x401535
mov eax, esi
mov dword [esp + 0xc], edi
mov ecx, eax
mov dword [esp], eax
cmp eax, 2
jb 0x40197b
mov edx, dword [esp + 0x10]
mov ecx, esi
nop
nop
nop
mov edi, dword [esp]
cmp byte [edx + edi - 1], 0x30
jne 0x40201a
lea eax, [ecx - 1]
dec edi
mov dword [esp], edi
cmp edi, 2
jb 0x40201c
cmp ecx, 1
mov ecx, eax
jne 0x401550
jmp 0x40201c
mov byte [esp + 0x3d], al
mov al, 1
mov dword [esp + 0x14], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
je 0x401dd1
add ecx, 0xfffffc01
mov dword [esp + 0x4c], ecx
mov eax, 0xffffffff
add ebx, eax
mov eax, 0xfffff
adc esi, eax
add ebx, 1
mov edi, ebx
adc esi, 0
jmp 0x401deb
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edx
movzx ecx, byte [esi]
mov byte [esp + 0x9c], cl
lea eax, [esp + 0x9d]
mov dword [esp + 8], eax
cmp dword [esp], 0
mov ebx, esi
je 0x401609
movzx ecx, byte [section..data]
xor cl, 0xbb
mov byte [esp + 0x9d], cl
lea eax, [esp + 0x9e]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, dword [esp]
jbe 0x40161d
mov eax, dword [esp]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 4], eax
cmp eax, 2
jb 0x4016e2
mov eax, dword [esp]
mov ecx, eax
cmp eax, edx
jb 0x401635
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x4016b9
mov dword [esp + 0x2c], edi
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [edi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [edi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [edi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [edi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [edi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [edi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [edi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [edi + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x401660
add edi, edx
mov dword [esp + 8], edi
inc edx
mov edi, dword [esp + 0x2c]
and ecx, 7
je 0x4016e2
add ebx, edx
xor edx, edx
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx]
mov byte [esi + edx], al
inc edx
cmp ecx, edx
jne 0x4016d0
add esi, edx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
test edi, edi
jle 0x401f42
dec edi
mov byte [esp + 0x32], 0x2b
mov esi, edi
jmp 0x401f4e
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
cmp byte [esp + 4], 0x75
je 0x40172f
test ecx, ecx
jns 0x40172f
neg esi
mov ebx, esi
mov esi, ecx
mov ecx, 0
sbb ecx, esi
mov esi, ebx
or edx, 0x80
mov dword [esp + 0x24], eax
mov dword [esp], ecx
test edx, 0x100
jne 0x4018a7
mov dword [esp + 4], esi
movzx ecx, byte [0x448001]
mov eax, ecx
xor al, 0xd6
mov byte [esp + 0x2c], al
mov eax, ecx
or al, 0x29
not cl
or cl, 0xd6
and cl, al
not cl
mov byte [esp + 0x14], cl
mov esi, 0x200
xor edi, edi
mov dword [esp + 0xc], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 4]
cmp ebx, 0x5f5e100
mov ecx, dword [esp]
mov eax, ecx
sbb eax, 0
jb 0x4017c0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040cc60
mov dword [esp], edx
mov edx, dword [esp + 0xc]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 4], eax
jmp 0x4017cf
mov dword [esp], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x54]
lea ecx, [eax + esi]
test dl, 0x40
jne 0x401883
mov dword [esp + 0x4c], ecx
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x5a], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x4017f0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 4]
or eax, dword [esp]
jne 0x401837
jmp 0x4018e5
inc edi
mov byte [esp + esi + 0x5b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, ecx
je 0x401780
test dl, 0x40
je 0x401831
cmp edi, 3
jne 0x401830
movzx eax, byte [esp + 0x14]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edi, edi
jmp 0x401837
inc edi
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x5b], bl
dec esi
mov ebx, edx
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x401822
test dl, 0x40
je 0x401861
cmp edi, 3
jne 0x401860
movzx eax, byte [esp + 0x2c]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edi, edi
test ebx, ebx
jne 0x401887
jmp 0x401822
mov eax, 1
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x4018b7
mov eax, ecx
mov dword [esp + 8], 0
cmp esi, 0x400
mov ecx, dword [esp]
sbb ecx, 0
jb 0x4018d1
mov dword [esp + 8], eax
mov dword [esp + 0x50], esi
mov eax, dword [esp]
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
jmp 0x401d12
cmp byte [esp + esi + 0x5c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
js 0x40191a
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x40191a
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x401923
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x5c
lea edx, [esi - 0x200]
neg edx
mov dword [esp + 0x20], edx
cmp esi, 0x200
jne 0x401f0e
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
mov eax, 1
mov edx, dword [esp + 0xc]
jmp 0x401f1a
inc ecx
jmp 0x401261
add ecx, 2
or edx, 0x200
jmp case.0x401256.74
mov eax, esi
jmp 0x40201c
and edx, 0xffffffef
mov dword [esp + 8], 8
mov dword [esp], str.0123456789ABCDEFXP
mov eax, dword [esp + 4]
cmp al, 0x58
je 0x4019a3
mov dword [esp], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x3c], 0
mov ecx, 4
test dl, 8
je 0x4019f6
cmp al, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
jmp 0x4019f6
mov byte [esp + 0x3c], 0
test dl, 8
je 0x4019e2
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp], str.0123456789ABCDEFXP
mov ecx, 3
mov dword [esp + 0xc], edx
test dl, 0x20
jne 0x401a10
mov edx, dword [esp + 0x24]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x24], edx
xor esi, esi
jmp 0x401a20
mov edx, dword [esp + 0x24]
mov edi, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov edx, edi
or edx, esi
jne 0x401a43
mov byte [esp + 0x3c], 0
cmp dword [esp + 8], 0
je 0x401da4
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, edi
mov ebx, dword [esp + 0x20]
mov cl, bh
shrd edi, esi, cl
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x25b], cl
mov cl, bh
shr esi, cl
mov dword [esp + 4], ebx
test bh, 0x20
je 0x401a76
mov edi, esi
xor esi, esi
mov ecx, edi
or ecx, esi
mov edx, dword [esp + 8]
jne 0x401a9a
mov ecx, 1
cmp edx, 2
jge 0x401a9a
lea eax, [esp + 0x25b]
mov dword [esp + 0x14], eax
jmp 0x401b5b
lea ecx, [esp + 0x25b]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x25c]
nop
nop
nop
nop
test byte [esp + 0xc], 0x40
jne 0x401ac0
mov edx, dword [esp + 0x14]
jmp 0x401b00
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 0x20], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
mov ecx, dword [esp + 0x14]
je 0x401ae1
mov dword [esp + 4], ebx
mov edx, ecx
jmp 0x401b00
and ebx, 0xfffffff0
mov dword [esp + 0x20], ebx
movzx ecx, byte [0x448001]
xor cl, 0xd6
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov ebx, 0xffffffff
mov eax, dword [esp + 4]
mov cl, ah
shl ebx, cl
not ebx
and ebx, edi
mov eax, dword [esp + 0x20]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp]
movzx ecx, byte [ecx + ebx]
mov byte [edx - 1], cl
mov cl, ah
shr esi, cl
mov dword [esp + 4], eax
test ah, 0x20
je 0x401b35
mov edi, esi
xor esi, esi
lea ecx, [edx - 1]
mov dword [esp + 0x14], ecx
mov ecx, edi
or ecx, esi
jne 0x401ab0
lea ecx, [esp + 0x25c]
sub ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 8]
jl 0x401ab0
mov eax, dword [esp + 4]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], ecx
mov dword [esp], 0
mov edx, dword [esp + 0xc]
jmp 0x401f39
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x14], str.null
test eax, eax
je 0x401b97
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov esi, eax
test eax, eax
jns 0x401ba6
mov esi, 0xffffffff
mov eax, dword [esp + 0x14]
test al, 3
je 0x402851
lea ebx, [esi + eax]
cmp dword [esp + 8], 0
je 0x4028bf
cmp byte [eax], 0
je 0x402835
lea ecx, [eax + 1]
mov dword [esp], esi
lea eax, [esi - 1]
mov esi, ecx
test cl, 3
je 0x40284b
test eax, eax
je 0x4028bf
cmp byte [esi], 0
je 0x403606
mov eax, dword [esp + 0x14]
lea ecx, [eax + 2]
mov eax, dword [esp]
add eax, 0xfffffffe
mov esi, ecx
test cl, 3
je 0x40284b
test eax, eax
je 0x4028bf
cmp byte [esi], 0
je 0x403606
mov eax, dword [esp + 0x14]
lea ecx, [eax + 3]
mov eax, dword [esp]
add eax, 0xfffffffd
mov esi, ecx
test cl, 3
je 0x40284b
test eax, eax
je 0x4028bf
cmp byte [esi], 0
je 0x403606
mov eax, dword [esp + 0x14]
add eax, 4
mov esi, dword [esp]
add esi, 0xfffffffc
mov ecx, eax
test al, 3
je 0x40361e
test esi, esi
je 0x4028bf
mov ebx, ecx
jmp 0x4028bf
mov eax, dword [esp + 4]
mov byte [esp + 0x25b], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x25b]
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0x44], 0
jmp 0x4028ef
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x24], ecx
mov byte [esp + 0x25b], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x25b]
jmp 0x402377
mov eax, dword [esp + 0x24]
fld qword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test edx, 0x100
je 0x4020f8
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x445550]
cmp edx, 0x3ffffff
ja 0x401d4e
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40207e
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40207e
fstp st(0)
fstp st(0)
jmp 0x4020f8
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, edi
mov ebx, edi
mov edi, dword [esp + 0x1c]
sub ecx, edi
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x24], edx
mov edx, edi
mov edi, ebx
mov eax, dword [esp + 0x48]
jmp 0x403588
cmp byte [ecx + 2], 0x32
je 0x401d87
mov ecx, eax
jmp 0x401d8a
add ecx, 3
mov edi, dword [esp + 0x18]
jmp case.0x401256.74
mov dword [esp + 0x48], eax
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x18]
jmp 0x401265
mov dword [esp + 0x20], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x25c]
mov dword [esp + 0x14], eax
mov dword [esp], 0
xor esi, esi
mov edx, dword [esp + 0xc]
jmp 0x4028ef
mov ecx, ebx
or ecx, esi
mov eax, 0
je 0x401de1
mov eax, 0xfffffc02
mov edi, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 8]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401e10
mov ebx, edx
xor edx, edx
cmp dword [esp + 8], 0xf
jl 0x401e1b
xor ebx, ebx
xor edx, edx
shld esi, edi, 8
shl edi, 8
add edi, ebx
mov ebx, edi
adc esi, edx
mov edx, dword [esp + 0x14]
movzx ecx, dl
lea eax, [esp + 0x3c]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x3c], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0x9c], cl
mov edi, dword [esp + 8]
test edi, edi
je 0x401efa
movzx ecx, byte [section..data]
mov edx, ecx
or dl, 0x44
not cl
or cl, 0xbb
and cl, dl
not cl
mov byte [esp + 0x9d], cl
lea eax, [esp + 0x9e]
mov dword [esp + 0x10], eax
mov ecx, edi
cmp edi, 0xd
jb 0x401e94
mov ecx, 0xd
mov eax, edi
sub eax, ecx
jg 0x401e9c
xor eax, eax
mov dword [esp], eax
mov edx, ecx
and edx, 3
je 0x40214d
mov dword [esp + 0x14], ecx
mov edi, ebx
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + ebx + 0x9e], al
shl edi, 4
inc ebx
cmp edx, ebx
jne 0x401ec0
lea eax, [esp + 0x9e]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov ebx, edi
mov edi, dword [esp + 8]
jmp 0x402154
lea edx, [esp + 0x9d]
mov dword [esp + 0x10], edx
xor edi, edi
mov esi, edx
jmp 0x4021c0
mov ecx, edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
mov eax, ecx
mov dword [esp], 0
cmp dword [esp + 8], 0
jg 0x401f30
mov dword [esp + 8], 0
add eax, 0x3000000
mov dword [esp + 4], eax
mov esi, dword [esp + 8]
jmp 0x4028ef
mov byte [esp + 0x32], 0x2d
mov esi, 1
sub esi, edi
cmp esi, 0x64
mov edi, 4
sbb edi, 0xffffffff
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x14], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, edi
mov byte [esp + 0x30], dl
mov byte [esp + edi + 0x30], bl
add al, 0x30
mov byte [esp + edi + 0x2f], al
cmp esi, 0x64
jb 0x401ffa
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x30]
mov byte [edi + eax - 2], dl
mov edi, dword [esp]
sub edi, dword [esp + 4]
inc edi
mov dword [esp], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 4], 0x3000001
mov edx, dword [esp + 0xc]
jmp 0x402819
mov eax, ecx
add dword [esp + 0x24], 8
mov ecx, dword [esp]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 0xc]
jl 0x402056
cmp ecx, esi
jg 0x402056
test ecx, ecx
jle 0x40232a
sub dword [esp], ecx
jg 0x402338
mov dword [esp], 0
jmp 0x402338
mov ecx, dword [esp]
cmp eax, ecx
jle 0x402066
dec ecx
mov dword [esp], ecx
jmp 0x4013c2
mov dword [esp], 0
sub eax, 1
jb 0x4013c2
mov dword [esp], eax
jmp 0x4013c2
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x4020f2
fucom st(2)
fnstsw ax
sahf
jbe 0x4020a0
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020f2
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x4020f2
fucom st(2)
fnstsw ax
sahf
jbe 0x4020c2
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020f2
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x4020f2
fucom st(2)
fnstsw ax
sahf
jbe 0x40360f
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x40360f
fstp st(0)
fstp st(0)
mov edx, ecx
mov esi, edx
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x40210a
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
call fcn.00403670
add esp, 0x18
mov edx, esi
test eax, eax
je 0x402338
or edx, 0x80
jmp 0x402338
lea edx, [esp + 0x9e]
cmp edi, 4
jb 0x4021b6
mov edi, ebx
mov ebx, esi
nop
nop
nop
mov dword [esp + 0x14], ecx
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 2], al
shld ebx, edi, 0x10
shl edi, 0x10
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ecx + esi]
mov ecx, dword [esp + 0x14]
mov byte [edx + 3], al
add edx, 4
mov esi, ebx
add ecx, 0xfffffffc
jne 0x402160
lea esi, [esp + 0x9e]
mov edi, dword [esp]
mov eax, dword [esp + 4]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x4021e1
mov byte [esp + 0x32], 0x2b
jmp 0x4021e8
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp], edi
mov dword [esp + 0x14], edx
ja 0x40220d
cmp eax, 0x63
jbe 0x40230a
mov dword [esp + 4], esi
mov dword [esp + 8], 5
jmp 0x402219
mov dword [esp + 4], esi
mov dword [esp + 8], 6
mov dword [esp + 0x2c], 0
mov edi, eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
mov eax, edi
mov esi, 0x66666667
imul esi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul esi
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 8]
mov byte [esp + 0x30], bl
or al, 0x30
mov byte [esp + ebx + 0x30], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + ebx + 0x2f], cl
cmp byte [esp + 0x2c], 0
mov ecx, 0x51eb851f
mov esi, dword [esp + 4]
jne 0x4026ef
mov eax, edi
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov byte [ebx + eax - 2], cl
cmp edi, 0x3e8
jb 0x4026ef
mov eax, edi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov byte [ebx + eax - 3], cl
jmp 0x4026ef
cmp eax, 9
jbe 0x4026e4
mov dword [esp + 4], esi
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0x2c], ecx
jmp 0x402221
mov esi, dword [esp]
cmp eax, esi
jl 0x402333
mov eax, esi
sub eax, ecx
mov dword [esp], eax
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x402356
mov al, 0x20
test dl, 4
jne 0x402356
mov al, 0x2b
test dl, 2
je 0x40235f
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x402380
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x4028e6
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x402400
xor esi, esi
test dl, 0x40
je 0x4023aa
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 0xc]
sub esi, eax
cmp ecx, dword [esp + 0x20]
jae 0x402525
xor eax, eax
lea edi, [esp + 0x9c]
jmp 0x4023da
mov edx, edi
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
inc edi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x402589
mov ecx, dword [esp + 0xc]
test cl, 0x40
je 0x4023c0
inc esi
cmp esi, 4
jne 0x4023c0
mov esi, ecx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x448001]
xor cl, 0xd6
mov byte [edi], cl
inc edi
jmp 0x4023c0
mov byte [esp + 0x9c], 0x30
lea edi, [esp + 0x9d]
mov edx, dword [esp]
test edx, edx
je 0x40242d
movzx eax, byte [section..data]
xor al, 0xbb
mov byte [esp + 0x9d], al
lea edi, [esp + 0x9e]
neg ecx
mov ebx, edx
cmp edx, ecx
jl 0x402437
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x40246b
mov eax, edi
and eax, 3
je 0x40246b
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402454
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edi
call fcn.0040cd50
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov edx, dword [esp]
cmp ebx, 4
jl 0x4024a3
mov eax, ebx
cmp ebx, 7
jl 0x40247c
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edi
call fcn.0040cd50
add esp, 0xc
add edi, esi
add edi, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edx, dword [esp]
test ebx, ebx
je 0x4024b9
push ebx
push 0x30
push edi
call fcn.0040cd50
mov edx, dword [esp + 0xc]
add esp, 0xc
add edi, ebx
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
lea ecx, [eax + ebx]
cmp ecx, edx
jle 0x4024d1
mov eax, dword [esp]
sub eax, ebx
mov dword [esp + 0x20], eax
test eax, eax
je 0x402785
mov esi, dword [esp]
mov dword [esp + 4], esi
cmp esi, ecx
jl 0x4024e8
mov dword [esp + 4], ecx
mov ecx, eax
and ecx, 3
je 0x40272d
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x402500
add edi, esi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp + 0x14]
jmp 0x40272f
mov dword [esp + 0x14], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edi, [esp + 0x9c]
jmp 0x40255b
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edi], cl
mov ecx, edi
inc edi
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x20]
jae 0x40261e
test dl, 0x40
je 0x402540
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 4
jne 0x402540
mov ecx, edx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 0x14], ecx
movzx ecx, byte [0x448001]
xor cl, 0xd6
mov byte [edi], cl
inc edi
jmp 0x402540
mov esi, edi
mov dword [esp + 8], edi
cmp dword [esp], 0
je 0x4025b6
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x76
sub cl, ch
add cl, 0xbb
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp]
jbe 0x4025cc
mov edx, dword [esp]
add edx, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x4025fc
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x4025e0
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x9c]
sub edi, eax
add edi, 0x3000000
mov dword [esp + 4], edi
mov eax, dword [esp]
sub eax, edx
add eax, ecx
mov dword [esp], eax
jmp 0x402796
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
sub ecx, eax
jbe 0x4026ac
test dl, 0x40
jne 0x40283c
cmp dword [esp + 4], eax
je 0x403599
mov eax, edi
and eax, 3
je 0x403599
mov ecx, 2
sub ecx, dword [esp + 8]
and ecx, 3
mov eax, dword [esp + 4]
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jb 0x40266a
mov edx, eax
mov dword [esp + 0x4c], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
call fcn.0040cd50
add esp, 0xc
add esi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x40268b
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
lea edi, [eax + ecx]
add edi, 2
mov eax, dword [esp + 4]
sub eax, esi
sub eax, ebx
mov ebx, eax
mov edx, dword [esp + 0xc]
jmp 0x40359b
mov dword [esp + 8], edi
mov esi, dword [esp + 8]
mov ecx, esi
lea eax, [esp + 0x9c]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 4], ecx
cmp dword [esp], 0
je 0x402724
movzx eax, byte [section..data]
xor al, 0xbb
mov byte [esi], al
inc esi
mov dword [esp + 8], esi
jmp 0x40279a
mov byte [esp + 0x30], 3
or al, 0x30
mov byte [esp + 0x33], al
add dword [esp + 0x24], 8
mov ecx, dword [esp + 0x14]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x9c]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor esi, esi
mov dword [esp + 4], 0x3000001
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
jmp 0x4028ef
mov dword [esp], 0
jmp 0x40279a
mov ecx, eax
mov edx, ebx
sub edx, dword [esp + 4]
cmp edx, 0xfffffffc
ja 0x402785
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x40273a
mov dword [esp + 8], edi
add ebx, eax
sub dword [esp], ebx
mov dword [esp + 4], 0x3000001
mov edx, dword [esp + 0xc]
test edx, 0x100
je 0x402819
mov eax, edx
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp edx, 0x1000000
jb 0x402819
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov esi, edx
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4027ef
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
mov edx, esi
jmp 0x402815
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x30], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
mov edx, esi
jne 0x402815
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov byte [esp + 0x30], al
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 8]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor esi, esi
mov dword [esp + 0x14], eax
jmp 0x4028ef
mov ebx, eax
jmp 0x4028bf
mov dword [esp + 8], edi
mov eax, dword [esp + 0x14]
mov ebx, ecx
jmp 0x4035d7
mov ecx, eax
mov eax, esi
mov esi, ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
nop
nop
nop
nop
mov edi, eax
cmp esi, 4
jb 0x402893
mov edx, dword [edi]
lea eax, [edx - 0x1010101]
not edx
and edx, eax
mov ecx, edx
or ecx, 0x80808080
xor edx, 0x7f7f7f7f
lea eax, [edi + 4]
mov ebx, esi
add esi, 0xfffffffc
test ecx, edx
mov edx, dword [esp + 0xc]
je 0x402860
jmp 0x40289d
test esi, esi
mov ebx, esi
je 0x403592
mov esi, edi
mov eax, edx
mov ecx, dword [esp + 4]
add ecx, dword [esp]
xor edx, edx
cmp byte [esi + edx], 0
je 0x4028b9
inc edx
cmp ebx, edx
jne 0x4028aa
mov ebx, ecx
jmp 0x4028bd
mov ebx, esi
add ebx, edx
mov edx, eax
add dword [esp + 0x24], 4
sub ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 4], 0
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x20]
cmp esi, ecx
mov edx, esi
jg 0x4028ff
mov edx, ecx
movsx eax, byte [esp + 0x3c]
movsx esi, byte [esp + 0x30]
mov edi, edx
mov edx, dword [esp]
mov dword [esp + 8], edi
add edx, edi
add edx, eax
add edx, esi
mov esi, dword [esp + 0x44]
cmp esi, edx
jg 0x402922
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
jne 0x402948
test cl, 0x10
jne 0x402950
mov dword [esp + 0xc], 0
mov ecx, edx
mov edx, dword [esp + 8]
jmp 0x40295c
mov ecx, dword [esp + 8]
cmp edx, ecx
jg 0x40295a
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x44], ecx
add ecx, edx
jne 0x40296d
mov edx, dword [esp + 0xc]
jmp 0x402e52
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc]
test dl, 1
jne 0x402ad7
mov ecx, dword [esp + 0x44]
test ecx, ecx
jg 0x4029ac
jmp 0x402ad7
mov esi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
sub ecx, ebx
test ecx, ecx
jle 0x402ace
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x4029bf
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4029c7
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], edi
je 0x402a40
mov eax, esi
and eax, 3
je 0x402a40
mov eax, ebx
mov ecx, esi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x4029ee
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
mov eax, ebx
sub eax, esi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
mov esi, eax
cmp esi, 4
jge 0x402a49
test esi, esi
je 0x402a8f
push esi
push 0x20
mov edi, esi
mov esi, ecx
push ecx
call fcn.0040cd50
mov edx, dword [esp + 0x18]
add esp, 0xc
add esi, edi
mov edi, dword [esp + 0x18]
jmp 0x402a91
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x402a1a
mov eax, esi
cmp esi, 7
jl 0x402a55
mov eax, 7
neg eax
mov ebx, esi
add esi, eax
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
mov esi, ebx
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x402a1e
mov esi, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x44]
je 0x4029a2
mov eax, esi
mov ebx, dword [esp + 0x1c]
sub eax, ebx
cmp eax, 0x1ff
jl 0x40299e
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
call ebx
add esp, 0xc
test eax, eax
jne 0x402990
jmp 0x40364a
mov dword [esp + 0x44], ecx
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
jmp 0x402aff
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402c1d
movsx edx, al
mov ebx, dword [esp + 0x1c]
sub ebx, esi
add ebx, 0x200
cmp ebx, edx
jl 0x402b1c
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0x402b24
mov ebx, edx
sub al, bl
mov byte [esp + 0x3c], al
test ebx, ebx
je 0x402bcb
mov eax, ebx
and eax, 3
je 0x402c10
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, esi
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi]
mov esi, edi
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402b50
add esi, edx
mov eax, ebx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ebx, 4
jb 0x402bcb
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402b80
cmp dword [ebp + 8], 0
je 0x402af6
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402af6
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402af0
jmp 0x40364a
mov eax, ebx
cmp ebx, 4
jae 0x402b80
jmp 0x402bcb
mov dword [esp + 0x18], edi
mov edi, esi
mov eax, dword [esp + 4]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x28], ecx
xor esi, esi
test dl, 0x40
je 0x402c51
and eax, 0xffffff
add eax, dword [esp + 8]
mov esi, dword [esp + 0x28]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 0xc]
cmp dword [esp + 8], 0
jle 0x402f99
mov ebx, dword [esp + 8]
jmp 0x402c8e
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
sub ebx, dword [esp + 4]
test ebx, ebx
jle 0x402e47
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
cmp ebx, eax
jl 0x402d00
mov dword [esp + 4], eax
cmp dword [ebp + 8], 0
je 0x402d06
test dl, 0x40
jne 0x402d13
cmp dword [esp + 4], 0
je 0x402d20
mov eax, edi
and eax, 3
je 0x402d20
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 4]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402cd8
mov ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040cd50
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 0xc]
cmp ebx, 4
jge 0x402d29
jmp 0x402d64
cmp dword [ebp + 8], 0
jne 0x402cb1
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
test dl, 0x40
je 0x402cb6
mov ebx, dword [esp + 4]
jmp 0x402d64
mov ebx, dword [esp + 4]
cmp ebx, 4
jl 0x402d64
mov eax, ebx
cmp ebx, 7
jl 0x402d35
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x2c], eax
add eax, 4
push eax
push 0x30
push edi
call fcn.0040cd50
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x402db0
test bl, 1
jne 0x402d80
mov eax, ebx
cmp ebx, 1
jne 0x402e07
jmp 0x402db0
mov al, 0x30
test dl, 0x40
je 0x402d9b
cmp esi, dword [esp + 0x28]
jne 0x402d9a
movzx eax, byte [0x448001]
xor al, 0xd6
xor esi, esi
jmp 0x402d9b
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402e07
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402c7e
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c7e
mov edi, dword [esp + 0x18]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402c70
jmp 0x40364a
movzx ecx, byte [0x448001]
xor cl, 0xd6
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402db0
mov cl, 0x30
test dl, 0x40
je 0x402e31
cmp esi, dword [esp + 0x28]
jne 0x402e30
movzx edx, byte [0x448001]
xor dl, 0xd6
xor esi, esi
jmp 0x402e33
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, dword [esp + 0xc]
test dl, 0x40
je 0x402dfc
cmp esi, dword [esp + 0x28]
je 0x402df0
inc esi
jmp 0x402dfc
movzx eax, byte [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
test al, al
jne 0x402e7d
mov dword [esp + 0x18], edi
mov edi, esi
jmp 0x402fa1
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402f8d
movsx edx, al
mov ecx, dword [esp + 0x1c]
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x402e92
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402e9a
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402f3b
mov eax, ecx
and eax, 3
je 0x402f80
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402ec0
add esi, edx
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ecx, 4
jb 0x402f3b
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402ef0
cmp dword [ebp + 8], 0
je 0x402e70
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e70
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40364a
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402e70
mov eax, ecx
cmp ecx, 4
jae 0x402ef0
jmp 0x402f3b
mov dword [esp + 0x18], edi
mov edi, esi
mov edx, dword [esp + 0xc]
jmp 0x402fa1
lea eax, [esp + 0x3d]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x403006
mov ecx, dword [esp]
test ecx, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
jne 0x4031db
lea eax, [esp + 0x31]
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + 0x30]
test cl, cl
jne 0x403325
mov eax, dword [esp + 0x48]
test dl, 1
je 0x403584
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov edx, dword [esp + 0x1c]
jle 0x403588
jne 0x40344c
jmp 0x403588
sub ebx, dword [esp + 0x28]
je 0x402fa9
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x403019
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x403021
mov ecx, ebx
cmp ecx, 4
mov dword [esp + 0x28], ecx
jl 0x403080
lea esi, [ecx - 4]
mov eax, esi
shr eax, 2
inc eax
and eax, 7
je 0x403088
mov dword [esp + 4], esi
shl eax, 2
xor edx, edx
mov esi, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403050
add edi, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
add esi, edx
mov dword [esp + 0x14], esi
mov eax, ecx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x403088
mov eax, ecx
mov esi, dword [esp + 0x14]
jmp 0x4030e1
cmp esi, 0x1c
mov esi, dword [esp + 0x14]
jb 0x4030e1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add esi, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4030a0
test eax, eax
je 0x403171
mov ecx, eax
and ecx, 7
je 0x4031c0
mov dword [esp + 0x14], ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403100
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
cmp eax, 8
jb 0x403171
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
movzx eax, byte [esi + 3]
mov byte [edi + 3], al
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
add esi, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403130
mov dword [esp + 0x14], esi
cmp dword [ebp + 8], 0
je 0x403000
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403000
mov edi, dword [esp + 0x18]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40364a
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
jmp 0x403000
mov ecx, eax
cmp eax, 8
jae 0x403130
jmp 0x403171
mov ecx, dword [esp]
sub ecx, ebx
je 0x402fba
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ebx, ecx
mov dword [esp], ecx
cmp ecx, eax
jl 0x4031f1
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4031fa
mov ebx, dword [esp]
test ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
je 0x403280
mov eax, esi
and eax, 3
je 0x403280
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403221
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
cmp esi, 4
jge 0x403289
test esi, esi
je 0x4032cc
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040cd50
mov edx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x18]
cmp dword [ebp + 8], 0
jne 0x4032d8
jmp 0x4031d0
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x403249
mov eax, esi
cmp esi, 7
jl 0x403295
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x40324d
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x4031d0
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4031d0
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40364a
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
jmp 0x4031d0
mov edx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x30]
test cl, cl
mov eax, dword [esp + 0x48]
je 0x402fd3
movsx edx, cl
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x403339
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403341
mov eax, edx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x4033eb
mov ecx, eax
and ecx, 3
je 0x403430
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403370
add esi, edx
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x18]
cmp eax, 4
jb 0x4033eb
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x4033a0
cmp dword [ebp + 8], 0
je 0x403310
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403310
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40364a
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x403310
mov ecx, eax
cmp eax, 4
jae 0x4033a0
jmp 0x4033eb
mov eax, dword [esp + 0x48]
sub ecx, ebx
je 0x403588
mov eax, edx
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x40345d
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x403465
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
je 0x4034e0
mov eax, esi
and eax, 3
je 0x4034e0
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403494
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
cmp esi, 4
jge 0x4034e9
test esi, esi
je 0x40352c
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x40352e
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x4034bc
mov eax, esi
cmp esi, 7
jl 0x4034f5
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040cd50
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x4034c0
mov esi, ecx
mov eax, dword [esp + 0x48]
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x44]
je 0x403444
mov eax, esi
sub eax, edx
cmp eax, 0x1ff
jl 0x403440
mov esi, dword [ebp + 8]
mov edx, edi
mov edi, ecx
add edx, eax
mov dword [esp + 0x18], edx
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call esi
add esp, 0xc
test eax, eax
je 0x403655
mov esi, eax
mov edx, eax
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x18]
jmp 0x403444
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
inc eax
jmp 0x40103f
mov ebx, edi
jmp 0x4028bf
mov ebx, ecx
cmp ebx, 4
jb 0x4035c0
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push edi
call fcn.0040cd50
mov edx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov dword [esp + 8], edi
and ebx, 3
jmp 0x4035c4
mov dword [esp + 8], edi
mov eax, dword [esp + 0x14]
jmp 0x4035d7
mov ecx, dword [esp + 8]
mov byte [ecx], 0x30
dec ebx
inc ecx
mov dword [esp + 8], ecx
test ebx, ebx
je 0x4026b0
test dl, 0x40
je 0x4035ca
inc eax
cmp eax, 4
jne 0x4035ca
movzx eax, byte [0x448001]
mov ecx, eax
add cl, al
and cl, 0xac
sub al, cl
add al, 0xd6
mov ecx, dword [esp + 8]
mov byte [ecx], al
xor eax, eax
jmp 0x4035d2
mov ecx, esi
mov ebx, esi
jmp 0x4028bf
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x4020f8
mov eax, ecx
jmp 0x402851
cmp dword [ebp + 8], 0
je 0x403650
mov eax, esi
sub eax, edx
test eax, eax
mov edi, dword [esp + 0x18]
jle 0x40365d
add edi, eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov edx, eax
jmp 0x40365d
xor esi, esi
xor edx, edx
jmp 0x40365d
mov byte [esi], 0
jmp 0x403659
xor esi, esi
xor edx, edx
mov edi, dword [esp + 0x18]
add edi, esi
sub edi, edx
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret