Function at 0x40116b
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 0x4035c5
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 0x4035f5
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 + 0x447564]
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 + 0x447664]
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 + 0x44772c]
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 0x401947
or edx, 0x20
add ecx, 2
jmp case.0x401256.74
lea eax, [ecx + 1]
movzx edi, byte [ecx + 1]
cmp edi, 0x33
je 0x401d2d
mov dword [esp + 4], edi
cmp edi, 0x36
jne 0x401d43
cmp byte [ecx + 2], 0x34
jne 0x401d33
or edx, 0x20
jmp 0x401d37
cmp byte [ecx + 1], 0x68
je 0x40194d
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 + 0x2c]
lea edx, [esp + 0x38]
call fcn.00403610
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 + 0x14]
cmp edi, 0x7000
jne 0x4015c8
mov dword [esp + 4], 0
mov dword [esp + 0xc], esi
jmp 0x40231b
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 + 0xc], 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 0x4019d6
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 + 0x2c]
lea edx, [esp + 0x38]
call fcn.00403610
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 + 0x10], edi
mov ecx, eax
mov dword [esp], eax
cmp eax, 2
jb 0x40195b
mov edx, dword [esp + 0x14]
mov ecx, esi
nop
nop
nop
mov edi, dword [esp]
cmp byte [edx + edi - 1], 0x30
jne 0x401fba
lea eax, [ecx - 1]
dec edi
mov dword [esp], edi
cmp edi, 2
jb 0x401fbc
cmp ecx, 1
mov ecx, eax
jne 0x401550
jmp 0x401fbc
mov byte [esp + 0x3d], al
mov al, 1
mov dword [esp + 0xc], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
je 0x401d74
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 0x401d8e
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 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, 0x54
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 + 0xc]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
test edi, edi
jle 0x401ee2
dec edi
mov byte [esp + 0x32], 0x2b
mov esi, edi
jmp 0x401eee
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 0x401887
mov dword [esp + 4], esi
movzx eax, byte [0x44a001]
xor al, 0x93
mov byte [esp + 0xc], al
mov esi, 0x200
xor edi, edi
mov dword [esp + 0x10], edx
nop
nop
mov ebx, dword [esp + 4]
cmp ebx, 0x5f5e100
mov ecx, dword [esp]
mov eax, ecx
sbb eax, 0
jb 0x4017a0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c990
mov dword [esp], edx
mov edx, dword [esp + 0x10]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 4], eax
jmp 0x4017af
mov dword [esp], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x54]
lea ecx, [eax + esi]
test dl, 0x40
jne 0x401863
mov dword [esp + 0x2c], 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 0x4017d0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 4]
or eax, dword [esp]
jne 0x401817
jmp 0x4018c5
inc edi
mov byte [esp + esi + 0x5b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x5c
cmp eax, ecx
je 0x401760
test dl, 0x40
je 0x401811
cmp edi, 3
jne 0x401810
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edi, edi
jmp 0x401817
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 + 0x10]
test ebx, ebx
je 0x401802
test dl, 0x40
je 0x401841
cmp edi, 3
jne 0x401840
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x5b], al
dec esi
dec ecx
xor edi, edi
test ebx, ebx
jne 0x401867
jmp 0x401802
mov eax, 1
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x401897
mov eax, ecx
mov dword [esp + 8], 0
cmp esi, 0x400
mov ecx, dword [esp]
sbb ecx, 0
jb 0x4018b1
mov dword [esp + 8], eax
mov dword [esp + 0x50], esi
mov eax, dword [esp]
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
jmp 0x401cc2
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 0x4018fa
mov dl, 0x20
test byte [esp + 0x10], 4
jne 0x4018fa
mov dl, 0x2b
test byte [esp + 0x10], 2
je 0x401903
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 0x401eae
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 1
mov eax, 1
mov edx, dword [esp + 0x10]
jmp 0x401eba
inc ecx
jmp 0x401261
add ecx, 2
or edx, 0x200
jmp case.0x401256.74
mov eax, esi
jmp 0x401fbc
and edx, 0xffffffef
mov dword [esp + 8], 8
mov dword [esp], str.0123456789ABCDEFXP
mov eax, dword [esp + 4]
cmp al, 0x58
je 0x401983
mov dword [esp], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x3c], 0
mov ecx, 4
test dl, 8
je 0x4019d6
cmp al, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
jmp 0x4019d6
mov byte [esp + 0x3c], 0
test dl, 8
je 0x4019c2
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp], str.0123456789ABCDEFXP
mov ecx, 3
mov dword [esp + 0x10], edx
test dl, 0x20
jne 0x4019f0
mov edx, dword [esp + 0x24]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x24], edx
xor esi, esi
jmp 0x401a00
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 0x401a23
mov byte [esp + 0x3c], 0
cmp dword [esp + 8], 0
je 0x401d54
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 0x401a56
mov edi, esi
xor esi, esi
mov ecx, edi
or ecx, esi
mov edx, dword [esp + 8]
jne 0x401a7a
mov ecx, 1
cmp edx, 2
jge 0x401a7a
lea eax, [esp + 0x25b]
mov dword [esp + 0xc], eax
jmp 0x401b3b
lea ecx, [esp + 0x25b]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x25c]
nop
nop
nop
nop
test byte [esp + 0x10], 0x40
jne 0x401aa0
mov edx, dword [esp + 0xc]
jmp 0x401ae0
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 + 0xc]
je 0x401ac1
mov dword [esp + 4], ebx
mov edx, ecx
jmp 0x401ae0
and ebx, 0xfffffff0
mov dword [esp + 0x20], ebx
movzx ecx, byte [0x44a001]
xor cl, 0x93
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 0x401b15
mov edi, esi
xor esi, esi
lea ecx, [edx - 1]
mov dword [esp + 0xc], ecx
mov ecx, edi
or ecx, esi
jne 0x401a90
lea ecx, [esp + 0x25c]
sub ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 8]
jl 0x401a90
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 + 0x10]
jmp 0x401ed9
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0xc], str.null
test eax, eax
je 0x401b77
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov esi, eax
test eax, eax
jns 0x401b86
mov esi, 0xffffffff
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0xc]
test cl, 3
je 0x40280b
lea edx, [esi + ecx]
cmp dword [esp + 8], 0
je 0x401c0d
cmp byte [ecx], 0
je 0x401c0b
lea eax, [esi - 1]
inc ecx
test cl, 3
je 0x402809
test eax, eax
je 0x401c0d
cmp byte [ecx], 0
je 0x401c0b
lea eax, [esi - 2]
mov ecx, dword [esp + 0xc]
add ecx, 2
test cl, 3
je 0x402809
test eax, eax
je 0x401c0d
cmp byte [ecx], 0
je 0x401c0b
lea eax, [esi - 3]
mov ecx, dword [esp + 0xc]
add ecx, 3
test cl, 3
je 0x402809
test eax, eax
je 0x401c0d
cmp byte [ecx], 0
je 0x401c0b
add esi, 0xfffffffc
mov eax, dword [esp + 0xc]
lea ecx, [eax + 4]
test cl, 3
je 0x40280b
test esi, esi
je 0x401c0d
mov edx, ecx
sub edx, dword [esp + 0xc]
jmp 0x402880
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 + 0xc], eax
xor edx, edx
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0x44], 0
jmp 0x4028b0
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 0x402317
mov eax, dword [esp + 0x24]
fld qword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test edx, 0x100
je 0x402098
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x447550]
cmp edx, 0x3ffffff
ja 0x401cfe
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40201e
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40201e
fstp st(0)
fstp st(0)
jmp 0x402098
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 0x403548
cmp byte [ecx + 2], 0x32
je 0x401d37
mov ecx, eax
jmp 0x401d3a
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 + 0xc], eax
jmp 0x4028a3
mov ecx, ebx
or ecx, esi
mov eax, 0
je 0x401d84
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 0x401db3
mov ebx, edx
xor edx, edx
cmp dword [esp + 8], 0xf
jl 0x401dbe
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 + 0xc]
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 0x401e9a
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0xa8
sub cl, dl
add cl, 0x54
mov byte [esp + 0x9d], cl
lea eax, [esp + 0x9e]
mov dword [esp + 0x14], eax
mov ecx, edi
cmp edi, 0xd
jb 0x401e35
mov ecx, 0xd
mov eax, edi
sub eax, ecx
jg 0x401e3d
xor eax, eax
mov dword [esp], eax
mov edx, ecx
and edx, 3
je 0x4020ed
mov dword [esp + 0xc], ecx
mov edi, ebx
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
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 0x401e60
lea eax, [esp + 0x9e]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0xc]
sub ecx, ebx
mov ebx, edi
mov edi, dword [esp + 8]
jmp 0x4020f4
lea edx, [esp + 0x9d]
mov dword [esp + 0x14], edx
xor edi, edi
mov esi, edx
jmp 0x402160
mov ecx, edx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x10]
mov eax, ecx
mov dword [esp], 0
cmp dword [esp + 8], 0
jg 0x401ed0
mov dword [esp + 8], 0
add eax, 0x3000000
mov dword [esp + 4], eax
mov esi, dword [esp + 8]
jmp 0x4028b0
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 + 0xc], 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 + 0xc]
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 0x401f9a
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 + 0x10]
jmp 0x4027de
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 + 0x10]
jl 0x401ff6
cmp ecx, esi
jg 0x401ff6
test ecx, ecx
jle 0x4022ca
sub dword [esp], ecx
jg 0x4022d8
mov dword [esp], 0
jmp 0x4022d8
mov ecx, dword [esp]
cmp eax, ecx
jle 0x402006
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 0x402092
fucom st(2)
fnstsw ax
sahf
jbe 0x402040
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402092
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x402092
fucom st(2)
fnstsw ax
sahf
jbe 0x402062
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402092
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x402092
fucom st(2)
fnstsw ax
sahf
jbe 0x4035b6
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4035b6
fstp st(0)
fstp st(0)
mov edx, ecx
mov esi, edx
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x4020aa
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 + 0x2c]
lea edx, [esp + 0x38]
call fcn.00403610
add esp, 0x18
mov edx, esi
test eax, eax
je 0x4022d8
or edx, 0x80
jmp 0x4022d8
lea edx, [esp + 0x9e]
cmp edi, 4
jb 0x402156
mov edi, ebx
mov ebx, esi
nop
nop
nop
mov dword [esp + 0xc], 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 + 0xc]
mov byte [edx + 3], al
add edx, 4
mov esi, ebx
add ecx, 0xfffffffc
jne 0x402100
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 0x402181
mov byte [esp + 0x32], 0x2b
jmp 0x402188
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp], edi
mov dword [esp + 0xc], edx
ja 0x4021ad
cmp eax, 0x63
jbe 0x4022aa
mov dword [esp + 4], esi
mov dword [esp + 8], 5
jmp 0x4021b9
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 0x4026b8
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 0x4026b8
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 0x4026b8
cmp eax, 9
jbe 0x4026ad
mov dword [esp + 4], esi
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0x2c], ecx
jmp 0x4021c1
mov esi, dword [esp]
cmp eax, esi
jl 0x4022d3
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 0x4022f6
mov al, 0x20
test dl, 4
jne 0x4022f6
mov al, 0x2b
test dl, 2
je 0x4022ff
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x402329
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp], 0
xor esi, esi
jmp 0x4028b0
test ecx, ecx
mov dword [esp + 0x10], edx
jle 0x4023b9
xor esi, esi
test dl, 0x40
je 0x402357
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 + 0x10]
sub esi, eax
cmp ecx, dword [esp + 0x20]
jae 0x4024e5
xor eax, eax
lea edi, [esp + 0x9c]
jmp 0x40238a
mov edx, edi
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
inc edi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x402549
mov ecx, dword [esp + 0x10]
test cl, 0x40
je 0x402370
inc esi
cmp esi, 4
jne 0x402370
mov esi, ecx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x44a001]
mov edx, ecx
add dl, cl
and dl, 0x26
sub cl, dl
add cl, 0x93
mov byte [edi], cl
inc edi
jmp 0x402370
mov byte [esp + 0x9c], 0x30
lea edi, [esp + 0x9d]
mov edx, dword [esp]
test edx, edx
je 0x4023f2
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0xa8
sub al, dl
mov edx, dword [esp]
add al, 0x54
mov byte [esp + 0x9d], al
lea edi, [esp + 0x9e]
neg ecx
mov ebx, edx
cmp edx, ecx
jl 0x4023fc
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x402430
mov eax, edi
and eax, 3
je 0x402430
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402419
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edi
call fcn.0040ca90
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov edx, dword [esp]
cmp ebx, 4
jl 0x402468
mov eax, ebx
cmp ebx, 7
jl 0x402441
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.0040ca90
add esp, 0xc
add edi, esi
add edi, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edx, dword [esp]
test ebx, ebx
je 0x40247e
push ebx
push 0x30
push edi
call fcn.0040ca90
mov edx, dword [esp + 0xc]
add esp, 0xc
add edi, ebx
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
lea ecx, [eax + ebx]
cmp ecx, edx
jle 0x402496
mov eax, dword [esp]
sub eax, ebx
mov dword [esp + 0x20], eax
test eax, eax
je 0x40274a
mov esi, dword [esp]
mov dword [esp + 4], esi
cmp esi, ecx
jl 0x4024ad
mov dword [esp + 4], ecx
mov ecx, eax
and ecx, 3
je 0x4026f2
xor esi, esi
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x4024c0
add edi, esi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp + 0xc]
jmp 0x4026f4
mov dword [esp + 0xc], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edi, [esp + 0x9c]
jmp 0x40251b
mov ecx, dword [esp + 0x14]
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 0x4025de
test dl, 0x40
je 0x402500
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 4
jne 0x402500
mov ecx, edx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 0xc], ecx
movzx ecx, byte [0x44a001]
xor cl, 0x93
mov byte [edi], cl
inc edi
jmp 0x402500
mov esi, edi
mov dword [esp + 8], edi
cmp dword [esp], 0
je 0x402576
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0xa8
sub cl, ch
add cl, 0x54
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 0x40258c
mov edx, dword [esp]
add edx, ecx
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x4025bc
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x4025a0
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 0x40275b
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
sub ecx, eax
jbe 0x40266c
test dl, 0x40
jne 0x4027fa
cmp dword [esp + 4], eax
je 0x403552
mov eax, edi
and eax, 3
je 0x403552
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 0x40262a
mov edx, eax
mov dword [esp + 0x4c], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
call fcn.0040ca90
add esp, 0xc
add esi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x40264b
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 + 0x10]
jmp 0x403554
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 0x4026e9
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0xa8
sub al, cl
add al, 0x54
mov byte [esi], al
inc esi
mov dword [esp + 8], esi
jmp 0x40275f
mov byte [esp + 0x30], 3
or al, 0x30
mov byte [esp + 0x33], al
add dword [esp + 0x24], 8
mov ecx, dword [esp + 0xc]
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 + 0xc], eax
jmp 0x4028ac
mov dword [esp], 0
jmp 0x40275f
mov ecx, eax
mov edx, ebx
sub edx, dword [esp + 4]
cmp edx, 0xfffffffc
ja 0x40274a
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x4026ff
mov dword [esp + 8], edi
add ebx, eax
sub dword [esp], ebx
mov dword [esp + 4], 0x3000001
mov edx, dword [esp + 0x10]
test edx, 0x100
je 0x4027de
mov eax, edx
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp edx, 0x1000000
jb 0x4027de
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 0x4027b4
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
mov edx, esi
jmp 0x4027da
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 0x4027da
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 + 0xc], eax
jmp 0x4028b0
mov dword [esp + 8], edi
mov eax, dword [esp + 0xc]
mov ebx, ecx
jmp 0x403590
mov esi, eax
mov dword [esp], esi
mov edx, esi
mov dword [esp + 4], ecx
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp edx, 4
jb 0x40284e
mov ecx, dword [esi]
mov ebx, edx
lea edx, [ecx - 0x1010101]
not ecx
and ecx, edx
mov eax, ecx
xor eax, 0x7f7f7f7f
or ecx, 0x80808080
mov edi, esi
add esi, 4
lea edx, [ebx - 4]
test ecx, eax
je 0x402820
jmp 0x402856
test edx, edx
mov edi, esi
mov ebx, edx
je 0x402870
mov eax, dword [esp + 4]
add eax, dword [esp]
xor ecx, ecx
cmp byte [edi + ecx], 0
je 0x40286e
inc ecx
cmp ebx, ecx
jne 0x40285f
mov edi, eax
jmp 0x402870
add edi, ecx
mov eax, edi
not eax
mov edx, dword [esp + 0xc]
and eax, edx
not edx
and edx, edi
sub edx, eax
add dword [esp + 0x24], 4
mov dword [esp + 0x20], edx
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 edx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x20]
cmp esi, ecx
mov edx, esi
jg 0x4028c0
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 0x4028e3
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
test cl, 1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
jne 0x402909
test cl, 0x10
jne 0x402911
mov dword [esp + 0x10], 0
mov ecx, edx
mov edx, dword [esp + 8]
jmp 0x40291d
mov ecx, dword [esp + 8]
cmp edx, ecx
jg 0x40291b
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x44], ecx
add ecx, edx
jne 0x40292e
mov edx, dword [esp + 0x10]
jmp 0x402e12
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
test dl, 1
jne 0x402a97
mov ecx, dword [esp + 0x44]
test ecx, ecx
jg 0x40296c
jmp 0x402a97
mov esi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
sub ecx, ebx
test ecx, ecx
jle 0x402a8e
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x40297f
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x402987
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], edi
je 0x402a00
mov eax, esi
and eax, 3
je 0x402a00
mov eax, ebx
mov ecx, esi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x4029ae
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040ca90
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
mov eax, ebx
sub eax, esi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov esi, eax
cmp esi, 4
jge 0x402a09
test esi, esi
je 0x402a4f
push esi
push 0x20
mov edi, esi
mov esi, ecx
push ecx
call fcn.0040ca90
mov edx, dword [esp + 0x1c]
add esp, 0xc
add esi, edi
mov edi, dword [esp + 0x18]
jmp 0x402a51
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x4029da
mov eax, esi
cmp esi, 7
jl 0x402a15
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.0040ca90
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 + 0x10]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x4029de
mov esi, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x44]
je 0x402962
mov eax, esi
mov ebx, dword [esp + 0x1c]
sub eax, ebx
cmp eax, 0x1ff
jl 0x40295e
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 0x402950
jmp 0x4035ea
mov dword [esp + 0x44], ecx
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x14], ecx
jmp 0x402abf
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402bdd
movsx edx, al
mov ebx, dword [esp + 0x1c]
sub ebx, esi
add ebx, 0x200
cmp ebx, edx
jl 0x402adc
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0x402ae4
mov ebx, edx
sub al, bl
mov byte [esp + 0x3c], al
test ebx, ebx
je 0x402b8b
mov eax, ebx
and eax, 3
je 0x402bd0
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 + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi]
mov esi, edi
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402b10
add esi, edx
mov eax, ebx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ebx, 4
jb 0x402b8b
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402b40
cmp dword [ebp + 8], 0
je 0x402ab6
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402ab6
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ab0
jmp 0x4035ea
mov eax, ebx
cmp ebx, 4
jae 0x402b40
jmp 0x402b8b
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 0x402c11
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 + 0x10]
cmp dword [esp + 8], 0
jle 0x402f59
mov ebx, dword [esp + 8]
jmp 0x402c4e
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
sub ebx, dword [esp + 4]
test ebx, ebx
jle 0x402e07
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 0x402cc0
mov dword [esp + 4], eax
cmp dword [ebp + 8], 0
je 0x402cc6
test dl, 0x40
jne 0x402cd3
cmp dword [esp + 4], 0
je 0x402ce0
mov eax, edi
and eax, 3
je 0x402ce0
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 4]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402c98
mov ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040ca90
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 0x10]
cmp ebx, 4
jge 0x402ce9
jmp 0x402d24
cmp dword [ebp + 8], 0
jne 0x402c71
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
test dl, 0x40
je 0x402c76
mov ebx, dword [esp + 4]
jmp 0x402d24
mov ebx, dword [esp + 4]
cmp ebx, 4
jl 0x402d24
mov eax, ebx
cmp ebx, 7
jl 0x402cf5
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.0040ca90
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 0x10]
test ebx, ebx
je 0x402d70
test bl, 1
jne 0x402d40
mov eax, ebx
cmp ebx, 1
jne 0x402dc7
jmp 0x402d70
mov al, 0x30
test dl, 0x40
je 0x402d5b
cmp esi, dword [esp + 0x28]
jne 0x402d5a
movzx eax, byte [0x44a001]
xor al, 0x93
xor esi, esi
jmp 0x402d5b
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402dc7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402c3e
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c3e
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 0x402c30
jmp 0x4035ea
movzx ecx, byte [0x44a001]
xor cl, 0x93
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402d70
mov cl, 0x30
test dl, 0x40
je 0x402df1
cmp esi, dword [esp + 0x28]
jne 0x402df0
movzx edx, byte [0x44a001]
xor dl, 0x93
xor esi, esi
jmp 0x402df3
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, dword [esp + 0x10]
test dl, 0x40
je 0x402dbc
cmp esi, dword [esp + 0x28]
je 0x402db0
inc esi
jmp 0x402dbc
movzx eax, byte [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x14], ecx
test al, al
jne 0x402e3d
mov dword [esp + 0x18], edi
mov edi, esi
jmp 0x402f61
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402f4d
movsx edx, al
mov ecx, dword [esp + 0x1c]
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x402e52
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402e5a
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402efb
mov eax, ecx
and eax, 3
je 0x402f40
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edi
xor edx, edx
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402e80
add esi, edx
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ecx, 4
jb 0x402efb
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402eb0
cmp dword [ebp + 8], 0
je 0x402e30
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e30
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035ea
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x402e30
mov eax, ecx
cmp ecx, 4
jae 0x402eb0
jmp 0x402efb
mov dword [esp + 0x18], edi
mov edi, esi
mov edx, dword [esp + 0x10]
jmp 0x402f61
lea eax, [esp + 0x3d]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x402fc6
mov ecx, dword [esp]
test ecx, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
jne 0x40319b
lea eax, [esp + 0x31]
mov dword [esp + 0x14], eax
movzx ecx, byte [esp + 0x30]
test cl, cl
jne 0x4032e5
mov eax, dword [esp + 0x48]
test dl, 1
je 0x403544
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov edx, dword [esp + 0x1c]
jle 0x403548
jne 0x40340c
jmp 0x403548
sub ebx, dword [esp + 0x28]
je 0x402f69
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x402fd9
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x402fe1
mov ecx, ebx
cmp ecx, 4
mov dword [esp + 0x28], ecx
jl 0x403040
lea esi, [ecx - 4]
mov eax, esi
shr eax, 2
inc eax
and eax, 7
je 0x403048
mov dword [esp + 4], esi
shl eax, 2
xor edx, edx
mov esi, dword [esp + 0xc]
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 0x403010
add edi, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
add esi, edx
mov dword [esp + 0xc], esi
mov eax, ecx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 4]
jmp 0x403048
mov eax, ecx
mov esi, dword [esp + 0xc]
jmp 0x4030a1
cmp esi, 0x1c
mov esi, dword [esp + 0xc]
jb 0x4030a1
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 0x403060
test eax, eax
je 0x403131
mov ecx, eax
and ecx, 7
je 0x403180
mov dword [esp + 0xc], 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 0x4030c0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
cmp eax, 8
jb 0x403131
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 0x4030f0
mov dword [esp + 0xc], esi
cmp dword [ebp + 8], 0
je 0x402fc0
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402fc0
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 0x4035ea
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
jmp 0x402fc0
mov ecx, eax
cmp eax, 8
jae 0x4030f0
jmp 0x403131
mov ecx, dword [esp]
sub ecx, ebx
je 0x402f7a
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ebx, ecx
mov dword [esp], ecx
cmp ecx, eax
jl 0x4031b1
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4031ba
mov ebx, dword [esp]
test ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
je 0x403240
mov eax, esi
and eax, 3
je 0x403240
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x4031e1
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040ca90
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
cmp esi, 4
jge 0x403249
test esi, esi
je 0x40328c
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040ca90
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x18]
cmp dword [ebp + 8], 0
jne 0x403298
jmp 0x403190
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x403209
mov eax, esi
cmp esi, 7
jl 0x403255
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.0040ca90
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 + 0x10]
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x40320d
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x403190
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403190
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035ea
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
jmp 0x403190
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + 0x30]
test cl, cl
mov eax, dword [esp + 0x48]
je 0x402f93
movsx edx, cl
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x4032f9
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403301
mov eax, edx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x4033ab
mov ecx, eax
and ecx, 3
je 0x4033f0
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 + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403330
add esi, edx
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x18]
cmp eax, 4
jb 0x4033ab
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403360
cmp dword [ebp + 8], 0
je 0x4032d0
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4032d0
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035ea
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x4032d0
mov ecx, eax
cmp eax, 4
jae 0x403360
jmp 0x4033ab
mov eax, dword [esp + 0x48]
sub ecx, ebx
je 0x403548
mov eax, edx
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x40341d
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x403425
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 0x4034a0
mov eax, esi
and eax, 3
je 0x4034a0
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403454
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040ca90
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 0x4034a9
test esi, esi
je 0x4034ec
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040ca90
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x4034ee
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x40347c
mov eax, esi
cmp esi, 7
jl 0x4034b5
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.0040ca90
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 0x403480
mov esi, ecx
mov eax, dword [esp + 0x48]
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x44]
je 0x403404
mov eax, esi
sub eax, edx
cmp eax, 0x1ff
jl 0x403400
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 0x4035f5
mov esi, eax
mov edx, eax
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x18]
jmp 0x403404
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
inc eax
jmp 0x40103f
mov ebx, ecx
cmp ebx, 4
jb 0x403579
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push edi
call fcn.0040ca90
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edi, esi
mov dword [esp + 8], edi
and ebx, 3
jmp 0x40357d
mov dword [esp + 8], edi
mov eax, dword [esp + 0xc]
jmp 0x403590
mov ecx, dword [esp + 8]
mov byte [ecx], 0x30
dec ebx
inc ecx
mov dword [esp + 8], ecx
test ebx, ebx
je 0x402670
test dl, 0x40
je 0x403583
inc eax
cmp eax, 4
jne 0x403583
movzx eax, byte [0x44a001]
xor al, 0x93
mov ecx, dword [esp + 8]
mov byte [ecx], al
xor eax, eax
jmp 0x40358b
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x402098
cmp dword [ebp + 8], 0
je 0x4035f0
mov eax, esi
sub eax, edx
test eax, eax
mov edi, dword [esp + 0x18]
jle 0x4035fd
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 0x4035fd
xor esi, esi
xor edx, edx
jmp 0x4035fd
mov byte [esi], 0
jmp 0x4035f9
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