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 + 0x28], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], edi
jmp 0x401041
mov edi, eax
mov eax, esi
movzx eax, byte [esi]
mov dword [esp + 0x20], edi
mov byte [edi], al
inc edi
mov eax, esi
inc eax
test al, 3
mov dword [esp + 0xc], edi
mov esi, eax
je 0x401050
movzx eax, byte [eax]
jmp 0x401071
mov eax, dword [eax]
lea edx, [eax + eax]
not edx
add edx, eax
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test edx, ecx
je 0x4010b3
cmp al, 0x25
je 0x401127
mov edi, dword [esp + 0xc]
test al, al
je 0x40370d
cmp dword [ebp + 8], 0
je 0x40103b
mov ecx, edi
mov edx, dword [esp + 0x20]
sub ecx, edx
cmp ecx, 0x1ff
jl 0x40103b
add dword [esp + 0x30], ecx
push ecx
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x40373e
mov ecx, dword [esp + 0x20]
sub ecx, edi
add ecx, 0x200
jmp 0x401105
mov dword [edx], eax
add edx, 4
mov dword [esp + 0xc], edx
mov eax, dword [esi + 4]
add esi, 4
lea edx, [eax + eax]
not edx
add edx, eax
and edx, 0x80808080
mov edi, eax
xor edi, 0x25252525
add edi, 0xfefefeff
add ecx, 0xfffffffc
test edx, edi
jne 0x401071
lea edi, [eax - 0x1010101]
test edx, edi
jne 0x401079
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0xc]
je 0x4010d0
cmp ecx, 4
jge 0x4010d0
jmp 0x401071
mov ecx, esi
add ecx, 2
xor esi, esi
mov edi, dword [esp + 0xc]
jmp 0x401150
mov eax, esi
not eax
or eax, 0xfffffffe
add esi, eax
add esi, 2
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401160.33
jmp dword [edx*4 + 0x446564]
or esi, 4
inc ecx
jmp 0x401150
or esi, 8
inc ecx
jmp 0x401150
or esi, 0x400
inc ecx
jmp 0x401150
or esi, 0x40
inc ecx
jmp 0x401150
test esi, 0x100
jne 0x401199
or esi, 0x100
inc ecx
jmp 0x401150
or esi, 2
inc ecx
jmp 0x401150
mov eax, esi
or eax, 0x800
mov edx, esi
xor edx, 0xfffff7ff
test eax, edx
je 0x4011b4
or esi, 0x1000
mov eax, esi
inc ecx
mov esi, eax
jmp 0x401150
mov eax, esi
mov edx, esi
xor edx, 0x10
add edx, esi
and eax, 0xffffffef
sub edx, eax
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x4011e9
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401235
dec ecx
mov edx, esi
cmp al, 0x2a
je 0x4011ce
mov ebx, edx
mov edx, eax
add dl, 0xd0
xor esi, esi
cmp dl, 9
ja 0x401233
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
mov edx, esi
and edx, 0xfffffff5
mov edi, esi
and edi, 0xa
or esi, 0xa
imul esi, edi
xor edi, 0xa
imul edi, edx
add esi, edi
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 0x401200
mov edi, dword [esp + 0xc]
mov edx, ebx
mov dword [esp + 4], 0xffffffff
cmp al, 0x2e
jne 0x4012af
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401263
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx]
mov dword [esp + 4], eax
add ebx, 4
mov dword [esp + 0x28], ebx
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012af
mov dword [esp + 8], edx
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0x4012ab
xor ebx, ebx
nop
nop
nop
nop
add ebx, ebx
lea ebx, [ebx + ebx*4]
neg al
movsx eax, al
sub ebx, eax
mov eax, ebx
xor eax, 0x30
and ebx, 0xffffffcf
add ebx, ebx
sub ebx, eax
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401280
mov dword [esp + 4], ebx
mov edx, dword [esp + 8]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012ba.74
jmp dword [eax*4 + 0x446664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012e0.67
mov dword [esp + 0x2c], esi
jmp dword [eax*4 + 0x44672c]
test dl, 0x20
jne 0x401737
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0
cmp byte [esp + 0x1c], 0x75
je 0x401ca4
test ecx, ecx
jns 0x401ca4
neg ecx
or edx, 0x80
jmp 0x401ca4
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x40177c
or edx, 0x20
add ecx, 2
jmp case.0x4012ba.74
lea ebx, [ecx + 1]
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401ad1
mov dword [esp + 0x1c], eax
cmp eax, 0x36
jne 0x401ae2
cmp byte [ecx + 2], 0x34
jne 0x401adb
or edx, 0x20
add ecx, 3
jmp case.0x4012ba.74
cmp byte [ecx + 1], 0x68
je 0x401782
inc ecx
or edx, 0x200
jmp case.0x4012ba.74
mov eax, dword [esp + 4]
jmp 0x40179f
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x1c], 0x45
je 0x40139b
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov ebx, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x4013b7
mov ecx, eax
mov dword [esp], ecx
mov eax, ecx
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 + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403770
add esp, 0x18
mov edx, ebx
test eax, eax
je 0x4013f7
or edx, 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x40141a
mov al, 0x20
test dl, 4
jne 0x40141a
mov al, 0x2b
test dl, 2
je 0x401423
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x10]
cmp eax, 0x7000
jne 0x40160b
mov dword [esp], ebx
mov dword [esp + 0x14], 0
xor eax, eax
xor ebx, ebx
jmp 0x4029d4
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x1c], 0x41
je 0x40145b
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x40146f
mov ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 4]
test ebx, ebx
jns 0x401484
or edx, 0x80
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x4015cc
mov al, 0x20
test dl, 4
jne 0x4015cc
mov al, 0x2b
test dl, 2
jne 0x4015cc
mov dword [esp], 0
jmp 0x4015d5
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov eax, dword [esp + 0x1c]
cmp al, 0x42
je 0x4014ce
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test dl, 8
je 0x4014ed
cmp al, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x24], 0x180
mov ebx, 0x180
jmp 0x401811
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x1c], 0x47
je 0x401510
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov ebx, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 4]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edi, 6
cmp ecx, 0xffffffff
je 0x401534
mov edi, eax
lea eax, [edi - 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 + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403770
add esp, 0x18
test eax, eax
je 0x401570
or ebx, 0x80
mov eax, dword [esp + 0x24]
cmp eax, edi
jb 0x40157a
mov eax, edi
mov dword [esp + 8], ebx
mov ecx, eax
mov dword [esp + 0x14], eax
cmp eax, 2
jb 0x401790
mov edx, dword [esp + 0x10]
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
cmp byte [edx + ebx - 1], 0x30
jne 0x40202c
lea eax, [ecx - 1]
dec ebx
mov dword [esp + 0x14], ebx
cmp ebx, 2
jb 0x40202e
cmp ecx, 1
mov ecx, eax
jne 0x4015a0
jmp 0x40202e
mov byte [esp + 0x41], al
mov al, 1
mov dword [esp], eax
mov esi, ebx
and esi, 0xfffff
shr ebx, 0x14
and ebx, 0x7ff
je 0x401b1a
add ebx, 0xfffffc01
mov eax, 0xffffffff
add ecx, eax
mov eax, 0xfffff
adc esi, eax
add ecx, 1
adc esi, 0
jmp 0x401b2b
mov dword [esp + 0x1c], eax
mov dword [esp + 8], edx
movzx ecx, byte [ebx]
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa5]
cmp dword [esp], 0
je 0x40163f
movzx ecx, byte [section..data]
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, dword [esp]
jbe 0x401653
mov eax, dword [esp]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x14], eax
cmp eax, 2
jb 0x401712
mov eax, dword [esp]
mov ecx, eax
cmp eax, edx
jb 0x40166f
mov ecx, edx
lea edi, [ecx - 1]
mov edx, 1
cmp edi, 7
mov dword [esp + 0x48], ecx
jb 0x4016e5
mov edi, ecx
and edi, 0xfffffff8
xor edx, edx
mov ecx, dword [esp + 4]
nop
nop
nop
nop
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 edi, edx
jne 0x401690
add ecx, edx
mov dword [esp + 4], ecx
inc edx
mov edi, dword [esp + 0x48]
and edi, 7
je 0x401712
add ebx, edx
xor edx, edx
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx]
mov byte [ecx + edx], al
inc edx
cmp edi, edx
jne 0x401700
add ecx, edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x401f3a
dec eax
mov byte [esp + 0x36], 0x2b
mov edi, eax
jmp 0x401f46
mov eax, edx
mov ecx, dword [esp + 0x28]
lea ebx, [ecx + 8]
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
cmp byte [esp + 0x1c], 0x75
je 0x401c94
test edx, edx
jns 0x401c94
neg esi
mov ecx, 0
sbb ecx, edx
mov edx, eax
or edx, 0xa0
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x2c]
jmp 0x401ca4
inc ecx
jmp 0x4012c5
add ecx, 2
or edx, 0x200
jmp case.0x4012ba.74
mov eax, edi
jmp 0x40202e
and edx, 0xffffffef
mov eax, 8
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp byte [esp + 0x1c], 0x58
je 0x4017b6
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 4], eax
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x40], 0
mov ebx, 0x440
test dl, 8
je 0x401811
cmp byte [esp + 0x1c], 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
jmp 0x401811
mov byte [esp + 0x40], 0
test dl, 8
je 0x4017fc
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ebx, 0x330
mov eax, edx
xor eax, 0xffffffdf
mov ecx, edx
or ecx, 0x20
test ecx, eax
je 0x401831
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x28], ecx
jmp 0x401840
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
xor edi, edi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov ecx, esi
or ecx, edi
jne 0x401863
mov byte [esp + 0x40], 0
cmp dword [esp + 4], 0
je 0x401aef
mov eax, ebx
mov dword [esp + 8], edx
lea ecx, [esp + 0x264]
mov dword [esp], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, 0xffffffff
mov cl, ah
shl edx, cl
not edx
and edx, esi
mov ebx, dword [esp + 0x24]
mov cl, bh
shrd esi, edi, cl
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + edx]
mov edx, dword [esp]
mov byte [edx - 1], cl
mov cl, bh
shr edi, cl
mov eax, ebx
test bh, 0x20
je 0x4018b3
mov esi, edi
xor edi, edi
lea ecx, [edx - 1]
mov dword [esp], ecx
mov ecx, esi
or ecx, edi
jne 0x4018d5
lea ecx, [esp - 0x20b3a9c2]
sub ecx, dword [esp]
add ecx, 0x20b3ac26
cmp ecx, dword [esp + 4]
jge 0x401919
test byte [esp + 8], 0x40
je 0x401880
inc eax
mov dword [esp + 0x24], eax
mov ecx, eax
shr ecx, 4
xor ecx, eax
test cl, 0xf
jne 0x401880
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
movzx ecx, byte [0x449001]
mov ch, cl
add ch, cl
and ch, 0x20
sub cl, ch
add cl, 0x90
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x24]
mov dword [esp], edx
jmp 0x401880
shr eax, 4
mov edx, eax
xor edx, 0xf0
or eax, 0xf
and eax, edx
shl eax, 0x18
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, eax
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x2c]
jmp 0x4029d4
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ebx, str.null
test eax, eax
je 0x401962
mov ebx, eax
mov eax, dword [esp + 4]
mov edi, eax
test eax, eax
jns 0x401971
mov edi, 0xffffffff
mov dword [esp + 8], edx
test bl, 3
je 0x4026b3
lea edx, [edi + ebx]
test eax, eax
je 0x4029a0
cmp byte [ebx], 0
je 0x402937
lea ecx, [ebx + 1]
lea eax, [edi - 1]
test cl, 3
je 0x402954
test eax, eax
je 0x4029a0
cmp byte [ecx], 0
je 0x40299e
lea ecx, [ebx + 2]
lea eax, [edi - 2]
test cl, 3
je 0x402954
test eax, eax
je 0x4029a0
cmp byte [ecx], 0
je 0x40299e
lea ecx, [ebx + 3]
lea eax, [edi - 3]
test cl, 3
je 0x402954
test eax, eax
je 0x4029a0
cmp byte [ecx], 0
je 0x40299e
lea ecx, [ebx + 4]
add edi, 0xfffffffc
test cl, 3
je 0x402956
test edi, edi
je 0x401a07
mov edx, ecx
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
jmp 0x4029a4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
xor ebx, ebx
lea eax, [esp + 0x263]
mov dword [esp], eax
xor edx, edx
mov dword [esp + 0x14], 0
xor eax, eax
xor esi, esi
jmp 0x4029d4
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
add ecx, 4
mov dword [esp + 0x28], ecx
xor ebx, ebx
lea eax, [esp + 0x263]
jmp 0x4023cc
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test edx, 0x100
jne 0x401e5a
jmp 0x40211a
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x40367e
cmp byte [ecx + 2], 0x32
je 0x40216f
mov ecx, ebx
jmp case.0x4012ba.74
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x1c]
jmp 0x4012c9
mov dword [esp + 0x24], 0
xor ebx, ebx
lea eax, [esp + 0x264]
mov dword [esp], eax
mov dword [esp + 0x14], 0
xor eax, eax
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
jmp 0x4029d4
xor ebx, ebx
mov eax, ecx
or eax, esi
je 0x401b27
mov ebx, 0xfffffc02
mov dword [esp + 0x3c], ebx
shld esi, ecx, 8
shl ecx, 8
mov eax, dword [esp + 4]
cmp eax, 0xe
mov dword [esp + 8], edx
mov dword [esp + 0x54], ecx
jg 0x401b7b
mov edi, eax
and edi, 0xfb
mov edx, eax
and edx, 4
mov ecx, eax
or ecx, 4
imul ecx, edx
xor edx, 4
imul edx, edi
add ecx, edx
xor eax, eax
mov edx, 0x8000000
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x401b75
mov eax, edx
xor edx, edx
add dword [esp + 0x54], eax
adc esi, edx
mov edx, dword [esp]
movzx eax, dl
lea ecx, [esp + 0x40]
mov word [eax + ecx + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov eax, esi
shr eax, 0x1c
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + eax]
mov byte [esp + 0xa4], al
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x401c7a
movzx eax, byte [section..data]
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov eax, ecx
cmp ecx, 0xd
jb 0x401bd8
mov eax, 0xd
xor edx, edx
cmp ecx, eax
mov dword [esp], eax
jle 0x401bf4
mov eax, dword [esp]
xor eax, ecx
mov edx, dword [esp]
not edx
and edx, ecx
add edx, edx
sub edx, eax
mov eax, dword [esp]
and eax, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], ebx
je 0x402177
xor edx, edx
mov edi, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x54]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
shr ebx, 0x18
and ebx, 0xf
movzx ebx, byte [edi + ebx]
shld esi, eax, 4
mov byte [esp + edx + 0xa6], bl
shl eax, 4
inc edx
cmp ecx, edx
jne 0x401c20
mov dword [esp + 0x54], eax
lea eax, [esp + 0xa6]
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp]
sub eax, edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 4]
cmp ecx, 4
jae 0x40218e
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
jmp 0x402213
lea eax, [esp + 0xa5]
mov dword [esp + 0x10], eax
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 0x50], eax
jmp 0x402213
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebx
mov ecx, esi
mov esi, dword [esp + 0x2c]
mov edx, eax
test edx, 0x100
jne 0x401e19
mov ah, byte [0x449001]
mov bl, ah
add bl, ah
and bl, 0x20
mov al, ah
sub al, bl
add al, 0x90
mov byte [esp + 0x48], al
xor ah, 0x90
mov byte [esp + 0x14], ah
mov edi, 0x200
xor esi, esi
mov dword [esp + 8], edx
nop
nop
nop
nop
nop
nop
nop
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x18]
mov eax, edx
sbb eax, 0
jb 0x401d20
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040c5d0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
jmp 0x401d34
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [esp + 8]
lea eax, [esp + 0x5c]
add eax, edi
mov dword [esp], eax
test dl, 0x40
jne 0x401df3
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 + edi + 0x62], ax
add edi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x401d50
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov eax, ecx
or eax, dword [esp + 0x18]
jne 0x401d97
jmp 0x401e9d
inc esi
mov byte [esp + edi + 0x63], 0x30
dec edi
lea eax, [esp + edi]
add eax, 0x64
cmp eax, dword [esp]
je 0x401ce0
test dl, 0x40
je 0x401d91
cmp esi, 3
jne 0x401d90
movzx eax, byte [esp + 0x14]
mov byte [esp + edi + 0x63], al
dec edi
dec dword [esp]
xor esi, esi
jmp 0x401d97
inc esi
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 + edi + 0x63], cl
dec edi
mov ecx, edx
mov edx, dword [esp + 8]
test ecx, ecx
je 0x401d7e
test dl, 0x40
je 0x401dd1
cmp esi, 3
jne 0x401dd0
movzx eax, byte [esp + 0x48]
mov byte [esp + edi + 0x63], al
dec edi
dec dword [esp]
xor esi, esi
test ecx, ecx
jne 0x401df7
jmp 0x401d7e
mov ebx, esi
mov esi, ecx
mov eax, 1
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x401e2d
mov eax, ecx
mov dword [esp + 4], 0
cmp esi, 0x400
mov ecx, dword [esp + 0x18]
sbb ecx, 0
jb 0x401e48
mov dword [esp + 4], eax
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
mov esi, ebx
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x446550]
cmp edx, 0x3ffffff
ja 0x401e96
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4020a0
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4020a0
fstp st(0)
fstp st(0)
jmp 0x40211a
cmp byte [esp + edi + 0x64], 0x30
sete al
cmp edi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
js 0x401ed2
mov dl, 0x20
test byte [esp + 8], 4
jne 0x401ed2
mov dl, 0x2b
test byte [esp + 8], 2
je 0x401edb
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add edi, eax
lea eax, [esp + edi]
add eax, 0x64
lea ebx, [edi - 0x200]
neg ebx
mov dword [esp + 0x24], ebx
cmp edi, 0x200
mov esi, dword [esp + 0x2c]
jne 0x401f12
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x24], 1
mov ebx, 1
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 4]
test eax, eax
jg 0x401f2f
xor eax, eax
add ebx, 0x3000000
jmp 0x4029d4
mov byte [esp + 0x36], 0x2d
mov edi, 1
sub edi, eax
cmp edi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 0x18], eax
mov eax, edi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x1c], eax
mov ebx, edi
mov eax, edi
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 + 0x1c]
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 + 0x18]
mov byte [esp + 0x34], dl
mov byte [esp + edx + 0x34], bl
add al, 0x30
mov byte [esp + edx + 0x33], al
cmp edi, 0x64
jb 0x401ffa
mov ebx, edx
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
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 edx, dword [esp + 0x14]
lea eax, [edx - 1]
mov edi, dword [esp]
xor eax, edi
neg edx
and edx, edi
add edx, edx
sub edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ecx
mov ebx, 0x3000001
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x402920
mov eax, ecx
add dword [esp + 0x28], 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 8]
jl 0x40206f
cmp ecx, edi
jg 0x40206f
test ecx, ecx
jle 0x40237f
sub dword [esp + 0x14], ecx
mov edi, dword [esp + 0xc]
jg 0x402393
mov dword [esp + 0x14], 0
jmp 0x402393
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x402084
dec ecx
mov dword [esp], ecx
mov edi, dword [esp + 0xc]
jmp 0x4013fc
mov dword [esp], 0
sub eax, 1
mov edi, dword [esp + 0xc]
jb 0x4013fc
mov dword [esp], eax
jmp 0x4013fc
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x402114
fucom st(2)
fnstsw ax
sahf
jbe 0x4020c2
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402114
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x402114
fucom st(2)
fnstsw ax
sahf
jbe 0x4020e4
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402114
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x402114
fucom st(2)
fnstsw ax
sahf
jbe 0x4036fe
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4036fe
fstp st(0)
fstp st(0)
mov edx, ecx
mov ebx, edx
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x40212c
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 + 0x2c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403770
add esp, 0x18
mov edx, ebx
test eax, eax
je 0x402393
or edx, 0x80
jmp 0x402393
add ecx, 3
jmp case.0x4012ba.74
lea eax, [esp + 0xa6]
mov dword [esp + 0x50], eax
mov eax, dword [esp]
cmp ecx, 4
jb 0x401c6a
mov ebx, eax
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
nop
nop
nop
nop
mov dword [esp], ebx
mov ebx, esi
shr ebx, 0x18
and ebx, 0xf
mov eax, dword [esp + 0x18]
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 edi, dword [esp + 4]
shld edi, ecx, 0x10
shl ecx, 0x10
shr esi, 0xc
and esi, 0xf
movzx ebx, byte [eax + esi]
mov byte [edx + 3], bl
mov ebx, dword [esp]
add edx, 4
mov dword [esp + 4], edi
mov esi, edi
add ebx, 0xfffffffc
jne 0x4021a0
mov dword [esp + 0x50], edx
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
cmp byte [esp + 0x1c], 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
test ebx, ebx
mov esi, dword [esp + 0x2c]
js 0x402233
mov byte [esp + 0x36], 0x2b
jmp 0x40223a
mov byte [esp + 0x36], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp + 0x14], edx
ja 0x402258
cmp ebx, 0x63
jbe 0x402364
mov dword [esp], 5
jmp 0x40225f
mov dword [esp], 6
mov dword [esp + 0x18], 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea edi, [edx + edx*4]
mov eax, ebx
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
mov dword [esp + 0x48], ebx
mov eax, ebx
sub eax, edi
mov ebx, dword [esp]
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 + 0x18], 0
mov edi, dword [esp + 0xc]
jne 0x4026f9
mov ebx, dword [esp + 0x48]
mov eax, ebx
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]
mov byte [edx + eax - 2], cl
cmp ebx, 0x3e8
jb 0x4026f9
mov eax, dword [esp + 0x48]
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]
mov byte [edx + eax - 3], cl
jmp 0x4026f9
cmp ebx, 9
jbe 0x4026e9
mov dword [esp], 4
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x402267
mov ebx, dword [esp + 0x14]
cmp eax, ebx
mov edi, dword [esp + 0xc]
jl 0x40238d
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x4023b1
mov al, 0x20
test dl, 4
jne 0x4023b1
mov al, 0x2b
test dl, 2
je 0x4023ba
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4023dc
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 0x14], 0
jmp 0x402930
test ecx, ecx
mov dword [esp + 8], edx
jle 0x402469
xor edi, edi
test dl, 0x40
je 0x40240a
mov edi, 0x258
sub edi, ecx
mov eax, edi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 8]
sub edi, eax
cmp ecx, dword [esp + 0x24]
jae 0x4024f8
xor eax, eax
lea ebx, [esp + 0xa4]
jmp 0x40243a
mov edx, ebx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
inc ebx
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x40257f
mov ecx, dword [esp + 8]
test cl, 0x40
je 0x402420
inc edi
cmp edi, 4
jne 0x402420
mov edi, ecx
and edi, 0x40
shr edi, 6
movzx ecx, byte [0x449001]
mov edx, ecx
add dl, cl
and dl, 0x20
sub cl, dl
add cl, 0x90
mov byte [ebx], cl
inc ebx
jmp 0x402420
mov byte [esp + 0xa4], 0x30
lea eax, [esp + 0xa5]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x14]
test edx, edx
je 0x40249d
movzx eax, byte [section..data]
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
neg ecx
mov eax, edx
cmp edx, ecx
jl 0x4024a7
mov eax, ecx
test eax, eax
mov dword [esp], eax
je 0x40273a
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 3
je 0x402733
mov edi, ecx
not edi
and edi, 3
mov eax, dword [esp]
lea ebx, [eax - 1]
cmp edi, ebx
jb 0x4024d4
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push ecx
call fcn.0040c6d0
mov ecx, dword [esp + 0x10]
add esp, 0xc
add ecx, edi
inc ecx
sub ebx, edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp]
jmp 0x402740
mov dword [esp], edi
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
mov ebx, 1
lea ecx, [esp + 0xa4]
jmp 0x402540
mov edi, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edi], cl
lea ecx, [edi + 1]
inc eax
dec dword [esp + 0x18]
inc ebx
cmp eax, dword [esp + 0x24]
jae 0x402618
test dl, 0x40
je 0x402520
mov dword [esp + 4], ecx
mov ecx, edx
mov edx, dword [esp]
inc edx
mov dword [esp], edx
cmp edx, 4
jne 0x402577
mov edx, ecx
and edx, 0x40
shr edx, 6
mov dword [esp], edx
mov edx, ecx
mov edi, dword [esp + 4]
movzx ecx, byte [0x449001]
xor cl, 0x90
mov byte [edi], cl
inc edi
jmp 0x402522
mov edi, dword [esp + 4]
mov edx, ecx
jmp 0x402522
mov dword [esp + 4], ebx
cmp dword [esp + 0x14], 0
je 0x40259f
movzx ecx, byte [section..data]
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov edi, edx
sub edi, ecx
cmp edi, dword [esp + 0x14]
jbe 0x4025b7
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x24], edx
cmp eax, edx
mov edi, dword [esp + 0xc]
jae 0x4025f0
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [ebx], cl
inc ebx
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x4025d0
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0xa4]
sub ebx, eax
add ebx, 0x3000000
mov eax, dword [esp + 0x14]
sub eax, edx
add eax, ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x402874
mov dword [esp + 0x48], edi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov edi, ecx
sub ecx, eax
mov dword [esp + 0x1c], ecx
jbe 0x4026ba
test dl, 0x40
jne 0x40293b
cmp edi, eax
mov ecx, dword [esp + 4]
je 0x403688
mov eax, ecx
and eax, 3
je 0x403688
mov edx, 2
sub edx, dword [esp + 0x48]
and edx, 3
mov eax, edi
sub eax, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], edx
cmp edx, eax
mov edx, dword [esp + 0x1c]
jb 0x402674
mov edx, eax
mov dword [esp + 0x1c], edx
lea eax, [edx + 1]
push eax
push 0x30
push ecx
call fcn.0040c6d0
add esp, 0xc
mov eax, dword [esp + 0x18]
add eax, edi
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jb 0x402697
mov eax, ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
add ecx, edx
add ecx, 2
sub edi, eax
sub edi, ebx
mov ebx, edi
mov edx, dword [esp + 8]
jmp 0x40368c
mov ecx, ebx
jmp 0x402956
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov ebx, ecx
lea eax, [esp + 0xa4]
sub ebx, eax
add ebx, 0x3000000
cmp dword [esp + 0x14], 0
je 0x402726
movzx eax, byte [section..data]
mov byte [ecx], al
inc ecx
jmp 0x402874
mov byte [esp + 0x34], 3
or bl, 0x30
mov byte [esp + 0x37], bl
mov edi, dword [esp + 0xc]
add dword [esp + 0x28], 8
mov ecx, dword [esp + 0x50]
mov eax, ecx
sub eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov ebx, 0x3000001
mov dword [esp], eax
jmp 0x4029ce
mov dword [esp + 0x14], 0
jmp 0x402874
mov eax, dword [esp]
mov ebx, eax
jmp 0x402740
mov ebx, eax
mov ecx, dword [esp + 4]
cmp ebx, 4
jl 0x402784
mov eax, ebx
cmp ebx, 7
jl 0x402751
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push ecx
mov dword [esp + 0x10], ecx
call fcn.0040c6d0
mov ecx, dword [esp + 0x10]
add esp, 0xc
sub ebx, edi
add ebx, 0xfffffffc
add ecx, edi
add ecx, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp]
test ebx, ebx
je 0x4027a4
push ebx
push 0x30
push ecx
mov edi, ecx
call fcn.0040c6d0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
add esp, 0xc
add edi, ebx
mov ebx, edi
jmp 0x4027a6
mov ebx, ecx
mov edi, dword [esp + 0x24]
lea ecx, [edi + eax]
cmp ecx, edx
jle 0x4027b9
mov edi, edx
sub edi, eax
mov dword [esp + 0x24], edi
test edi, edi
mov dword [esp + 4], edi
je 0x40285d
mov dword [esp + 0x18], edx
cmp edx, ecx
jl 0x4027d1
mov dword [esp + 0x18], ecx
mov ecx, edi
and ecx, 3
je 0x402805
xor edi, edi
mov eax, ebx
nop
nop
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [eax + edi], dl
inc edi
cmp ecx, edi
jne 0x4027e0
add eax, edi
mov ebx, eax
mov ecx, dword [esp + 4]
sub ecx, edi
mov eax, dword [esp]
jmp 0x402807
mov ecx, edi
mov edx, eax
sub edx, dword [esp + 0x18]
cmp edx, 0xfffffffc
ja 0x40285d
mov edx, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
movzx edx, byte [edx]
mov byte [ebx], dl
mov edx, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
movzx edx, byte [edx]
mov byte [ebx + 1], dl
mov edx, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
movzx edx, byte [edx]
mov byte [ebx + 2], dl
mov edx, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
movzx edx, byte [edx]
mov byte [ebx + 3], dl
add ebx, 4
add ecx, 0xfffffffc
jne 0x402812
add eax, dword [esp + 4]
sub dword [esp + 0x14], eax
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, ebx
mov ebx, 0x3000001
test edx, 0x100
je 0x402920
mov eax, edx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp edx, 0x1000000
jb 0x402920
mov dword [esp + 0x1c], ebx
mov ebx, ecx
mov ecx, edx
shr ecx, 0x18
test edx, 0x800
jne 0x4028d2
movzx ecx, byte [ecx + str._kMGT]
mov edx, eax
shr edx, 0xa
neg edx
mov byte [esp + edx + 0x36], cl
mov edx, dword [esp + 8]
cmp eax, 1
mov eax, 0
adc al, 1
jmp 0x402916
movzx ecx, byte [ecx + str._KMGT]
mov edx, dword [esp + 8]
shl edx, 0x15
sar edx, 0x1f
cmp eax, 1
mov eax, 0
adc al, 1
lea esi, [esp + 0x34]
mov byte [edx + esi + 2], cl
mov edx, dword [esp + 8]
mov ecx, edx
and ecx, 0x1800
cmp ecx, 0x800
jne 0x402912
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov esi, dword [esp + 0x2c]
mov ecx, ebx
mov byte [esp + 0x34], al
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp], eax
xor eax, eax
jmp 0x4029d4
mov edx, ebx
jmp 0x4029a0
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
test ebx, ebx
jne 0x4036d1
jmp 0x4026c2
mov edi, eax
cmp edi, 4
jb 0x40298c
mov edx, dword [ecx]
lea eax, [edx - 0x1010101]
mov dword [esp], eax
lea eax, [edx + edx]
not eax
add eax, edx
and eax, dword [esp]
mov edx, eax
xor edx, 0x7f7f7f7f
or eax, 0x80808080
test eax, edx
jne 0x402990
add edi, 0xfffffffc
add ecx, 4
cmp edi, 3
ja 0x40295b
test edi, edi
je 0x40299e
lea edx, [ecx + edi]
cmp byte [ecx], 0
je 0x40299e
inc ecx
dec edi
jne 0x402993
mov ecx, edx
mov edx, ecx
mov edi, dword [esp + 0xc]
add dword [esp + 0x28], 4
mov dword [esp], ebx
sub edx, ebx
mov dword [esp + 0x24], edx
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
xor ebx, ebx
mov dword [esp + 0x14], 0
xor eax, eax
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x4029e6
mov eax, ecx
mov dword [esp + 0x18], ecx
mov ebx, eax
movsx eax, byte [esp + 0x40]
movsx edx, byte [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], ebx
add ecx, ebx
add ecx, eax
add ecx, edx
cmp esi, ecx
jg 0x402a0a
mov esi, ecx
sub esi, ecx
mov edx, dword [esp + 4]
mov ecx, edx
not ecx
mov ebx, dword [esp + 0x18]
and ecx, ebx
not ebx
and ebx, edx
sub ebx, ecx
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 8]
test dl, 1
jne 0x402a46
test dl, 0x10
jne 0x402a36
xor edx, edx
jmp 0x402a46
mov ecx, dword [esp + 0x18]
cmp esi, ecx
jg 0x402a40
mov esi, ecx
mov dword [esp + 0x18], esi
xor esi, esi
mov ecx, esi
add ecx, dword [esp + 0x18]
mov dword [esp + 8], edx
je 0x402f32
test dl, 1
jne 0x402bcc
test esi, esi
jg 0x402a84
jmp 0x402bcc
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0xc]
test esi, esi
jle 0x402bc7
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x402aab
mov ecx, edi
sub ecx, dword [esp + 0x20]
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, esi
cmp esi, eax
jl 0x402aab
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], ecx
je 0x402b10
mov eax, edi
and eax, 3
je 0x402b00
mov ecx, edi
not edi
and edi, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp edi, ebx
jb 0x402ad2
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x20
mov esi, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
lea ecx, [edi + esi]
inc ecx
sub ebx, edi
mov edx, dword [esp + 8]
mov edi, ebx
cmp edi, 4
jge 0x402b1b
jmp 0x402b55
mov ecx, edi
mov edi, dword [esp + 0xc]
cmp edi, 4
jge 0x402b1b
jmp 0x402b55
mov eax, ecx
mov ecx, edi
mov edi, eax
cmp edi, 4
jl 0x402b55
mov eax, edi
cmp edi, 7
jl 0x402b27
mov eax, 7
neg eax
mov ebx, edi
add edi, eax
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov esi, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
lea ecx, [edi + esi]
add ecx, 4
sub ebx, edi
mov edi, ebx
add edi, 0xfffffffc
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x30]
test edi, edi
je 0x402b80
push edi
push 0x20
mov esi, edi
mov edi, ecx
push ecx
call fcn.0040c6d0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, esi
cmp dword [ebp + 8], 0
jne 0x402b8c
jmp 0x402a70
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x402a70
mov eax, edi
mov esi, dword [esp + 0x20]
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402a70
add ebx, eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403762
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
jmp 0x402a70
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
test al, al
je 0x402d0d
mov esi, dword [esp + 0x20]
jmp 0x402c01
mov edx, dword [esp + 8]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402d11
movsx edx, al
mov ebx, esi
sub ebx, edi
add ebx, 0x200
cmp ebx, edx
jl 0x402c14
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0x402c1c
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x402cbb
mov eax, ebx
and eax, 3
je 0x402d00
mov dword [esp + 0x20], esi
xor edx, edx
nop
nop
nop
nop
nop
mov esi, edi
mov edi, dword [esp + 0x10]
lea ecx, [edi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi]
mov edi, esi
mov byte [esi + edx], cl
inc edx
cmp eax, edx
jne 0x402c40
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ebx, 4
jb 0x402cbb
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402c70
cmp dword [ebp + 8], 0
je 0x402bf0
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402bf0
add dword [esp + 0x30], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40373e
mov edi, eax
mov esi, eax
jmp 0x402bf0
mov eax, ebx
cmp ebx, 4
jae 0x402c70
jmp 0x402cbb
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], esi
mov esi, edi
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0xc], ecx
xor edi, edi
test dl, 0x40
mov ebx, dword [esp + 0x18]
je 0x402d47
and eax, 0xffffff
add eax, ebx
mov edi, dword [esp + 0xc]
lea ecx, [edi + 1]
xor edx, edx
div ecx
sub edi, edx
mov edx, dword [esp + 8]
test ebx, ebx
mov ebx, dword [esp]
jle 0x403671
mov ebx, dword [esp + 0x18]
jmp 0x402d6c
sub ebx, dword [esp + 4]
test ebx, ebx
jle 0x402f27
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x402d7f
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x402d87
mov ecx, ebx
test dl, 0x40
mov dword [esp + 4], ecx
jne 0x402e29
test ecx, ecx
je 0x402de1
mov eax, esi
and eax, 3
je 0x402e5a
mov ecx, esi
mov edx, esi
not edx
and edx, 3
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x402db9
mov edx, ecx
mov dword [esp + 0x1c], edx
lea eax, [edx + 1]
push eax
push 0x30
push esi
mov dword [esp + 0x24], ecx
call fcn.0040c6d0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x1c]
add esi, eax
inc esi
sub ecx, eax
mov edx, dword [esp + 8]
cmp ecx, 4
jl 0x402e29
mov eax, ecx
cmp ecx, 7
jl 0x402df2
mov eax, 7
neg eax
add eax, ecx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
add eax, 4
push eax
push 0x30
push esi
mov dword [esp + 0x24], ecx
call fcn.0040c6d0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x1c]
add esi, eax
add esi, 4
sub ecx, eax
add ecx, 0xfffffffc
mov edx, dword [esp + 8]
test ecx, ecx
je 0x402e80
test cl, 1
jne 0x402e40
mov eax, ecx
cmp ecx, 1
jne 0x402ee7
jmp 0x402e80
mov al, 0x30
test dl, 0x40
je 0x402e66
cmp edi, dword [esp + 0xc]
jne 0x402e65
movzx eax, byte [0x449001]
xor al, 0x90
xor edi, edi
jmp 0x402e66
mov ecx, dword [esp + 4]
cmp ecx, 4
jge 0x402de6
jmp 0x402e29
inc edi
mov byte [esi], al
inc esi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402ee7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402d60
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402d60
mov esi, dword [esp + 0x30]
add esi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x30], esi
je 0x40373e
mov esi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
jmp 0x402d60
movzx ecx, byte [0x449001]
xor cl, 0x90
xor edi, edi
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0x402e80
mov cl, 0x30
test dl, 0x40
je 0x402f11
cmp edi, dword [esp + 0xc]
jne 0x402f10
movzx edx, byte [0x449001]
xor dl, 0x90
xor edi, edi
jmp 0x402f13
inc edi
mov dl, 0x30
mov byte [esi], dl
mov edx, dword [esp + 8]
test dl, 0x40
je 0x402edc
cmp edi, dword [esp + 0xc]
je 0x402ed0
inc edi
jmp 0x402edc
movzx eax, byte [esp + 0x40]
mov edi, esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
test al, al
je 0x403079
mov esi, dword [esp + 0x20]
jmp 0x402f61
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x40]
test al, al
je 0x40306d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402f74
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402f7c
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x40301b
mov eax, ecx
and eax, 3
je 0x403060
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], esi
xor edx, edx
nop
mov ebx, edi
mov edi, dword [esp + 0x10]
lea esi, [edi + 1]
mov dword [esp + 0x10], esi
movzx ecx, byte [edi]
mov edi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402fa0
add edi, edx
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ecx, 4
jb 0x40301b
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402fd0
cmp dword [ebp + 8], 0
je 0x402f54
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402f54
add dword [esp + 0x30], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402f50
jmp 0x40373e
mov eax, ecx
cmp ecx, 4
jae 0x402fd0
jmp 0x40301b
mov dword [esp + 0x20], esi
mov esi, edi
mov edx, dword [esp + 8]
jmp 0x40307b
mov esi, edi
mov ebx, dword [esp]
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x4030b6
mov ebx, edx
mov edx, dword [esp + 0x14]
test edx, edx
mov edi, esi
mov esi, dword [esp + 0x2c]
jne 0x40327e
lea eax, [esp + 0x35]
mov dword [esp + 0x10], eax
jmp 0x4033ea
sub edi, dword [esp + 0xc]
je 0x403086
mov ecx, edi
cmp dword [ebp + 8], 0
je 0x4030df
mov eax, esi
sub eax, dword [esp + 0x20]
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, edi
cmp edi, eax
jl 0x4030df
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0xc], ecx
jl 0x403130
lea eax, [ecx - 4]
mov dword [esp], eax
shr eax, 2
inc eax
and eax, 7
je 0x403134
shl eax, 2
xor edx, edx
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [esi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403100
add esi, edx
mov ecx, dword [esp + 0xc]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, dword [esp + 8]
cmp dword [esp], 0x1c
jae 0x403140
jmp 0x403181
mov eax, ecx
jmp 0x403181
cmp dword [esp], 0x1c
jb 0x403181
nop
nop
nop
nop
nop
nop
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
add esi, 0x20
add ebx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403140
test eax, eax
je 0x403211
mov ecx, eax
and ecx, 7
je 0x403260
mov dword [esp], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov edi, ebx
movzx ebx, byte [ebx + edx]
mov byte [esi + edx], bl
mov ebx, edi
inc edx
cmp ecx, edx
jne 0x4031a0
add esi, edx
mov ecx, eax
sub ecx, edx
add ebx, edx
mov edx, dword [esp + 8]
mov edi, dword [esp]
cmp eax, 8
jb 0x403211
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx]
mov byte [esi], al
movzx eax, byte [ebx + 1]
mov byte [esi + 1], al
movzx eax, byte [ebx + 2]
mov byte [esi + 2], al
movzx eax, byte [ebx + 3]
mov byte [esi + 3], al
movzx eax, byte [ebx + 4]
mov byte [esi + 4], al
movzx eax, byte [ebx + 5]
mov byte [esi + 5], al
movzx eax, byte [ebx + 6]
mov byte [esi + 6], al
movzx eax, byte [ebx + 7]
mov byte [esi + 7], al
add esi, 8
add ebx, 8
add ecx, 0xfffffff8
jne 0x4031d0
cmp dword [ebp + 8], 0
je 0x4030b0
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4030b0
mov esi, dword [esp + 0x30]
add esi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x30], esi
je 0x40373e
mov esi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
jmp 0x4030b0
mov ecx, eax
cmp eax, 8
jae 0x4031d0
jmp 0x403211
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0xc]
je 0x40309a
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov ecx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
cmp edx, eax
jl 0x4032b0
mov dword [esp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x4032b6
cmp dword [esp + 0xc], 0
jne 0x4032c5
jmp 0x403310
cmp dword [ebp + 8], 0
jne 0x4032a1
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x403310
mov eax, edi
and eax, 3
je 0x403310
mov ecx, edi
mov ebx, edi
not ebx
and ebx, 3
mov eax, dword [esp + 0xc]
lea edi, [eax - 1]
cmp ebx, edi
jb 0x4032e2
mov ebx, edi
lea eax, [ebx + 1]
push eax
push 0x30
mov esi, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
lea ecx, [ebx + esi]
inc ecx
sub edi, ebx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 8]
cmp edi, 4
jge 0x40331b
mov eax, dword [esp + 0x30]
jmp 0x40335a
mov ecx, edi
mov edi, dword [esp + 0xc]
cmp edi, 4
jl 0x403306
mov eax, edi
cmp edi, 7
jl 0x403327
mov eax, 7
neg eax
lea esi, [edi + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
lea ecx, [esi + ebx]
add ecx, 4
sub edi, esi
add edi, 0xfffffffc
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 8]
test edi, edi
mov dword [esp + 0x30], eax
je 0x403390
push edi
push 0x30
mov esi, ecx
push ecx
call fcn.0040c6d0
mov ebx, dword [esp + 0x14]
add esp, 0xc
add esi, edi
mov edi, esi
mov esi, dword [esp + 0x2c]
cmp dword [ebp + 8], 0
jne 0x40339c
jmp 0x403270
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x403270
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403270
add dword [esp + 0x30], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40373e
mov edi, eax
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 8]
jmp 0x403270
mov edi, eax
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 8]
movzx eax, byte [esp + 0x34]
test al, al
je 0x40350d
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x40341d
mov eax, edi
not eax
mov edx, dword [esp + 0x20]
and eax, edx
not edx
and edx, edi
sub eax, edx
add eax, 0x200
cmp eax, ecx
jl 0x40341d
mov eax, ecx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x4034bb
mov ecx, eax
and ecx, 3
je 0x403500
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403440
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x2c]
cmp eax, 4
jb 0x4034bb
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 0x403470
cmp dword [ebp + 8], 0
je 0x4033e6
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4033e6
add dword [esp + 0x30], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4033e0
jmp 0x40373e
mov ecx, eax
cmp eax, 4
jae 0x403470
jmp 0x4034bb
test bl, 1
je 0x40367e
test esi, esi
mov eax, dword [esp + 0x4c]
jle 0x403682
jne 0x40353c
jmp 0x403682
mov eax, dword [esp + 0x4c]
sub esi, edx
je 0x403682
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov edx, esi
cmp esi, eax
jl 0x40354f
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x403557
mov edx, esi
test edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], esi
je 0x4035b0
mov eax, edi
and eax, 3
je 0x4035b0
mov ecx, edi
mov ebx, edi
not ebx
and ebx, 3
lea edi, [edx - 1]
cmp ebx, edi
jb 0x40357c
mov ebx, edi
lea eax, [ebx + 1]
push eax
push 0x20
mov esi, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
lea ecx, [ebx + esi]
inc ecx
sub edi, ebx
mov esi, dword [esp + 0x2c]
cmp edi, 4
jge 0x4035b9
mov edx, dword [esp + 0x30]
jmp 0x4035f4
mov ecx, edi
mov edi, edx
cmp edi, 4
jl 0x40359c
mov eax, edi
cmp edi, 7
jl 0x4035c5
mov eax, 7
neg eax
lea esi, [edi + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
lea ecx, [esi + ebx]
add ecx, 4
sub edi, esi
add edi, 0xfffffffc
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test edi, edi
mov dword [esp + 0x30], edx
je 0x403620
push edi
push 0x20
mov ebx, esi
mov esi, ecx
push ecx
call fcn.0040c6d0
add esp, 0xc
add esi, edi
mov edi, esi
mov esi, ebx
jmp 0x403622
mov edi, ecx
mov eax, dword [esp + 0x4c]
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0xc]
je 0x403534
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403530
add dword [esp + 0x30], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40373e
mov edi, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
jmp 0x403534
lea eax, [esp + 0x41]
mov dword [esp + 0x10], eax
jmp 0x40307e
mov eax, dword [esp + 0x4c]
inc eax
jmp 0x401041
mov ebx, dword [esp + 0x1c]
cmp ebx, 4
jb 0x4036b7
mov edi, ebx
and edi, 0xfffffffc
push edi
push 0x30
push ecx
mov dword [esp + 0x28], ebx
mov ebx, ecx
call fcn.0040c6d0
mov ecx, ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
add esp, 0xc
add ecx, edi
and ebx, 3
mov edi, dword [esp + 0xc]
test ebx, ebx
jne 0x4036d1
jmp 0x4026c2
mov byte [ecx], 0x30
dec ebx
inc ecx
test ebx, ebx
je 0x4026c2
test dl, 0x40
je 0x4036c4
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp eax, 4
jne 0x4036c4
movzx eax, byte [0x449001]
xor al, 0x90
mov byte [ecx], al
mov dword [esp], 0
inc ecx
test ebx, ebx
jne 0x4036d1
jmp 0x4026c2
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x40211a
cmp dword [ebp + 8], 0
je 0x403744
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x40374b
add dword [esp + 0x30], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov edx, eax
jmp 0x40374b
xor edi, edi
xor edx, edx
jmp 0x40374b
mov byte [edi], 0
mov edx, dword [esp + 0x20]
sub edi, edx
mov eax, edi
mov ecx, dword [esp + 0x30]
and eax, ecx
xor edi, ecx
lea eax, [edi + eax*2]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor edx, edx
mov dword [esp + 0x30], ebx
jmp 0x40374b