Function at 0x401000
Capabilities:
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, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
xor edi, edi
mov ebx, esi
jmp 0x40103a
mov ecx, edi
mov edi, dword [esp + 0x28]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x28], edi
test cl, 3
mov dword [esp + 0x10], esi
mov edi, ecx
je 0x401050
movzx eax, byte [ecx]
jmp 0x40106e
mov eax, dword [ecx]
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 0x401124
mov esi, dword [esp + 0x10]
mov ecx, edi
test al, al
mov edi, dword [esp + 0x28]
je 0x403850
cmp dword [ebp + 8], 0
je 0x401036
mov edi, ecx
mov ecx, esi
sub ecx, ebx
lea edx, [ecx + 1]
cmp edx, 0x200
jl 0x401030
add dword [esp + 0x28], ecx
push ecx
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403886
mov esi, eax
mov ecx, edi
movzx eax, byte [edi]
mov ebx, esi
jmp 0x401032
mov ecx, ebx
sub ecx, esi
add ecx, 0x200
jmp 0x401102
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x10], 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 0x40106e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401076
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x10]
je 0x4010d0
cmp ecx, 4
jge 0x4010d0
jmp 0x40106e
mov ecx, edi
add ecx, 2
xor edi, edi
jmp 0x401143
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edi, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401154.33
mov edx, 2
jmp dword [esi*4 + 0x44d564]
mov edx, 4
jmp case.0x401154.43
mov edx, 0x400
jmp case.0x401154.43
mov edx, 0x100
mov eax, edi
test edi, 0x100
je case.0x401154.43
mov edx, edi
and edx, 0x800
add edx, 0x800
jmp case.0x401154.43
mov edx, 8
jmp case.0x401154.43
mov edx, 0x40
jmp case.0x401154.43
mov edx, edi
or edx, 0x10
movzx eax, byte [ecx]
jmp 0x4011a3
dec ecx
mov edx, edi
cmp al, 0x2a
mov esi, dword [esp + 0x10]
jne 0x4011c3
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
mov dword [esp + 0x50], edi
add eax, 4
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401203
mov dword [esp + 0x14], edx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x50], 0
cmp dl, 9
ja 0x4011ff
xor edi, edi
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 0x4011e0
mov dword [esp + 0x50], edi
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], 0xffffffff
cmp al, 0x2e
jne 0x40128f
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401233
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
add dword [esp + 0x30], 4
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x40128f
mov dword [esp + 0x14], edx
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x24], 0
cmp dl, 9
ja 0x401287
xor esi, esi
nop
nop
nop
nop
mov edi, esi
and edi, 0xa
mov edx, esi
or esi, 0xa
imul esi, edi
xor edi, 0xa
and edx, 0xfffffff5
imul edx, edi
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 0x401250
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40129a.74
jmp dword [eax*4 + 0x44d664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x1c], ebx
ja case.0x4012c0.67
jmp dword [eax*4 + 0x44d72c]
mov eax, edx
xor eax, 0xffffffdf
mov ecx, edx
or ecx, 0x20
test ecx, eax
je 0x40175b
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 8]
mov dword [esp + 8], eax
mov eax, dword [ecx]
mov dword [esp + 4], eax
mov eax, dword [ecx + 4]
cmp byte [esp + 0x18], 0x75
je 0x401bde
test eax, eax
jns 0x401bde
neg dword [esp + 4]
mov ecx, 0
sbb ecx, eax
or edx, 0x80
mov dword [esp + 0xc], ecx
jmp 0x401be2
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401747
or edx, 0x20
add ecx, 2
jmp case.0x40129a.74
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401bbe
mov dword [esp + 0x18], eax
cmp eax, 0x36
jne 0x401bd1
cmp byte [ecx + 2], 0x34
jne 0x401bc8
or edx, 0x20
add ecx, 3
jmp case.0x40129a.74
cmp byte [ecx + 1], 0x68
je 0x40174d
inc ecx
or edx, 0x200
jmp case.0x40129a.74
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x18], 0x45
je 0x40138e
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov edi, edx
mov eax, dword [esp + 0x30]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 0x24]
cmp ecx, 0xffffffff
je 0x4013aa
mov eax, ecx
mov dword [esp + 4], eax
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 + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
call fcn.004038a0
add esp, 0x18
mov edx, edi
test eax, eax
je 0x4013e9
or edx, 0x80
add dword [esp + 0x30], 8
mov ecx, ebx
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x40140e
mov al, 0x20
test dl, 4
jne 0x40140e
mov al, 0x2b
test dl, 2
je 0x401417
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
cmp eax, 0x7000
jne 0x401604
mov dword [esp + 0x18], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov ebx, ecx
jmp 0x402b0b
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x18], 0x41
je 0x401456
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov dword [esp + 0x48], 6
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x40146f
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401480
or edx, 0x80
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
mov al, 0x2d
test dl, dl
js 0x4015bc
mov al, 0x20
test dl, 4
jne 0x4015bc
mov al, 0x2b
test dl, 2
jne 0x4015bc
mov dword [esp + 8], 0
jmp 0x4015c6
mov dword [esp + 4], str.0123456789ABCDEFXP
mov eax, dword [esp + 0x18]
cmp al, 0x42
je 0x4014cb
mov dword [esp + 4], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test dl, 8
je 0x4014ea
cmp al, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x2c], 0x180
mov ecx, 1
jmp 0x401824
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x18], 0x47
je 0x40150d
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov edi, edx
mov eax, dword [esp + 0x30]
fld qword [eax]
mov ecx, dword [esp + 0x24]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401531
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
call fcn.004038a0
add esp, 0x18
test eax, eax
je 0x40156d
or edi, 0x80
mov eax, dword [esp + 0x2c]
cmp eax, esi
jb 0x401577
mov eax, esi
mov dword [esp + 0x14], edi
mov ecx, eax
mov dword [esp + 4], eax
cmp eax, 2
jb 0x4017a6
mov edx, dword [esp + 0x20]
mov ecx, esi
mov edi, dword [esp + 4]
cmp byte [edx + edi - 1], 0x30
jne 0x40206e
lea eax, [ecx - 1]
dec edi
mov dword [esp + 4], edi
cmp edi, 2
jb 0x402070
cmp ecx, 1
mov ecx, eax
jne 0x401590
jmp 0x402070
mov byte [esp + 0x41], al
mov al, 1
mov dword [esp + 8], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0x14], edx
je 0x401e48
add ecx, 0xfffffc01
mov dword [esp + 0x24], ecx
mov eax, 0xffffffff
add edi, eax
mov eax, 0xfffff
adc esi, eax
add edi, 1
adc esi, 0
jmp 0x401e5d
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
movzx ecx, byte [ebx]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
test edx, edx
je 0x401652
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0x42
sub cl, dl
mov edx, dword [esp + 4]
add cl, 0xa1
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 1]
cmp ecx, edx
jbe 0x401670
mov ecx, edx
and ecx, 1
mov edx, dword [esp + 4]
xor edx, 1
lea eax, [edx + ecx*2]
mov dword [esp + 0x2c], eax
cmp eax, 2
mov dword [esp + 0x18], eax
jb 0x401722
lea ecx, [eax - 1]
lea esi, [eax - 2]
mov edx, 1
cmp esi, 7
jb 0x4016f5
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 8]
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 0x4016a0
add edi, edx
mov dword [esp + 8], edi
inc edx
and ecx, 7
je 0x401722
add ebx, edx
xor edx, edx
mov esi, dword [esp + 8]
nop
nop
nop
nop
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 0x401710
add esi, edx
mov dword [esp + 8], esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x401f9c
dec eax
mov byte [esp + 0x36], 0x2b
mov esi, eax
jmp 0x401fa8
inc ecx
jmp 0x4012a5
add ecx, 2
or edx, 0x200
jmp case.0x40129a.74
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
cmp byte [esp + 0x18], 0x75
je 0x4027bb
test ecx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x24]
jns 0x4022f5
neg eax
mov dword [esp + 4], eax
or edx, 0x80
test edx, 0x100
jne 0x402305
jmp 0x401bfa
mov eax, esi
jmp 0x402070
and edx, 0xffffffef
mov dword [esp + 0x24], 8
mov dword [esp + 4], str.0123456789ABCDEFXP
mov eax, dword [esp + 0x18]
cmp al, 0x58
je 0x4017d0
mov dword [esp + 4], str.0123456789abcdefxp
mov dword [esp + 0x2c], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test dl, 8
je 0x401824
cmp al, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
jmp 0x401824
mov byte [esp + 0x40], 0
test dl, 8
je 0x40180f
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x2c], 0x330
mov dword [esp + 4], str.0123456789ABCDEFXP
mov ecx, 3
mov dword [esp + 0x14], edx
test dl, 0x20
jne 0x40183e
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x30], edx
xor esi, esi
jmp 0x40184e
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, edi
or edx, esi
jne 0x401871
mov byte [esp + 0x40], 0
cmp dword [esp + 0x24], 0
je 0x401e16
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov cl, ah
shrd edi, esi, cl
mov eax, dword [esp + 4]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x263], cl
mov eax, dword [esp + 0x18]
mov cl, ah
shr esi, cl
test ah, 0x20
je 0x4018a9
mov edi, esi
xor esi, esi
mov edx, dword [esp + 0x14]
mov ecx, edi
or ecx, esi
jne 0x4018cf
mov ecx, 1
cmp dword [esp + 0x24], 2
jge 0x4018cf
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
jmp 0x4019ba
mov ecx, edx
or ecx, 0x40
xor edx, 0xffffffbf
and edx, ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x263]
mov dword [esp + 8], ecx
lea edx, [esp + 0x264]
nop
cmp dword [esp + 0xc], 0
je 0x401920
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x2c], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
mov ecx, dword [esp + 8]
je 0x401930
mov dword [esp + 0x18], ebx
mov edx, ecx
jmp 0x40195a
mov edx, dword [esp + 8]
jmp 0x40195a
and ebx, 0xfffffff0
mov dword [esp + 0x2c], ebx
movzx ecx, byte [0x450001]
mov ch, cl
or ch, 0x56
not cl
or cl, 0xa9
and cl, ch
not cl
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov ebx, 0xffffffff
mov eax, dword [esp + 0x18]
mov cl, ah
shl ebx, cl
not ebx
and ebx, edi
mov eax, dword [esp + 0x2c]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + ebx]
mov byte [edx - 1], cl
mov cl, ah
shr esi, cl
mov dword [esp + 0x18], eax
test ah, 0x20
je 0x401990
mov edi, esi
xor esi, esi
lea ecx, [edx - 1]
mov dword [esp + 8], ecx
mov ecx, edi
or ecx, esi
mov ebx, dword [esp + 0x1c]
jne 0x4018f0
lea ecx, [esp + 0x264]
sub ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x24]
jl 0x4018f0
mov eax, dword [esp + 0x18]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], 0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
jmp 0x402b0d
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 8], str.null
test eax, eax
je 0x4019ff
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov ecx, eax
test eax, eax
jns 0x401a0e
mov ecx, 0xffffffff
test byte [esp + 8], 3
mov dword [esp + 4], ecx
je 0x4022ec
mov dword [esp + 0x24], eax
mov eax, dword [esp + 8]
add ecx, eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x24], 0
je 0x402848
mov eax, dword [esp + 8]
cmp byte [eax], 0
je 0x4028c0
mov eax, dword [esp + 8]
lea ecx, [eax + 1]
mov esi, dword [esp + 4]
mov eax, esi
not eax
lea esi, [eax + esi*2]
test cl, 3
je 0x4028c9
test esi, esi
je 0x402acc
cmp byte [ecx], 0
je 0x402ad6
mov eax, dword [esp + 8]
lea ecx, [eax + 2]
add esi, esi
sub esi, dword [esp + 4]
test cl, 3
je 0x4028c9
test esi, esi
je 0x402acc
cmp byte [ecx], 0
je 0x402ad6
mov eax, dword [esp + 8]
lea ecx, [eax + 3]
mov eax, esi
not eax
lea eax, [eax + esi*2]
test cl, 3
mov dword [esp + 4], eax
je 0x4028cd
test eax, eax
je 0x402acc
cmp byte [ecx], 0
je 0x402ad6
mov eax, dword [esp + 8]
lea ecx, [eax + 4]
mov eax, dword [esp + 4]
add eax, eax
sub eax, esi
mov dword [esp + 4], eax
test cl, 3
je 0x4028cd
cmp dword [esp + 4], 0
je 0x401ae9
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
jmp 0x402adc
mov eax, dword [esp + 0x18]
mov byte [esp + 0x263], al
mov dword [esp + 0x2c], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
xor edx, edx
mov dword [esp + 4], 0
xor ecx, ecx
mov dword [esp + 0x50], 0
jmp 0x402b0d
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x2c], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x263]
jmp 0x402498
mov eax, dword [esp + 0x30]
fld qword [eax]
add eax, 8
mov dword [esp + 0x30], eax
jmp 0x402340
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov ecx, edi
sub ecx, ebx
add ecx, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
add edx, 4
mov dword [esp + 0x30], edx
jmp 0x4036eb
cmp byte [ecx + 2], 0x32
je 0x4020e5
mov ecx, dword [esp + 0x4c]
jmp case.0x40129a.74
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
jmp 0x4012a5
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
test edx, 0x100
jne 0x402305
movzx ecx, byte [0x450001]
mov eax, ecx
xor al, 0xa9
mov byte [esp + 0x18], al
mov eax, ecx
add al, cl
and al, 0x52
sub cl, al
add cl, 0xa9
mov byte [esp + 8], cl
mov esi, 0x200
xor edi, edi
mov dword [esp + 0x14], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
cmp ecx, 0x5f5e100
mov ebx, dword [esp + 0xc]
mov eax, ebx
sbb eax, 0
jb 0x401c70
push 0
push 0x5f5e100
push ebx
push ecx
mov ebx, ecx
call fcn.0040cc00
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 4], eax
jmp 0x401c82
mov dword [esp + 0xc], 0
mov ebx, ecx
mov dword [esp + 4], 0
lea eax, [esp + 0x5c]
lea ecx, [eax + esi]
test dl, 0x40
jne 0x401d43
mov dword [esp + 0x48], ecx
mov ecx, ebx
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 + 0x62], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x401ca0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 4]
or eax, dword [esp + 0xc]
lea ebx, [esp + esi + 0x64]
je 0x401d67
cmp ebx, ecx
jne 0x401d05
jmp 0x401c30
inc edi
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x401c30
test dl, 0x40
je 0x401cf1
cmp edi, 3
jne 0x401cf0
movzx eax, byte [esp + 8]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edi, edi
jmp 0x401cf7
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 + 0x63], bl
dec esi
mov ebx, edx
mov edx, dword [esp + 0x14]
test ebx, ebx
je 0x401cd2
test dl, 0x40
je 0x401d21
cmp edi, 3
jne 0x401d20
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edi, edi
test ebx, ebx
jne 0x401d47
jmp 0x401cd2
mov dword [esp + 8], ebx
cmp byte [esp + esi + 0x64], 0x30
sete ch
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov bl, 0x2d
test dl, dl
js 0x401d9e
mov bl, 0x20
test byte [esp + 0x14], 4
jne 0x401d9e
mov bl, 0x2b
test byte [esp + 0x14], 2
je 0x401da7
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], bl
and cl, ch
movzx eax, cl
mov ebx, dword [esp + 8]
add ebx, eax
lea eax, [esp + 0x264]
mov dword [esp + 8], ebx
sub eax, ebx
mov ecx, eax
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x10]
jne 0x401deb
mov byte [esp + 0x263], 0x30
mov dword [esp + 0x2c], 1
mov ecx, 1
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
test eax, eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
jg 0x401e05
xor eax, eax
add ecx, 0x3000000
mov dword [esp + 0x18], ecx
mov ecx, eax
jmp 0x402b0d
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x264]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x402b0d
xor eax, eax
mov ecx, edi
or ecx, esi
je 0x401e55
mov eax, 0xfffffc02
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401e82
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x48], 0xf
jl 0x401e8d
xor ebx, ebx
xor edx, edx
shld esi, edi, 8
shl edi, 8
add edi, ebx
adc esi, edx
mov edx, dword [esp + 8]
movzx ecx, dl
lea eax, [esp + 0x40]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov edx, dword [esp + 0x48]
test edx, edx
je 0x401f86
mov dword [esp + 0x54], edi
movzx ecx, byte [section..data]
xor cl, 0xa1
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x20], eax
mov ecx, edx
cmp edx, 0xd
mov ebx, dword [esp + 0x24]
jb 0x401f01
mov ecx, 0xd
mov eax, edx
sub eax, ecx
jg 0x401f09
xor eax, eax
mov dword [esp + 4], eax
mov edx, ecx
and edx, 3
je 0x4020ed
mov dword [esp + 8], ecx
xor ebx, ebx
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x54]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + ebx + 0xa6], al
shl edi, 4
inc ebx
cmp edx, ebx
jne 0x401f30
mov dword [esp + 0x54], edi
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov ecx, dword [esp + 8]
sub ecx, ebx
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x48], 4
jae 0x4020ff
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 4]
jmp 0x402179
lea edx, [esp + 0xa5]
mov dword [esp + 0x20], edx
xor edi, edi
mov dword [esp + 0xc], edx
jmp 0x402175
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, eax
xor eax, eax
cmp esi, 0x64
setge al
mov edi, eax
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
mov ebx, esi
sub ebx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [edi + 4]
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], al
mov byte [esp + edi + 0x38], bl
mov edx, ecx
sub edx, dword [esp + 0xc]
add dl, 0x30
mov byte [esp + edi + 0x37], dl
cmp esi, 0x64
jl 0x402040
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x34]
mov esi, dword [esp + 0x24]
mov byte [esi + eax - 2], dl
mov eax, dword [esp + 4]
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 4], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], 0x3000001
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 8]
jmp 0x402ab7
mov eax, ecx
add dword [esp + 0x30], 8
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 0x14]
jl 0x4020b1
cmp ecx, esi
jg 0x4020b1
test ecx, ecx
jle 0x4022d3
sub dword [esp + 4], ecx
mov esi, dword [esp + 0x10]
jg 0x402459
mov dword [esp + 4], 0
jmp 0x402459
mov ecx, dword [esp + 4]
cmp eax, ecx
jle 0x4020c7
dec ecx
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x10]
jmp 0x4013ee
mov dword [esp + 4], 0
sub eax, 1
mov esi, dword [esp + 0x10]
jb 0x4013ee
mov dword [esp + 4], eax
jmp 0x4013ee
add ecx, 3
jmp case.0x40129a.74
lea edx, [esp + 0xa6]
cmp dword [esp + 0x48], 4
jb 0x401f72
mov ebx, esi
mov edi, dword [esp + 0x54]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 8], ecx
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0xc]
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 + 8]
mov byte [edx + 3], al
add edx, 4
mov esi, ebx
add ecx, 0xfffffffc
jne 0x402110
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
test ebx, ebx
js 0x402196
mov byte [esp + 0x36], 0x2b
jmp 0x40219d
mov byte [esp + 0x36], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp + 4], edi
mov dword [esp + 8], edx
ja 0x4021c0
cmp ebx, 0x63
jbe 0x4022b7
mov dword [esp + 0x18], 5
jmp 0x4021c8
mov dword [esp + 0x18], 6
mov dword [esp + 0x24], 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
mov edi, ebx
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 + 0x18]
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
cmp byte [esp + 0x24], 0
jne 0x402809
mov eax, edi
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 byte [ebx + eax - 2], cl
cmp edi, 0x3e8
jb 0x402809
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 + 0x34]
mov byte [ebx + eax - 3], cl
jmp 0x402809
cmp ebx, 9
jbe 0x4027fd
mov dword [esp + 0x18], 4
mov al, 1
mov dword [esp + 0x24], eax
jmp 0x4021d0
mov edi, dword [esp + 4]
cmp eax, edi
mov esi, dword [esp + 0x10]
jl 0x4022e1
mov eax, edi
sub eax, ecx
mov dword [esp + 4], eax
jmp 0x402459
mov ecx, dword [esp + 8]
jmp 0x4028cd
mov dword [esp + 4], eax
test edx, 0x100
je 0x401bfa
mov eax, 1
cmp ecx, 0xffffffff
je 0x402311
mov eax, ecx
mov dword [esp + 0x24], 0
cmp dword [esp + 4], 0x400
mov edi, dword [esp + 0xc]
mov ecx, edi
sbb ecx, 0
jb 0x402330
mov dword [esp + 0x24], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
fild qword [esp + 0x58]
mov eax, edx
xor eax, 0xfffffeff
mov ecx, edx
or ecx, 0x100
test ecx, eax
je 0x40240d
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x44d550]
cmp edx, 0x3ffffff
ja 0x40238f
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402393
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402393
fstp st(0)
fstp st(0)
jmp 0x40240d
fstp st(0)
jmp 0x40240d
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x402407
fucom st(2)
fnstsw ax
sahf
jbe 0x4023b5
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402407
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x402407
fucom st(2)
fnstsw ax
sahf
jbe 0x4023d7
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402407
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x402407
fucom st(2)
fnstsw ax
sahf
jbe 0x403841
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403841
fstp st(0)
fstp st(0)
mov edx, ecx
mov edi, edx
mov ecx, 6
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x40241f
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
call fcn.004038a0
add esp, 0x18
mov edx, edi
test eax, eax
je 0x402459
or edx, 0x80
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x402477
mov al, 0x20
test dl, 4
jne 0x402477
mov al, 0x2b
test dl, 2
je 0x402480
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4024a1
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
jmp 0x402b03
test ecx, ecx
mov dword [esp + 0x14], edx
jle 0x402520
xor esi, esi
test dl, 0x40
je 0x4024cb
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 + 0x14]
sub esi, eax
cmp ecx, dword [esp + 0x2c]
jae 0x4025ac
xor eax, eax
lea edi, [esp + 0xa4]
jmp 0x4024fa
mov edx, edi
mov ecx, dword [esp + 0x20]
movzx ecx, byte [ecx + eax]
inc edi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x402619
mov ecx, dword [esp + 0x14]
test cl, 0x40
je 0x4024e0
inc esi
cmp esi, 4
jne 0x4024e0
mov esi, ecx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x450001]
xor cl, 0xa9
mov byte [edi], cl
inc edi
jmp 0x4024e0
mov byte [esp + 0xa4], 0x30
lea edi, [esp + 0xa5]
mov edx, dword [esp + 4]
test edx, edx
je 0x40254e
movzx eax, byte [section..data]
xor al, 0xa1
mov byte [esp + 0xa5], al
lea edi, [esp + 0xa6]
neg ecx
mov esi, edx
cmp edx, ecx
jl 0x402558
mov esi, ecx
test esi, esi
mov dword [esp + 0xc], esi
je 0x40295f
mov dword [esp + 4], edx
lea eax, [esi + 3]
mov ebx, esi
xor esi, esi
mov dword [esp + 8], eax
lea eax, [edi + esi]
mov edx, eax
xor edx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, edx
je 0x402851
mov byte [edi + esi], 0x30
inc esi
mov eax, dword [esp + 8]
dec eax
dec ebx
cmp dword [esp + 0xc], esi
jne 0x40256f
add edi, esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 4]
jmp 0x40295f
mov dword [esp + 8], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edi, [esp + 0xa4]
jmp 0x4025eb
mov ecx, dword [esp + 0x20]
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 + 0x2c]
jae 0x4026be
test dl, 0x40
je 0x4025d0
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 4
jne 0x4025d0
mov ecx, edx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 8], ecx
movzx ecx, byte [0x450001]
xor cl, 0xa9
mov byte [edi], cl
inc edi
jmp 0x4025d0
mov esi, edi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0
je 0x402647
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x42
sub cl, ch
add cl, 0xa1
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 4]
jbe 0x40265f
mov edx, dword [esp + 4]
add edx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], edx
cmp eax, edx
mov esi, dword [esp + 0x10]
jae 0x402690
mov edx, dword [esp + 8]
nop
mov ecx, dword [esp + 0x20]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc eax
inc edx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jb 0x402670
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xa4]
sub edi, eax
add edi, 0x3000000
mov dword [esp + 0x18], edi
mov eax, dword [esp + 4]
sub eax, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 8]
jmp 0x402a28
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
sub ecx, eax
jbe 0x4027c4
test dl, 0x40
jne 0x402764
cmp dword [esp + 0xc], eax
je 0x402741
mov eax, edi
and eax, 3
je 0x402741
mov ecx, 2
sub ecx, dword [esp + 0x18]
and ecx, 3
mov eax, dword [esp + 0xc]
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jb 0x402706
mov edx, eax
mov dword [esp + 0x48], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
call fcn.0040ce00
add esp, 0xc
add esi, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x402727
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea edi, [eax + ecx]
add edi, 2
mov ecx, dword [esp + 0xc]
sub ecx, esi
sub ecx, ebx
mov edx, dword [esp + 0x14]
cmp ecx, 4
jb 0x402764
mov esi, ecx
and esi, 0xfffffffc
push esi
push 0x30
push edi
mov ebx, ecx
call fcn.0040ce00
mov ecx, ebx
mov edx, dword [esp + 0x20]
add esp, 0xc
add edi, esi
and ecx, 3
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x40277b
jmp 0x4027cc
mov byte [edi], 0x30
dec ecx
inc edi
test ecx, ecx
je 0x4027cc
test dl, 0x40
je 0x402772
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jne 0x402772
movzx eax, byte [0x450001]
mov dword [esp + 0x10], ecx
mov ecx, eax
or cl, 0x56
not al
or al, 0xa9
and al, cl
mov ecx, dword [esp + 0x10]
not al
mov byte [edi], al
mov dword [esp + 8], 0
inc edi
test ecx, ecx
jne 0x40277b
jmp 0x4027cc
mov dword [esp + 4], ecx
jmp 0x401bea
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, edi
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x18], ecx
cmp dword [esp + 4], 0
je 0x4028b3
movzx eax, byte [section..data]
xor al, 0xa1
mov byte [edi], al
inc edi
jmp 0x402a28
mov byte [esp + 0x34], 3
or bl, 0x30
mov byte [esp + 0x37], bl
add dword [esp + 0x30], 8
mov ecx, dword [esp + 8]
mov eax, ecx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x18], 0x3000001
mov dword [esp + 8], eax
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
jmp 0x402b0d
mov edi, dword [esp + 0xc]
jmp 0x402adc
mov ecx, eax
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, 4
mov edx, dword [esp + 4]
jl 0x40293d
cmp ebx, 7
jl 0x402870
mov ebx, 7
mov eax, dword [esp + 0xc]
sub eax, ebx
sub eax, esi
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x30
push ecx
call fcn.0040ce00
add esp, 0xc
mov eax, dword [esp + 8]
sub eax, ebx
and eax, 0xfffffffc
add edi, eax
add edi, esi
add edi, 4
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov eax, ecx
sub eax, esi
add eax, 0xfffffffc
mov edx, dword [esp + 4]
jmp 0x40293f
mov dword [esp + 4], 0
jmp 0x402a28
mov edi, dword [esp + 8]
jmp 0x402adc
mov dword [esp + 4], esi
mov esi, dword [esp + 4]
mov dword [esp + 0xc], ecx
mov eax, ecx
mov dword [esp + 0x14], edx
nop
nop
nop
nop
nop
mov edi, eax
mov ecx, esi
cmp esi, 4
jb 0x40290b
mov edx, dword [edi]
mov eax, edx
not eax
add edx, 0xfefefeff
and edx, eax
lea eax, [edi + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, dword [esp + 0x14]
je 0x4028e0
jmp 0x402913
test ecx, ecx
je 0x402ad8
mov eax, edx
mov edx, dword [esp + 4]
add dword [esp + 0xc], edx
xor edx, edx
mov esi, dword [esp + 0x10]
cmp byte [edi + edx], 0
je 0x402934
inc edx
cmp ecx, edx
jne 0x402923
mov edi, dword [esp + 0xc]
jmp 0x402936
add edi, edx
mov edx, eax
jmp 0x402adc
mov edi, ecx
test eax, eax
je 0x402957
push eax
push 0x30
push edi
mov esi, eax
call fcn.0040ce00
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi]
cmp ecx, edx
jle 0x402972
mov eax, edx
sub eax, esi
mov dword [esp + 0x2c], eax
test eax, eax
je 0x402a0e
mov dword [esp + 8], edx
cmp edx, ecx
jl 0x402986
mov dword [esp + 8], ecx
mov ecx, eax
and ecx, 3
je 0x4029b6
xor esi, esi
nop
mov ebx, dword [esp + 0x20]
lea edx, [ebx + 1]
mov dword [esp + 0x20], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x402990
add edi, esi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
jmp 0x4029b8
mov ecx, eax
mov edx, esi
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
ja 0x402a0e
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x4029c3
mov ecx, dword [esp + 0xc]
add ecx, eax
sub dword [esp + 4], ecx
mov dword [esp + 0x18], 0x3000001
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edx, 0x100
je 0x402ab7
mov eax, edx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp edx, 0x1000000
jb 0x402ab7
mov dword [esp + 8], edi
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edi, edx
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test edi, 0x800
jne 0x402a85
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
mov edx, edi
jmp 0x402aab
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
mov ecx, edi
and ecx, 0x1800
cmp ecx, 0x800
mov edx, edi
jne 0x402aab
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov edi, dword [esp + 8]
mov byte [esp + 0x34], al
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0xa4]
sub edi, eax
mov dword [esp + 0x2c], edi
xor ecx, ecx
mov dword [esp + 8], eax
jmp 0x402b0d
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jmp 0x402adc
mov edi, ecx
mov esi, dword [esp + 0x10]
add dword [esp + 0x30], 4
sub edi, dword [esp + 8]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
xor ecx, ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x402b1b
mov ecx, eax
mov dword [esp + 0x10], eax
movsx eax, byte [esp + 0x40]
movsx edx, byte [esp + 0x34]
mov edi, dword [esp + 4]
mov dword [esp + 0x24], ecx
add edi, ecx
add edi, eax
add edi, edx
mov ecx, dword [esp + 0x50]
cmp ecx, edi
jg 0x402b41
mov ecx, edi
mov edx, ecx
xor edx, edi
not edi
and edi, ecx
add edi, edi
sub edi, edx
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x10]
mov ecx, edx
mov edx, dword [esp + 0x14]
test dl, 1
jne 0x402b79
test dl, 0x10
mov edi, dword [esp + 0x28]
jne 0x402b87
mov dword [esp + 0x24], ecx
xor edx, edx
mov ecx, dword [esp + 0xc]
jmp 0x402b9b
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
jmp 0x402b9b
cmp dword [esp + 0xc], ecx
jg 0x402b91
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
add ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
je 0x4030b6
test dl, 1
jne 0x402d28
mov ebx, dword [esp + 0xc]
test ebx, ebx
jg 0x402bee
jmp 0x402d24
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
sub ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x402d1b
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0x10], ebx
cmp ebx, eax
jl 0x402c07
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], 0
jne 0x402c13
mov eax, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], edi
je 0x402c60
mov eax, esi
and eax, 3
je 0x402c60
mov ecx, esi
not esi
and esi, 3
mov eax, dword [esp + 0x10]
lea ebx, [eax - 1]
cmp esi, ebx
jb 0x402c3d
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040ce00
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
sub ebx, esi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
jmp 0x402c6a
mov ecx, esi
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp ebx, 4
mov dword [esp + 0x1c], edi
jl 0x402cae
mov eax, ebx
cmp ebx, 7
jl 0x402c7f
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040ce00
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
test ebx, ebx
je 0x402ce0
push ebx
push 0x20
mov esi, ecx
push ecx
call fcn.0040ce00
mov edx, dword [esp + 0x20]
add esp, 0xc
add esi, ebx
cmp dword [ebp + 8], 0
jne 0x402cec
jmp 0x402bda
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x402bda
mov eax, esi
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402bda
add dword [esp + 0x28], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402bd0
jmp 0x403886
mov dword [esp + 0xc], ebx
movzx eax, byte [esp + 0x40]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x41]
mov dword [esp + 0x20], ecx
jmp 0x402d4d
mov esi, eax
mov ebx, eax
mov edx, dword [esp + 0x14]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402e6d
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402d6f
mov eax, ebx
sub eax, esi
add eax, 0x200
cmp eax, ecx
jl 0x402d6f
mov eax, ecx
sub cl, al
mov byte [esp + 0x40], cl
test eax, eax
je 0x402e1b
mov ecx, eax
and ecx, 3
je 0x402e60
mov edx, ebx
mov ebx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, esi
mov esi, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
movzx eax, byte [esi]
mov esi, edi
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x402da0
add esi, edx
mov eax, ebx
mov ecx, ebx
sub ecx, edx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
cmp eax, 4
jb 0x402e1b
nop
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x402dd0
cmp dword [ebp + 8], 0
je 0x402d44
mov ecx, esi
xor ecx, ebx
mov eax, ebx
not eax
and eax, esi
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
jl 0x402d44
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402d40
jmp 0x40387b
mov ecx, eax
cmp eax, 4
jae 0x402dd0
jmp 0x402e1b
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
mov edi, esi
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x10], ecx
xor esi, esi
test dl, 0x40
je 0x402ea5
and eax, 0xffffff
add eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
test ebx, ebx
jg 0x402ede
lea eax, [esp + 0x41]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x1c]
jmp 0x403207
mov dword [esp + 0x28], edi
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
sub ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x4030a7
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0x18], ebx
cmp ebx, eax
jl 0x402ef7
mov dword [esp + 0x18], eax
cmp dword [ebp + 8], 0
jne 0x402f03
mov eax, ebx
mov dword [esp + 0x18], ebx
test dl, 0x40
mov dword [esp + 0x24], ebx
jne 0x402f60
cmp dword [esp + 0x18], 0
je 0x402f70
mov eax, edi
and eax, 3
je 0x402f70
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 0x18]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402f2e
mov ecx, ebx
mov dword [esp + 0x48], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040ce00
add esp, 0xc
mov eax, dword [esp + 0x48]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 0x14]
cmp ebx, 4
jge 0x402f79
jmp 0x402fb4
mov ebx, dword [esp + 0x18]
jmp 0x402fb4
mov ebx, dword [esp + 0x18]
cmp ebx, 4
jl 0x402fb4
mov eax, ebx
cmp ebx, 7
jl 0x402f85
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x48], eax
add eax, 4
push eax
push 0x30
push edi
call fcn.0040ce00
add esp, 0xc
mov eax, dword [esp + 0x48]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 0x14]
test ebx, ebx
je 0x403000
test bl, 1
jne 0x402fd0
mov eax, ebx
cmp ebx, 1
jne 0x403064
jmp 0x403000
mov al, 0x30
test dl, 0x40
je 0x402ff4
cmp esi, dword [esp + 0x10]
jne 0x402ff3
movzx eax, byte [0x450001]
mov ecx, eax
add cl, al
and cl, 0x52
sub al, cl
add al, 0xa9
xor esi, esi
jmp 0x402ff4
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x403064
nop
cmp dword [ebp + 8], 0
je 0x402ece
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402ece
mov edi, dword [esp + 0x28]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ec0
jmp 0x40387b
movzx ecx, byte [0x450001]
mov edx, ecx
add dl, cl
and dl, 0x52
sub cl, dl
mov edx, dword [esp + 0x14]
add cl, 0xa9
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x403000
mov cl, 0x30
test dl, 0x40
je 0x403091
cmp esi, dword [esp + 0x10]
jne 0x403090
movzx edx, byte [0x450001]
mov ch, dl
add ch, dl
and ch, 0x52
sub dl, ch
add dl, 0xa9
xor esi, esi
jmp 0x403093
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, dword [esp + 0x14]
test dl, 0x40
je 0x403059
cmp esi, dword [esp + 0x10]
je 0x403040
inc esi
jmp 0x403059
movzx eax, byte [esp + 0x40]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x41]
mov dword [esp + 0x20], ecx
test al, al
jne 0x4030dd
mov dword [esp + 0x28], edi
mov edi, esi
jmp 0x403207
movzx eax, byte [esp + 0x40]
test al, al
je 0x4031fd
movsx edx, al
mov ecx, ebx
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x4030f0
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x4030f8
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x4031ab
mov eax, ecx
and eax, 3
je 0x4031f0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
xor edx, edx
nop
mov ebx, esi
mov esi, dword [esp + 0x20]
lea edi, [esi + 1]
mov dword [esp + 0x20], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x403120
add esi, edx
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
cmp ecx, 4
jb 0x4031ab
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x403160
cmp dword [ebp + 8], 0
je 0x4030d0
mov eax, esi
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4030d0
mov ecx, eax
and ecx, edi
xor edi, eax
lea edi, [edi + ecx*2]
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40387b
mov esi, eax
mov ebx, eax
jmp 0x4030d0
mov eax, ecx
cmp ecx, 4
jae 0x403160
jmp 0x4031ab
mov dword [esp + 0x28], edi
mov edi, esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x403504
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 4]
test ebx, ebx
mov esi, edi
mov edi, dword [esp + 0x28]
jne 0x40325a
lea eax, [esp + 0x35]
mov dword [esp + 0x20], eax
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x4036cd
mov ebx, dword [esp + 0x1c]
jmp 0x4033c1
mov ebx, dword [esp + 4]
sub ebx, dword [esp + 0x10]
je 0x403225
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], ebx
cmp ebx, eax
jl 0x403277
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], 0
jne 0x403285
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
je 0x4032e0
mov eax, esi
and eax, 3
je 0x4032e0
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
mov eax, dword [esp + 0x10]
lea esi, [eax - 1]
cmp ebx, esi
jb 0x4032b1
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040ce00
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
jmp 0x4032e6
mov ecx, esi
mov esi, dword [esp + 0x10]
cmp esi, 4
mov dword [esp + 0x1c], ebx
jl 0x40332e
mov eax, esi
cmp esi, 7
jl 0x4032fb
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.0040ce00
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
test esi, esi
je 0x403360
push esi
push 0x30
mov ebx, edi
mov edi, ecx
push ecx
call fcn.0040ce00
mov edx, dword [esp + 0x20]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
jne 0x40336c
jmp 0x403250
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x403250
mov eax, esi
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403250
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40387b
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
jmp 0x403250
mov edx, dword [esp + 0x14]
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x4036d1
movsx edx, cl
mov eax, ebx
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x4033d3
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x4033db
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40349b
mov ecx, eax
and ecx, 3
je 0x4034e0
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
mov esi, dword [esp + 0x20]
lea edi, [esi + 1]
mov dword [esp + 0x20], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403410
add esi, edx
mov eax, dword [esp + 0x10]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
cmp eax, 4
jb 0x40349b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403450
cmp dword [ebp + 8], 0
je 0x4033b0
mov eax, esi
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4033b0
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40387b
mov esi, eax
mov ebx, eax
jmp 0x4033b0
mov ecx, eax
cmp eax, 4
jae 0x403450
jmp 0x40349b
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub ecx, esi
je 0x403213
mov eax, ebx
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x403515
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x40351d
mov esi, ecx
cmp esi, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
jl 0x403580
lea ebx, [esi - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x403588
mov dword [esp + 0x24], ebx
shl eax, 2
xor edx, edx
mov ebx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403550
add edi, edx
mov esi, dword [esp + 0x10]
sub esi, edx
add ebx, edx
mov dword [esp + 8], ebx
mov eax, esi
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
jmp 0x403588
mov eax, esi
mov ebx, dword [esp + 8]
jmp 0x4035e1
cmp ebx, 0x1c
mov ebx, dword [esp + 8]
jb 0x4035e1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [esi - 0x20]
add ebx, 0x20
add edi, 0x20
add esi, 0xffffffdc
cmp esi, 0xfffffff8
mov esi, eax
jb 0x4035a0
test eax, eax
je 0x403661
mov ecx, eax
and ecx, 7
je 0x4036c0
xor edx, edx
mov esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403600
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, esi
mov edx, dword [esp + 0x14]
cmp eax, 8
jb 0x403661
nop
movzx eax, byte [ebx]
mov byte [edi], al
movzx eax, byte [ebx + 1]
mov byte [edi + 1], al
movzx eax, byte [ebx + 2]
mov byte [edi + 2], al
movzx eax, byte [ebx + 3]
mov byte [edi + 3], al
movzx eax, byte [ebx + 4]
mov byte [edi + 4], al
movzx eax, byte [ebx + 5]
mov byte [edi + 5], al
movzx eax, byte [ebx + 6]
mov byte [edi + 6], al
movzx eax, byte [ebx + 7]
add ebx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403620
mov dword [esp + 8], ebx
cmp dword [ebp + 8], 0
je 0x4034f0
mov eax, edi
mov ebx, dword [esp + 0x1c]
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4034f4
mov edi, dword [esp + 0x28]
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
mov esi, dword [esp + 0x10]
je 0x40387b
mov dword [esp + 0x28], edi
mov edi, eax
mov ebx, eax
mov edx, dword [esp + 0x14]
jmp 0x4034f8
mov ecx, eax
cmp eax, 8
jae 0x403620
jmp 0x403661
mov ebx, dword [esp + 0x1c]
test dl, 1
je 0x403837
cmp dword [esp + 0xc], 0
mov ecx, dword [esp + 0x4c]
jle 0x4036eb
mov eax, dword [esp + 0xc]
jne 0x40371a
inc ecx
jmp 0x40103a
mov edx, dword [esp + 0xc]
mov ebx, edx
not ebx
mov eax, dword [esp + 0x10]
and ebx, eax
not eax
and eax, edx
sub eax, ebx
mov ebx, dword [esp + 0x1c]
je 0x4036eb
mov edx, eax
cmp dword [ebp + 8], 0
mov ecx, eax
je 0x403735
mov eax, ebx
sub eax, esi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x403735
mov edx, eax
test edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], ecx
je 0x4037b0
mov eax, esi
and eax, 3
je 0x4037b0
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x403762
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040ce00
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
cmp esi, 4
jge 0x4037b9
test esi, esi
je 0x4037f8
push esi
push 0x20
mov ebx, edi
mov edi, ecx
push ecx
call fcn.0040ce00
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x4037fa
mov ecx, esi
mov esi, edx
cmp esi, 4
jl 0x403786
mov eax, esi
cmp esi, 7
jl 0x4037c5
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.0040ce00
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test esi, esi
jne 0x40378a
mov esi, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x4c]
je 0x403700
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x403700
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40387b
mov esi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x4c]
jmp 0x403700
mov ecx, dword [esp + 0x4c]
inc ecx
jmp 0x40103a
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x40240d
cmp dword [ebp + 8], 0
je 0x403881
mov eax, esi
sub eax, ebx
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x40388e
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov ebx, eax
jmp 0x40388e
xor esi, esi
xor ebx, ebx
jmp 0x40388e
mov byte [esi], 0
jmp 0x40388e
xor esi, esi
xor ebx, ebx
mov edi, dword [esp + 0x28]
add edi, esi
sub edi, ebx
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret