Function at 0x401000
Capabilities:
Authenticate hmac
Encode data using xor
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x270
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0xac]
not eax
mov dword [esp + 0x5c], eax
mov eax, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], ebx
jmp 0x401059
mov ebx, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x24]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x24], ecx
mov eax, edi
inc eax
mov dword [esp + 0x20], ebx
mov edi, eax
test al, 3
je 0x401070
movzx eax, byte [eax]
jmp 0x40108e
mov eax, dword [eax]
mov esi, eax
not esi
and esi, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, esi
je 0x4010de
cmp al, 0x25
je 0x40116b
test al, al
mov ebx, dword [esp + 0x20]
je 0x4036ce
cmp dword [ebp + 8], 0
je 0x40104b
mov esi, dword [esp + 0x24]
mov edx, esi
not edx
and edx, ebx
mov ecx, ebx
not ecx
and ecx, esi
sub ecx, edx
cmp ecx, 0x1ff
jl 0x40104b
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401040
jmp 0x4036f5
mov ecx, dword [esp + 0x24]
add ecx, ecx
mov ebx, dword [esp + 0x20]
sub ecx, ebx
sub ecx, ebx
mov edx, dword [esp + 0x24]
sub edx, ebx
jmp 0x401139
mov esi, dword [esp + 0x24]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x24], esi
mov eax, dword [edi + 4]
add edi, 4
mov esi, eax
not esi
and esi, 0x80808080
mov ebx, eax
xor ebx, 0x25252525
add ebx, 0xfefefeff
add ecx, 8
add edx, 4
test ebx, esi
jne 0x40108e
lea ebx, [eax - 0x1010101]
test esi, ebx
jne 0x401096
cmp dword [ebp + 8], 0
je 0x401100
mov esi, ecx
not esi
and esi, 0x400
mov ebx, edx
xor ebx, 0x200
sub esi, ebx
cmp esi, 4
jge 0x401100
jmp 0x40108e
add edi, 2
mov dword [esp], 0
mov ecx, edi
mov edi, dword [esp + 0x24]
jmp 0x401194
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or dword [esp], edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x4011a5.33
mov edx, 2
jmp dword [esi*4 + 0x44c564]
mov edx, 4
jmp case.0x4011a5.43
mov edx, 0x400
jmp case.0x4011a5.43
mov edx, 0x100
test dword [esp], 0x100
je case.0x4011a5.43
mov edx, dword [esp]
and edx, 0x800
add edx, 0x800
jmp case.0x4011a5.43
mov edx, 8
jmp case.0x4011a5.43
mov edx, 0x40
jmp case.0x4011a5.43
or dword [esp], 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x40120b
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401251
dec ecx
cmp al, 0x2a
je 0x4011f2
mov edx, eax
add dl, 0xd0
xor esi, esi
cmp dl, 9
ja 0x401251
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
mov edx, esi
or edx, 0xa
mov ebx, esi
and esi, 0xa
imul edx, esi
xor esi, 0xa
and ebx, 0xfffffff5
imul ebx, esi
mov esi, ebx
add esi, edx
add esi, eax
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401220
mov dword [esp + 0x30], esi
mov dword [esp + 8], 0xffffffff
cmp al, 0x2e
jne 0x4012d3
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401283
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], edx
add eax, 4
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012d3
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 8], 0
cmp dl, 9
ja 0x4012d3
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
and ebx, 0xa
mov edx, esi
or esi, 0xa
imul esi, ebx
xor ebx, 0xa
and edx, 0xfffffff5
imul edx, ebx
add esi, edx
movzx eax, al
add esi, eax
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012a0
mov dword [esp + 8], esi
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012de.74
jmp dword [eax*4 + 0x44c664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x48], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov ecx, dword [esp + 8]
ja case.0x401300.67
jmp dword [eax*4 + 0x44c72c]
mov eax, dword [esp]
mov esi, eax
test al, 0x20
jne 0x40175f
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
cmp dl, 0x75
je 0x401d65
test ebx, ebx
jns 0x401d65
neg ebx
or esi, 0x80
jmp 0x401d65
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4017a5
or dword [esp], 0x20
add ecx, 2
jmp case.0x4012de.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401b84
cmp edx, 0x36
jne 0x401b95
cmp byte [ecx + 2], 0x34
jne 0x401b8e
or dword [esp], 0x20
add ecx, 3
jmp case.0x4012de.74
cmp byte [ecx + 1], 0x68
je 0x4017ab
inc ecx
or dword [esp], 0x200
jmp case.0x4012de.74
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x4013b2
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
fld qword [eax]
mov esi, 6
cmp ecx, 0xffffffff
je 0x4013c8
mov esi, ecx
mov eax, esi
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
call fcn.00403720
add esp, 0x18
test eax, eax
je 0x401407
or dword [esp], 0x80
add dword [esp + 0x1c], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp], 0
js 0x40142e
mov al, 0x20
test byte [esp], 4
jne 0x40142e
mov al, 0x2b
test byte [esp], 2
je 0x401437
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
cmp ebx, 0x7000
je 0x402a6b
mov dword [esp + 4], edx
movzx ecx, byte [edx]
mov byte [esp + 0xac], cl
lea eax, [esp + 0xad]
test esi, esi
je 0x40147c
movzx ecx, byte [section..data]
xor cl, 0xae
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
lea edx, [eax - 1]
cmp edx, esi
jbe 0x401492
lea eax, [esi + 1]
mov dword [esp + 0x18], eax
cmp eax, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], eax
jb 0x401556
mov ecx, esi
cmp esi, edx
jb 0x4014ab
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
mov dword [esp + 0x28], ebx
jb 0x40152d
mov dword [esp + 0x50], ecx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 8]
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4014d0
add ecx, edx
mov dword [esp + 8], ecx
inc edx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
and ecx, 7
je 0x401556
mov esi, dword [esp + 4]
add esi, edx
xor edx, edx
mov ebx, ecx
mov ecx, dword [esp + 8]
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x401540
add ecx, edx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
test ebx, ebx
jle 0x40201a
dec ebx
mov byte [esp + 0x36], 0x2b
mov esi, ebx
jmp 0x402026
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x401586
mov eax, str.0123456789abcdefxp
mov dword [esp + 4], eax
mov dword [esp + 0x50], 6
cmp ecx, 0xffffffff
je 0x40159b
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4015ad
or dword [esp], 0x80
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov al, 0x2d
cmp byte [esp], 0
js 0x401719
mov al, 0x20
test byte [esp], 4
jne 0x401719
mov al, 0x2b
test byte [esp], 2
jne 0x401719
mov dword [esp + 0xc], 0
jmp 0x401723
mov dword [esp + 0x28], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4015fd
mov dword [esp + 0x28], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp], 8
je 0x40161e
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x18], 0x180
mov ecx, 1
test byte [esp], 0x20
je 0x40181b
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov edx, dword [eax + 4]
add eax, 8
mov dword [esp + 0x1c], eax
jmp 0x40182a
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401659
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x1c]
fld qword [eax]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
je 0x401673
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
call fcn.00403720
add esp, 0x18
test eax, eax
je 0x4016b3
or dword [esp], 0x80
mov eax, dword [esp + 0x18]
cmp eax, ebx
jb 0x4016bd
mov eax, ebx
mov dword [esp + 0xc], esi
mov edx, eax
cmp eax, 2
mov dword [esp + 0x14], ebx
jb 0x4017ba
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov ecx, ebx
nop
nop
nop
nop
nop
nop
mov eax, edx
not eax
and eax, 1
mov ebx, edx
and ebx, 0xfffffffe
sub ebx, eax
mov eax, dword [esp + 4]
cmp byte [eax + ebx], 0x30
jne 0x4020f8
mov esi, edx
dec esi
lea eax, [ecx - 1]
mov edx, esi
cmp esi, 2
jb 0x4020fa
cmp ecx, 1
mov ecx, eax
jne 0x4016e0
jmp 0x4020fa
mov byte [esp + 0x41], al
mov al, 1
mov dword [esp + 0xc], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
je 0x401bba
add ecx, 0xfffffc01
mov eax, 0xffffffff
mov ebx, dword [esp + 0x28]
add ebx, eax
mov eax, 0xfffff
adc esi, eax
mov eax, ebx
add eax, 1
adc esi, 0
jmp 0x401bd1
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + 8]
mov dword [esp + 4], eax
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
cmp dl, 0x75
je 0x401d55
test eax, eax
jns 0x401d55
neg ebx
mov ecx, 0
sbb ecx, eax
mov edx, esi
and edx, 0xffffffdf
xor edx, 0xa0
and esi, 0x80
or esi, edx
mov dword [esp + 0x14], ecx
jmp 0x401d59
inc ecx
jmp 0x4012e9
add ecx, 2
or dword [esp], 0x200
jmp case.0x4012de.74
mov eax, ebx
jmp 0x4020fa
and dword [esp], 0xffffffef
mov ecx, 8
mov dword [esp + 8], ecx
mov dword [esp + 0x28], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4017e3
mov dword [esp + 0x28], str.0123456789abcdefxp
mov dword [esp + 0x18], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test byte [esp], 8
je 0x401811
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test byte [esp], 0x20
jne 0x401635
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
xor edx, edx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov eax, esi
or eax, edx
jne 0x40184d
mov byte [esp + 0x40], 0
cmp dword [esp + 8], 0
je 0x401b9e
mov eax, 0xffffffff
shl eax, cl
not eax
and eax, esi
mov ebx, dword [esp + 0x18]
mov cl, bh
shrd esi, edx, cl
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx + eax]
mov byte [esp + 0x26b], al
mov eax, ebx
mov cl, ah
shr edx, cl
test ah, 0x20
mov dword [esp + 0xc], ebx
jne 0x401883
mov ebx, esi
jmp 0x401887
mov ebx, edx
xor edx, edx
mov eax, ebx
or eax, edx
jne 0x4018d5
mov ecx, 1
cmp dword [esp + 8], 2
jge 0x4018d5
lea eax, [esp + 0x26b]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
shr edx, 4
mov eax, edx
not eax
or eax, 0xf
add eax, edx
shl eax, 0x18
add eax, ecx
add eax, 0x1000000
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
xor esi, esi
mov ebx, dword [esp + 8]
mov edx, dword [esp + 4]
jmp 0x402a77
lea eax, [esp + 0x26b]
mov dword [esp + 4], eax
lea eax, [esp + 0x26c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp], 0x40
mov dword [esp + 0x14], edx
mov esi, ebx
je 0x401919
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
je 0x4019a1
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ebx, 0xffffffff
mov eax, dword [esp + 0xc]
mov cl, ah
shl ebx, cl
not ebx
and ebx, esi
mov edx, dword [esp + 0x18]
mov cl, dh
mov eax, dword [esp + 0x14]
shrd esi, eax, cl
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + ebx]
mov ebx, dword [esp + 0x2c]
mov esi, ebx
mov byte [ebx - 1], cl
mov cl, dh
shr eax, cl
mov dword [esp + 0xc], edx
test dh, 0x20
jne 0x401970
mov ebx, dword [esp + 4]
mov edx, eax
jmp 0x401974
mov ebx, eax
xor edx, edx
mov eax, esi
lea ecx, [esi - 1]
mov dword [esp + 4], ecx
mov ecx, ebx
or ecx, edx
jne 0x4018f0
lea ecx, [esp + 0x26c]
sub ecx, dword [esp + 4]
cmp ecx, dword [esp + 8]
jl 0x4018f0
jmp 0x4018a4
and ebx, 0xfffffff0
mov dword [esp + 0x18], ebx
movzx ecx, byte [0x44f001]
xor cl, 0x34
mov byte [eax - 2], cl
add eax, 0xfffffffe
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
jmp 0x401921
mov byte [esp + 0x40], 0
test byte [esp], 8
je 0x4019db
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x18], 0x330
mov dword [esp + 0x28], str.0123456789ABCDEFXP
mov ecx, 3
test byte [esp], 0x20
je 0x40181b
jmp 0x401635
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401a10
mov edx, eax
mov esi, ecx
test ecx, ecx
jns 0x401a1b
mov esi, 0xffffffff
test dl, 3
je 0x40282d
lea ebx, [esi + edx]
test ecx, ecx
je 0x402a4e
cmp byte [edx], 0
je 0x4029d0
lea ecx, [edx + 1]
lea eax, [esi - 1]
test cl, 3
je 0x4029e9
test eax, eax
je 0x402a4e
cmp byte [ecx], 0
je 0x4036b7
lea ecx, [edx + 2]
lea eax, [esi - 2]
test cl, 3
je 0x4029e9
test eax, eax
je 0x402a4e
cmp byte [ecx], 0
je 0x4036b7
lea ecx, [edx + 3]
lea eax, [esi - 3]
test cl, 3
je 0x4029e9
test eax, eax
je 0x402a4e
cmp byte [ecx], 0
je 0x4036b7
lea ecx, [edx + 4]
add esi, 0xfffffffc
test cl, 3
je 0x4029eb
test esi, esi
je 0x401aad
mov ebx, ecx
mov edi, dword [esp + 0x24]
jmp 0x402a4e
mov byte [esp + 0x26b], dl
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x26b]
mov dword [esp], 0
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x30], 0
jmp 0x402a77
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x26b], al
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x26b]
jmp 0x402a73
mov eax, dword [esp + 0x1c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
test dword [esp], 0x100
jne 0x401f3c
jmp 0x4021ce
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
sub ecx, ebx
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x48]
jmp 0x403645
cmp byte [ecx + 2], 0x32
je 0x40221b
mov ecx, eax
jmp case.0x4012de.74
mov dword [esp + 0x48], eax
jmp 0x4012ed
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x26c]
jmp 0x402a73
xor ecx, ecx
mov eax, dword [esp + 0x28]
or eax, esi
je 0x401bc9
mov ecx, 0xfffffc02
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x28]
shld esi, eax, 8
shl eax, 8
cmp dword [esp + 0x50], 0xe
mov dword [esp + 0x58], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
jg 0x401c41
mov edx, dword [esp + 0x50]
mov eax, edx
or eax, 4
mov ecx, edx
and ecx, 4
imul eax, ecx
and edx, 0xfb
xor ecx, 4
imul ecx, edx
add ecx, eax
xor edx, edx
mov eax, 0x8000000
shrd edx, eax, cl
shr eax, cl
test cl, 0x20
je 0x401c1f
mov edx, eax
xor eax, eax
mov ebx, dword [esp + 0x28]
mov ecx, ebx
xor ecx, edx
and ebx, edx
mov edx, esi
xor edx, eax
and esi, eax
shld esi, ebx, 1
add ebx, ebx
add ebx, ecx
mov dword [esp + 0x28], ebx
adc esi, edx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xc]
movzx eax, bl
lea ecx, [esp + 0x40]
mov word [eax + ecx + 1], 0x7830
or bl, 2
mov byte [esp + 0x40], bl
mov eax, esi
shr eax, 0x1c
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + eax]
mov byte [esp + 0xac], al
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x401d3d
movzx eax, byte [section..data]
xor al, 0xae
mov byte [esp + 0xad], al
lea eax, [esp + 0xae]
mov dword [esp + 0x10], eax
mov ebx, ecx
cmp ecx, 0xd
jb 0x401ca1
mov ebx, 0xd
mov dword [esp + 0x14], 0
cmp ecx, ebx
jle 0x401cc3
mov eax, ecx
not eax
and eax, ebx
mov edx, ebx
not edx
and edx, ecx
sub edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov eax, ebx
and eax, 3
je 0x402223
mov dword [esp + 0xc], ebx
xor edx, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
nop
nop
nop
nop
mov ebx, esi
shr ebx, 0x18
and ebx, 0xf
mov ecx, dword [esp + 4]
movzx ebx, byte [ecx + ebx]
shld esi, eax, 4
mov byte [esp + edx + 0xae], bl
shl eax, 4
inc edx
cmp dword [esp + 8], edx
jne 0x401ce0
mov dword [esp + 0x28], eax
lea eax, [esp + 0xae]
add eax, edx
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0xc]
sub ebx, edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
cmp ecx, 4
jae 0x402237
lea ebx, [esp + 0xae]
mov esi, dword [esp + 0x14]
jmp 0x4022c1
lea eax, [esp + 0xad]
mov dword [esp + 0x10], eax
xor esi, esi
mov ebx, eax
mov dword [esp + 0x54], eax
jmp 0x4022c1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov edx, esi
test esi, 0x100
mov dword [esp], esi
jne 0x401f0c
movzx eax, byte [0x44f001]
xor al, 0x34
mov byte [esp + 0xc], al
mov esi, 0x200
mov ecx, ebx
xor edx, edx
nop
nop
nop
nop
mov dword [esp + 0x28], edx
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x14]
mov eax, edx
sbb eax, 0
jb 0x401dd0
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040caf0
mov dword [esp + 0x14], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov ecx, ebx
mov dword [esp + 0x2c], eax
jmp 0x401de0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x64]
lea ebx, [eax + esi]
test byte [esp], 0x40
jne 0x401e40
mov dword [esp + 4], ebx
nop
nop
nop
nop
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 + 0x6a], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x401e00
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 4]
jmp 0x401eb0
test ecx, ecx
mov edx, dword [esp + 0x28]
jne 0x401e7e
jmp 0x401eb0
mov dword [esp + 4], ebx
mov ebx, edx
mov eax, ecx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ecx, eax
or cl, 0x30
mov byte [esp + esi + 0x6b], cl
dec esi
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x401eb0
test byte [esp], 0x40
je 0x401e50
cmp edx, 3
je 0x401e90
mov dword [esp + 4], ebx
inc edx
jmp 0x401e54
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x6b], al
dec esi
dec ebx
xor edx, edx
test ecx, ecx
jne 0x401e7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x2c]
mov eax, ecx
or eax, dword [esp + 0x14]
lea eax, [esp + esi + 0x6c]
jne 0x401edd
jmp 0x401f82
inc edx
mov byte [esp + esi + 0x6b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, ebx
je 0x401d90
test byte [esp], 0x40
je 0x401ed1
cmp edx, 3
jne 0x401ed0
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x6b], al
dec esi
dec ebx
xor edx, edx
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, ebx
jne 0x401ee5
jmp 0x401d90
mov eax, 1
cmp ecx, 0xffffffff
je 0x401f18
mov eax, ecx
cmp ebx, 0x400
mov esi, dword [esp + 0x14]
mov ecx, esi
sbb ecx, 0
mov ecx, 0
jb 0x401f30
mov ecx, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
fild qword [esp + 0x60]
xor eax, eax
mov edx, dword [esp]
test edx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp edx, 0x3ffffff
ja 0x401f7b
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402149
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402149
fstp st(0)
fstp st(0)
jmp 0x4021ce
mov dword [esp + 4], eax
cmp byte [esp + esi + 0x6c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp], 0
js 0x401fb9
mov dl, 0x20
test byte [esp], 4
jne 0x401fb9
mov dl, 0x2b
test byte [esp], 2
je 0x401fc2
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
mov edx, dword [esp + 4]
add edx, eax
lea eax, [esp + 0x26c]
sub eax, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
jne 0x401fff
mov byte [esp + 0x26b], 0x30
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], 1
lea edx, [esp + 0x26b]
xor esi, esi
mov eax, dword [esp + 8]
test eax, eax
jg 0x40200b
xor eax, eax
add dword [esp + 0xc], 0x3000000
mov ebx, eax
jmp 0x402a77
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, ebx
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 4], eax
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, dword [esp + 4]
mov byte [esp + 0x34], dl
mov byte [esp + edx + 0x34], bl
add al, 0x30
mov byte [esp + edx + 0x33], al
cmp esi, 0x64
jb 0x4020da
mov ebx, edx
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 + 0x34]
mov byte [ebx + eax - 2], dl
mov esi, dword [esp + 0x14]
sub esi, dword [esp + 0x2c]
inc esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], 0x3000001
mov edx, dword [esp + 8]
jmp 0x4029b0
mov eax, ecx
add dword [esp + 0x1c], 8
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x40212b
cmp ecx, dword [esp + 0x14]
jg 0x40212b
test ecx, ecx
jle 0x402447
mov esi, edx
sub esi, ecx
jg 0x402458
xor esi, esi
jmp 0x402458
cmp eax, edx
jle 0x402137
mov esi, edx
dec esi
jmp 0x40140c
xor esi, esi
sub eax, 1
jb 0x40140c
mov esi, eax
jmp 0x40140c
mov edx, ecx
fdiv st(2), st(0)
mov eax, dword [esp]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x4021c5
fucom st(2)
fnstsw ax
sahf
jbe 0x40216f
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021c5
fdiv st(2), st(0)
mov eax, dword [esp]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x4021c5
fucom st(2)
fnstsw ax
sahf
jbe 0x402193
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021c5
fdiv st(2), st(0)
mov eax, dword [esp]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x4021c5
fucom st(2)
fnstsw ax
sahf
jbe 0x4036be
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4036be
fstp st(0)
fstp st(0)
mov dword [esp], ecx
mov ecx, edx
mov esi, 6
cmp ecx, 0xffffffff
je 0x4021da
mov esi, ecx
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
call fcn.00403720
add esp, 0x18
test eax, eax
je 0x402458
or dword [esp], 0x80
jmp 0x402458
add ecx, 3
jmp case.0x4012de.74
lea eax, [esp + 0xae]
mov dword [esp + 0x54], eax
cmp ecx, 4
jb 0x401d2d
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], ebx
mov ebx, esi
shr ebx, 0x18
and ebx, 0xf
mov eax, dword [esp + 4]
movzx ebx, byte [eax + ebx]
mov byte [edx], bl
mov ebx, esi
shr ebx, 0x14
and ebx, 0xf
movzx ebx, byte [eax + ebx]
mov byte [edx + 1], bl
mov ebx, esi
shr ebx, 0x10
and ebx, 0xf
movzx ebx, byte [eax + ebx]
mov byte [edx + 2], bl
mov ebx, esi
mov esi, dword [esp + 8]
shld esi, ecx, 0x10
shl ecx, 0x10
shr ebx, 0xc
and ebx, 0xf
movzx ebx, byte [eax + ebx]
mov byte [edx + 3], bl
mov ebx, dword [esp + 0xc]
add edx, 4
mov dword [esp + 8], esi
add ebx, 0xfffffffc
jne 0x402250
mov dword [esp + 0x54], edx
lea ebx, [esp + 0xae]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
cmp dl, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x4022ff
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x40230d
cmp eax, 0x63
jbe 0x402423
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 4], 5
jmp 0x40231d
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x4022e4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 4], 6
mov dword [esp + 8], 0
mov dword [esp + 0x2c], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x2c]
mov ebx, 0x66666667
imul ebx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul ebx
mov eax, dword [esp + 0x2c]
sub eax, esi
mov ebx, dword [esp + 4]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], 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 + 0x33], cl
mov eax, dword [esp + 0x2c]
cmp byte [esp + 8], 0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
jne 0x402876
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
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x2c]
cmp eax, 0x3e8
jb 0x402876
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 + 0x34]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x402876
cmp eax, 9
jbe 0x40286b
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 8], ecx
jmp 0x402325
cmp eax, edx
jl 0x40244d
mov eax, edx
neg ecx
mov edx, eax
and edx, ecx
xor ecx, eax
lea esi, [ecx + edx*2]
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp], 0
js 0x40247a
mov al, 0x20
test byte [esp], 4
jne 0x40247a
mov al, 0x2b
test byte [esp], 2
je 0x402483
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4024a0
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x10]
jmp 0x402a73
test ecx, ecx
mov eax, esi
mov dword [esp + 0x14], esi
jle 0x40253c
mov dword [esp + 4], 0
test byte [esp], 0x40
je 0x4024d7
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub esi, eax
mov dword [esp + 4], esi
cmp ecx, dword [esp + 0x18]
jae 0x40267d
xor ecx, ecx
lea eax, [esp + 0xac]
jmp 0x40250c
mov esi, eax
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + ecx]
lea eax, [esi + 1]
mov byte [esi], dl
inc ecx
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jae 0x4026ee
test byte [esp], 0x40
je 0x4024f0
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 4], edx
cmp edx, 4
jne 0x4024f0
mov edx, dword [esp]
and edx, 0x40
shr edx, 6
mov dword [esp + 4], edx
movzx edx, byte [0x44f001]
xor dl, 0x34
mov byte [eax], dl
inc eax
jmp 0x4024f0
mov byte [esp + 0xac], 0x30
lea edx, [esp + 0xad]
test esi, esi
je 0x40256f
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0x5c
sub al, dl
add al, 0xae
mov byte [esp + 0xad], al
lea edx, [esp + 0xae]
neg ecx
mov ebx, esi
cmp esi, ecx
jl 0x402579
mov ebx, ecx
test ebx, ebx
mov dword [esp + 4], ebx
je 0x4025b6
mov eax, edx
and eax, 3
je 0x4025b6
mov esi, edx
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402596
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040ccf0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
inc edx
sub ebx, esi
mov esi, dword [esp + 0x14]
cmp ebx, 4
jl 0x4025f7
mov eax, ebx
cmp ebx, 7
jl 0x4025c7
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040ccf0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
add edx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x402611
push ebx
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040ccf0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, ebx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 4]
lea ecx, [eax + ebx]
cmp ecx, esi
jle 0x402628
mov eax, esi
sub eax, ebx
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xc], eax
je 0x402909
mov dword [esp + 8], esi
cmp esi, ecx
jl 0x402640
mov dword [esp + 8], ecx
mov ecx, eax
and ecx, 3
je 0x4028a9
xor esi, esi
nop
nop
nop
mov ebx, dword [esp + 0x10]
mov eax, edx
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
mov edx, eax
inc esi
cmp ecx, esi
jne 0x402650
add edx, esi
mov eax, edx
mov ecx, dword [esp + 0xc]
sub ecx, esi
mov ebx, dword [esp + 4]
jmp 0x4028ad
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xac]
jmp 0x4026d8
mov ecx, dword [esp]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44f001]
mov dword [esp + 8], edx
mov edx, ecx
add dl, cl
and dl, 0x68
sub cl, dl
add cl, 0x34
mov edx, dword [esp + 8]
mov byte [edx], cl
inc edx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
mov ecx, edx
inc edx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x18]
jae 0x40278c
test byte [esp], 0x40
je 0x4026bd
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
je 0x402692
mov dword [esp + 4], ecx
jmp 0x4026bd
mov dword [esp + 8], eax
cmp dword [esp + 0x14], 0
je 0x40271a
movzx edx, byte [section..data]
mov dh, dl
add dh, dl
and dh, 0x5c
sub dl, dh
add dl, 0xae
mov byte [esi + 1], dl
add esi, 2
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x18]
mov ebx, esi
sub ebx, edx
cmp ebx, dword [esp + 0x14]
mov ebx, esi
jbe 0x402735
mov esi, dword [esp + 0x14]
lea ebx, [edx + esi]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
jae 0x40275c
mov esi, dword [esp + 8]
nop
nop
nop
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + ecx]
mov byte [esi], dl
inc esi
inc ecx
mov ebx, dword [esp + 0x18]
cmp ecx, ebx
jb 0x402740
mov dword [esp + 8], esi
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xac]
sub eax, ecx
mov ecx, eax
and ecx, 0x3000000
xor eax, 0x3000000
lea eax, [eax + ecx*2]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
sub eax, ebx
mov esi, eax
add esi, edx
mov edx, dword [esp + 8]
jmp 0x40291b
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
sub ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
jbe 0x402834
test byte [esp], 0x40
jne 0x4029d4
cmp dword [esp + 0xc], eax
je 0x40364f
mov eax, edx
and eax, 3
je 0x40364f
mov ecx, 2
sub ecx, dword [esp + 0x2c]
and ecx, 3
mov eax, dword [esp + 0xc]
sub eax, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x28], ecx
cmp ecx, eax
mov ecx, dword [esp + 8]
jb 0x4027eb
mov ecx, eax
mov dword [esp + 8], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040ccf0
add esp, 0xc
add esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp esi, eax
jb 0x40280c
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
lea edx, [eax + ecx]
add edx, 2
mov eax, dword [esp + 0xc]
sub eax, esi
sub eax, ebx
mov ebx, eax
mov ecx, dword [esp + 4]
jmp 0x403653
mov ecx, edx
jmp 0x4029eb
mov esi, dword [esp + 0x14]
mov ecx, edx
lea eax, [esp + 0xac]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0xc], ecx
test esi, esi
je 0x4028a5
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0x5c
sub al, cl
add al, 0xae
mov byte [edx], al
inc edx
jmp 0x40291b
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x1c], 8
mov ecx, dword [esp + 0x54]
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xac]
sub ecx, eax
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov dword [esp + 0xc], 0x3000001
mov edx, eax
jmp 0x402a77
xor esi, esi
jmp 0x40291b
mov ecx, eax
mov eax, edx
mov edx, ebx
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
mov edx, eax
ja 0x402909
mov eax, edx
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
mov edx, eax
add edx, 4
add ecx, 0xfffffffc
jne 0x4028ba
add ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
sub esi, ebx
mov dword [esp + 0xc], 0x3000001
test dword [esp], 0x100
je 0x4029b0
mov ecx, dword [esp]
mov eax, ecx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp ecx, 0x1000000
jb 0x4029b0
mov dword [esp + 8], edx
mov edx, dword [esp]
mov ecx, edx
shr ecx, 0x18
test edx, 0x800
jne 0x40297a
movzx ecx, byte [ecx + str._kMGT]
mov edx, dword [esp]
shr edx, 0xa
or edx, 0xfffffffe
neg edx
mov byte [esp + edx + 0x34], cl
cmp eax, 1
mov eax, 0
adc al, 1
jmp 0x4029a8
movzx ecx, byte [ecx + str._KMGT]
mov edx, eax
shr edx, 0xa
neg edx
mov byte [esp + edx + 0x36], cl
cmp eax, 1
mov eax, 0
adc al, 1
test dword [esp], 0x1000
jne 0x4029a8
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov edx, dword [esp + 8]
mov byte [esp + 0x34], al
mov eax, edx
lea ecx, [esp + 0xac]
xor eax, ecx
and edx, dword [esp + 0x5c]
add edx, edx
sub edx, eax
mov dword [esp + 0x18], edx
xor ebx, ebx
mov edx, ecx
jmp 0x402a77
mov ebx, edx
jmp 0x402a4e
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x403694
jmp 0x402838
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ecx
mov eax, ecx
mov dword [esp + 4], edx
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x402a2b
mov edx, dword [ebx]
mov eax, edx
not eax
add edx, 0xfefefeff
and edx, eax
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, dword [esp + 4]
je 0x402a00
jmp 0x402a2f
test ecx, ecx
je 0x402a4e
mov eax, edx
mov esi, dword [esp + 0xc]
add esi, dword [esp + 0x14]
xor edx, edx
cmp byte [ebx + edx], 0
je 0x402a4a
inc edx
cmp ecx, edx
jne 0x402a3b
mov ebx, esi
jmp 0x402a4c
add ebx, edx
mov edx, eax
sub ebx, edx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
add dword [esp + 0x1c], 4
mov dword [esp + 0xc], 0
xor esi, esi
xor ebx, ebx
mov dword [esp + 4], edx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x18]
cmp ebx, ecx
jg 0x402a89
mov ebx, ecx
movsx eax, byte [esp + 0x40]
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 8], ebx
add edx, ebx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x30]
cmp esi, edx
jg 0x402aab
mov esi, edx
sub esi, edx
mov edx, dword [esp + 8]
sub edx, ecx
mov ecx, edx
test byte [esp], 1
jne 0x402acf
test byte [esp], 0x10
mov edx, dword [esp + 4]
jne 0x402ad9
mov dword [esp + 8], ecx
and dword [esp], 0xffffffae
jmp 0x402ae5
mov dword [esp + 8], ecx
mov edx, dword [esp + 4]
jmp 0x402ae5
cmp esi, ecx
jg 0x402adf
mov esi, ecx
mov dword [esp + 8], esi
xor esi, esi
mov ecx, esi
add ecx, dword [esp + 8]
je 0x402fbc
test byte [esp], 1
jne 0x402c3b
test esi, esi
jg 0x402b1e
jmp 0x402c3b
mov edx, dword [esp + 4]
sub esi, ebx
test esi, esi
jle 0x402c36
mov ecx, dword [esp + 0x20]
sub ecx, edi
add ecx, 0x200
mov eax, esi
cmp esi, ecx
jl 0x402b32
mov eax, ecx
mov ebx, esi
cmp dword [ebp + 8], 0
je 0x402b3c
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], esi
je 0x402b90
mov eax, edi
and eax, 3
je 0x402b90
mov eax, ebx
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402b5f
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040ccf0
mov ecx, ebx
add esp, 0xc
add edi, esi
inc edi
sub ecx, esi
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x24]
cmp ecx, 4
jge 0x402b97
jmp 0x402bd7
mov ecx, ebx
cmp ecx, 4
jl 0x402bd7
mov eax, ecx
cmp ecx, 7
jl 0x402ba3
mov eax, 7
neg eax
lea esi, [ecx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
mov ebx, ecx
call fcn.0040ccf0
mov ecx, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub ecx, esi
add ecx, 0xfffffffc
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x24]
test ecx, ecx
je 0x402bf3
push ecx
push 0x20
push edi
mov esi, ecx
call fcn.0040ccf0
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x402b14
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402b10
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x402b10
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
test al, al
jne 0x402cad
mov eax, dword [esp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x24], ecx
xor esi, esi
test byte [esp], 0x40
je 0x402c7a
and eax, 0xffffff
add eax, dword [esp + 8]
mov esi, dword [esp + 0x24]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ebx, ebx
jg 0x402de0
lea eax, [esp + 0x41]
mov dword [esp + 0x10], eax
jmp 0x402fd0
movzx eax, byte [esp + 0x40]
test al, al
mov edx, dword [esp + 4]
je 0x402c4b
movsx ecx, al
mov ebx, ecx
cmp dword [ebp + 8], 0
je 0x402cd8
mov ebx, edi
sub ebx, dword [esp + 0x20]
mov edx, ebx
xor edx, 0x200
not ebx
and ebx, 0x200
add ebx, ebx
sub ebx, edx
cmp ebx, ecx
jl 0x402cd8
mov ebx, ecx
sub ecx, ebx
mov byte [esp + 0x40], cl
test ebx, ebx
je 0x402d7b
mov ecx, ebx
and ecx, 3
je 0x402dc0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x402d00
add edi, edx
mov ecx, ebx
sub ecx, edx
cmp ebx, 4
jb 0x402d7b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402d30
cmp dword [ebp + 8], 0
je 0x402ca0
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ca0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x402ca0
mov ecx, ebx
cmp ebx, 4
jae 0x402d30
jmp 0x402d7b
mov ebx, dword [esp + 8]
sub ebx, dword [esp + 0xc]
test ebx, ebx
jle 0x402fb3
mov eax, ebx
mov dword [esp + 0xc], ebx
cmp dword [ebp + 8], 0
je 0x402e05
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0xc], ebx
cmp ebx, eax
jl 0x402e05
mov dword [esp + 0xc], eax
test byte [esp], 0x40
mov dword [esp + 8], ebx
jne 0x402e60
cmp dword [esp + 0xc], 0
je 0x402e70
mov eax, edi
and eax, 3
je 0x402e70
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402e31
mov ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040ccf0
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 4]
cmp ebx, 4
jge 0x402e79
jmp 0x402eb4
mov ebx, dword [esp + 0xc]
jmp 0x402eb4
mov ebx, dword [esp + 0xc]
cmp ebx, 4
jl 0x402eb4
mov eax, ebx
cmp ebx, 7
jl 0x402e85
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.0040ccf0
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 4]
test ebx, ebx
je 0x402f00
test bl, 1
jne 0x402ed0
mov eax, ebx
cmp ebx, 1
jne 0x402f5f
jmp 0x402f00
mov al, 0x30
test byte [esp], 0x40
je 0x402eec
cmp esi, dword [esp + 0x24]
jne 0x402eeb
movzx eax, byte [0x44f001]
xor al, 0x34
xor esi, esi
jmp 0x402eec
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402f5f
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402dd0
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402dd0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
jmp 0x402dd0
mov edx, dword [esp + 4]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f00
mov cl, 0x30
test byte [esp], 0x40
je 0x402f81
cmp esi, dword [esp + 0x24]
jne 0x402f80
movzx edx, byte [0x44f001]
xor dl, 0x34
xor esi, esi
jmp 0x402f83
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp], 0x40
je 0x402f50
cmp esi, dword [esp + 0x24]
mov edx, dword [esp + 4]
jne 0x402fb0
movzx ecx, byte [0x44f001]
xor cl, 0x34
xor esi, esi
jmp 0x402f54
inc esi
jmp 0x402f54
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
test al, al
jne 0x4033f7
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x40314a
mov edx, dword [esp + 0x14]
test edx, edx
mov esi, dword [esp + 0x30]
jne 0x4032fe
lea eax, [esp + 0x35]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x34]
test al, al
je 0x4034bc
movsx ecx, al
mov edx, dword [esp + 0x20]
sub edx, edi
add edx, 0x200
cmp edx, ecx
jl 0x403022
mov edx, ecx
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x40302c
mov eax, edx
mov edx, ecx
not edx
and edx, eax
mov ebx, eax
not ebx
and ebx, ecx
sub ebx, edx
mov byte [esp + 0x34], bl
test eax, eax
je 0x4030db
mov ecx, eax
and ecx, 3
je 0x403130
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea ebx, [esi + 1]
mov dword [esp + 0x10], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403060
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x30]
cmp eax, 4
jb 0x4030db
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403090
cmp dword [ebp + 8], 0
je 0x403000
mov eax, edi
mov ebx, dword [esp + 0x20]
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x403000
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x403000
mov ecx, eax
cmp eax, 4
jae 0x403090
jmp 0x4030db
sub esi, dword [esp + 0x24]
je 0x402fdc
mov ecx, dword [esp + 0x20]
sub ecx, edi
add ecx, 0x200
mov eax, esi
cmp esi, ecx
jl 0x40315e
mov eax, ecx
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x403168
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0x24], ecx
jl 0x4031c0
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x4031c4
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403190
add edi, edx
mov ecx, dword [esp + 0x24]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
cmp ebx, 0x1c
jae 0x4031d0
jmp 0x403211
mov eax, ecx
jmp 0x403211
cmp ebx, 0x1c
jb 0x403211
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4031d0
test eax, eax
je 0x403291
mov ecx, eax
and ecx, 7
je 0x4032e0
mov dword [esp + 4], esi
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403230
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 4]
cmp eax, 8
jb 0x403291
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403250
cmp dword [ebp + 8], 0
je 0x403140
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403140
mov ebx, esi
mov esi, edx
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, esi
mov esi, ebx
jmp 0x403140
mov ecx, eax
cmp eax, 8
jae 0x403250
jmp 0x403291
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x24]
je 0x402fec
mov ecx, dword [esp + 0x20]
sub ecx, edi
add ecx, 0x200
mov eax, edx
cmp edx, ecx
jl 0x403312
mov eax, ecx
mov esi, edx
cmp dword [ebp + 8], 0
je 0x40331c
mov esi, eax
test esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], esi
je 0x403351
mov eax, edi
and eax, 3
je 0x403351
mov ebx, edi
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x40333d
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040ccf0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
cmp esi, 4
jl 0x403386
mov eax, esi
cmp esi, 7
jl 0x403362
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
call fcn.0040ccf0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
test esi, esi
je 0x403398
push esi
push 0x30
push edi
call fcn.0040ccf0
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x4032f0
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4032f0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x4032f0
mov edi, eax
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x40]
test al, al
mov edx, dword [esp + 4]
je 0x402fcc
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403413
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
cmp eax, ecx
jl 0x403413
mov eax, ecx
sub ecx, eax
mov byte [esp + 0x40], cl
test eax, eax
je 0x403479
test al, 1
jne 0x403430
mov ecx, eax
cmp eax, 1
jne 0x403450
jmp 0x403479
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
inc edi
mov ecx, eax
not ecx
lea ecx, [ecx + eax*2]
cmp eax, 1
je 0x403479
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
add edi, 2
add ecx, 0xfffffffe
jne 0x403450
cmp dword [ebp + 8], 0
je 0x4033e6
mov ecx, edi
mov edx, dword [esp + 0x20]
xor ecx, edx
mov eax, edx
not eax
and eax, edi
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
jl 0x4033e6
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4033e0
jmp 0x4036f5
mov ecx, dword [esp]
mov eax, ecx
or eax, 1
xor ecx, 0xfffffffe
test eax, ecx
je 0x40363d
test esi, esi
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
jle 0x403645
jne 0x4034fc
jmp 0x403645
mov eax, dword [esp + 0x48]
sub esi, ecx
je 0x403645
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x403531
mov ecx, ebx
xor ecx, edi
mov eax, ebx
not eax
and eax, edi
add eax, eax
sub eax, ecx
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, esi
cmp esi, eax
jl 0x40352d
mov ecx, eax
mov eax, dword [esp + 0x48]
test ecx, ecx
mov dword [esp], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], esi
je 0x4035d0
mov eax, edi
and eax, 3
je 0x403580
mov ebx, edi
not ebx
and ebx, 3
lea esi, [ecx - 1]
cmp ebx, esi
jb 0x40355b
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040ccf0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x20]
jmp 0x403582
mov esi, ecx
mov eax, dword [esp + 0x48]
cmp esi, 4
jl 0x4035e0
mov eax, esi
cmp esi, 7
jl 0x403597
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push edi
call fcn.0040ccf0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
test esi, esi
jne 0x4035e4
jmp 0x4035f6
mov esi, ecx
cmp esi, 4
jge 0x40358b
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x4035f6
push esi
push 0x20
push edi
call fcn.0040ccf0
mov eax, dword [esp + 0x54]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x30]
mov ecx, dword [esp]
cmp dword [ebp + 8], 0
je 0x4034f4
mov eax, edi
sub eax, ebx
cmp eax, 0x1ff
jl 0x4034f0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036f5
mov edi, eax
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp]
jmp 0x4034f4
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], edi
inc eax
jmp 0x401059
mov ebx, dword [esp + 8]
cmp ebx, 4
jb 0x40367a
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040ccf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 0xc
and ebx, 3
add edx, esi
mov esi, dword [esp + 0x14]
test ebx, ebx
jne 0x403694
jmp 0x402838
mov byte [edx], 0x30
dec ebx
inc edx
test ebx, ebx
je 0x402838
test byte [esp], 0x40
je 0x403687
inc ecx
cmp ecx, 4
jne 0x403687
movzx eax, byte [0x44f001]
xor al, 0x34
mov byte [edx], al
xor ecx, ecx
inc edx
test ebx, ebx
jne 0x403694
jmp 0x402838
mov ebx, ecx
jmp 0x402a4e
fstp st(1)
fdivp st(1)
or dword [esp], 0x4000000
jmp 0x4021cc
cmp dword [ebp + 8], 0
je 0x4036fb
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, ebx
test eax, eax
jle 0x403702
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
mov ecx, eax
mov ebx, eax
jmp 0x403702
xor ecx, ecx
xor ebx, ebx
jmp 0x403702
mov ecx, dword [esp + 0x24]
mov byte [ecx], 0
mov eax, dword [esp + 0x4c]
add eax, ecx
sub eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret