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 + 0x2c], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x1c], edi
test bl, 3
je 0x401090
nop
nop
nop
movzx eax, byte [ebx]
cmp al, 0x25
je 0x401127
test al, al
je 0x403674
cmp dword [ebp + 8], 0
je 0x401087
mov edx, edi
mov ecx, dword [esp + 0x1c]
xor edx, ecx
not ecx
and ecx, edi
add ecx, ecx
sub ecx, edx
lea edx, [ecx + 1]
cmp edx, 0x200
jl 0x401087
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b5
mov edi, eax
movzx eax, byte [ebx]
mov dword [esp + 0x1c], edi
mov byte [edi], al
inc edi
inc ebx
test bl, 3
jne 0x401030
mov eax, dword [ebx]
mov edx, eax
not edx
and edx, 0x80808080
lea ecx, [eax + eax]
and ecx, 0xfdfdfdfc
xor ecx, 0x48484848
mov esi, eax
xor esi, 0x24242424
sub ecx, esi
test ecx, edx
jne 0x401033
mov ecx, dword [esp + 0x1c]
sub ecx, edi
add ecx, 0x200
jmp 0x401109
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
lea esi, [eax + eax]
and esi, 0xfdfdfdfc
xor esi, 0x48484848
mov edx, eax
xor edx, 0x24242424
sub esi, edx
mov edx, eax
not edx
and edx, 0x80808080
add ecx, 0xfffffffc
test esi, edx
jne 0x401033
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x40103b
cmp dword [ebp + 8], 0
je 0x4010d0
cmp ecx, 4
jge 0x4010d0
jmp 0x401033
add ebx, 2
mov ecx, ebx
xor ebx, ebx
jmp 0x401143
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401154.33
mov edx, 2
jmp dword [esi*4 + 0x444564]
mov edx, 4
jmp case.0x401154.43
mov edx, 0x400
jmp case.0x401154.43
mov edx, 0x100
test ebx, 0x100
je case.0x401154.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401154.43
mov edx, 8
jmp case.0x401154.43
mov edx, 0x40
jmp case.0x401154.43
or ebx, 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x4011b7
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x4011f1
dec ecx
cmp al, 0x2a
je 0x40119e
mov edx, eax
add dl, 0xd0
cmp dl, 9
ja 0x4011ef
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [edx + edx*4]
movzx eax, al
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
mov edx, esi
jb 0x4011d0
jmp 0x4011f1
xor edx, edx
mov dword [esp + 0x20], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0xc], ebx
mov dword [esp + 0x54], edx
jne 0x40125f
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401227
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x40125f
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x20], 0
cmp dl, 9
ja 0x40125f
xor esi, esi
nop
nop
nop
nop
movzx eax, al
lea edx, [esi + esi*4]
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401240
mov dword [esp + 0x20], esi
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40126a.74
jmp dword [eax*4 + 0x444664]
inc ecx
jmp case.0x40126a.74
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4012b6
or dword [esp + 0xc], 0x20
add ecx, 2
jmp case.0x40126a.74
lea ebx, [ecx + 1]
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x4012cb
mov dword [esp + 0x50], eax
cmp eax, 0x36
jne 0x401bf2
cmp byte [ecx + 2], 0x34
jne 0x4012d1
or dword [esp + 0xc], 0x20
jmp 0x4012d5
cmp byte [ecx + 1], 0x68
je 0x4012b9
inc ecx
jmp 0x4012bc
inc ecx
jmp 0x4012db
add ecx, 2
mov eax, dword [esp + 0xc]
or eax, 0x200
mov dword [esp + 0xc], eax
jmp case.0x40126a.74
cmp byte [ecx + 2], 0x32
je 0x4012d5
mov ecx, ebx
jmp case.0x40126a.74
add ecx, 3
movzx edx, byte [ecx]
mov ebx, ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x30], ebx
ja case.0x4012f0.67
jmp dword [eax*4 + 0x44472c]
test byte [esp + 0xc], 0x20
jne 0x4016e8
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0
cmp dl, 0x75
je 0x401db2
test ecx, ecx
jns 0x401db2
neg ecx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
or edx, 0x80
jmp 0x402134
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x40134c
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x401366
mov ecx, eax
mov eax, ecx
and eax, 0x7fffffff
mov dword [esp + 0x10], ecx
add ecx, ecx
sub ecx, eax
add ecx, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x40]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x4013b1
or dword [esp + 0xc], 0x80
add dword [esp + 0x2c], 8
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
cmp byte [esp + 0xc], 0
js 0x4013db
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4013db
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4013e4
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
cmp eax, 0x7000
je 0x402ac3
mov dword [esp + 0x34], eax
mov dword [esp + 4], esi
movzx ecx, byte [esi]
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa5]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401434
movzx ecx, byte [section..data]
xor cl, 0xb9
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov eax, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
cmp edx, eax
jbe 0x40144a
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
cmp ecx, 2
mov dword [esp + 0x20], ecx
jb 0x401502
mov ebx, eax
cmp eax, edx
jb 0x40145f
mov ebx, edx
lea esi, [ebx - 1]
mov edx, 1
cmp esi, 7
jb 0x4014d9
mov dword [esp + 0x24], ebx
mov esi, ebx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 8]
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x401480
add ecx, edx
mov dword [esp + 8], ecx
inc edx
mov ebx, dword [esp + 0x24]
and ebx, 7
je 0x401502
mov esi, dword [esp + 4]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x4014f0
add ecx, edx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x401dbf
dec eax
mov byte [esp + 0x3a], 0x2b
mov esi, eax
jmp 0x401dcb
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x401536
mov eax, str.0123456789abcdefxp
mov dword [esp + 8], eax
mov dword [esp + 0x50], edx
mov ecx, 6
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x40154e
mov ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
test edx, edx
js 0x40172b
mov ecx, dword [esp + 0xc]
jmp 0x401735
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x40157f
mov dword [esp + 0x10], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test byte [esp + 0xc], 8
je 0x4015a1
cmp dl, 0x42
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x46], al
mov dword [esp + 0x28], 0x180
mov dword [esp + 4], 1
test byte [esp + 0xc], 0x20
je 0x40181a
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
lea edx, [eax + 8]
mov dword [esp + 0x2c], edx
jmp 0x40182f
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x4015e4
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, dword [esp + 0x20]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
mov esi, dword [esp + 0xc]
je 0x40160a
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x40]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x401646
or esi, 0x80
mov eax, dword [esp + 0x28]
cmp eax, ebx
jb 0x401650
mov eax, ebx
mov dword [esp + 0xc], esi
cmp eax, 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebx
jb 0x4016a3
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], ecx
lea edx, [eax + eax]
nop
nop
nop
nop
mov eax, edx
and eax, 0xfffffffc
mov ecx, dword [esp + 0x10]
mov esi, ecx
xor esi, 1
sub eax, esi
mov esi, dword [esp + 4]
cmp byte [esi + eax], 0x30
jne 0x4016a3
lea eax, [ebx - 1]
dec ecx
mov dword [esp + 0x10], ecx
cmp ecx, 2
jb 0x4016a5
add edx, 0xfffffffe
cmp ebx, 1
mov ebx, eax
jne 0x401670
jmp 0x4016a5
mov eax, ebx
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x40]
cmp edx, 0xfffffffd
mov ebx, dword [esp + 0x30]
jl 0x4017a5
cmp edx, dword [esp + 8]
jg 0x4017a5
test edx, edx
jle 0x402109
mov eax, dword [esp + 0x10]
sub eax, edx
jg 0x4016df
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x4024cf
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x402124
test ecx, ecx
mov edx, ecx
jns 0x40211e
neg eax
mov dword [esp + 8], eax
mov ecx, 0
sbb ecx, edx
mov edx, dword [esp + 0xc]
or edx, 0x80
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], esi
jmp 0x402134
mov ecx, dword [esp + 0xc]
or ecx, 0x80
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov al, 0x2d
test cl, cl
mov dword [esp + 0xc], ecx
js 0x401761
mov al, 0x20
test cl, 4
jne 0x401761
mov al, 0x2b
test cl, 2
jne 0x401761
mov dword [esp + 0x18], 0
jmp 0x40176b
mov byte [esp + 0x45], al
mov al, 1
mov dword [esp + 0x18], eax
mov esi, edx
and esi, 0xfffff
shr edx, 0x14
and edx, 0x7ff
mov ecx, dword [esp + 4]
je 0x401c17
add edx, 0xfffffc01
mov eax, 0xffffffff
add ecx, eax
mov eax, 0xfffff
adc esi, eax
add ecx, 1
adc esi, 0
jmp 0x401c2a
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jle 0x401ea1
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x4013b6
and dword [esp + 0xc], 0xffffffef
mov dword [esp + 0x20], 8
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4017dd
mov dword [esp + 0x10], str.0123456789abcdefxp
mov dword [esp + 0x28], 0x440
mov byte [esp + 0x44], 0
mov dword [esp + 4], 4
test byte [esp + 0xc], 8
je 0x40180f
cmp dl, 0x58
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x46], al
test byte [esp + 0xc], 0x20
jne 0x4015bc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x38], 0
mov edx, ecx
or edx, dword [esp + 0x18]
mov esi, ecx
jne 0x401856
mov byte [esp + 0x44], 0
cmp dword [esp + 0x20], 0
je 0x401bfb
mov edx, 0xffffffff
mov ecx, dword [esp + 4]
shl edx, cl
not edx
and edx, esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov cl, ch
shrd esi, eax, cl
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + edx]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x263], cl
mov cl, dh
shr eax, cl
test dh, 0x20
mov ecx, eax
jne 0x40189e
mov eax, esi
mov esi, ecx
jmp 0x4018a2
mov eax, ecx
xor esi, esi
mov ecx, eax
mov dword [esp + 0x18], esi
or ecx, esi
jne 0x4018c4
mov ecx, 1
cmp dword [esp + 0x20], 2
jge 0x4018c4
lea esi, [esp + 0x263]
jmp 0x4019f0
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
or ecx, 0x40
xor eax, 0xffffffbf
and eax, ecx
mov dword [esp + 0x34], eax
lea esi, [esp + 0x263]
lea eax, [esp + 0x264]
mov dword [esp + 8], eax
nop
nop
nop
nop
cmp dword [esp + 0x34], 0
mov eax, edx
je 0x401960
mov ebx, esi
lea edx, [eax + 1]
mov dword [esp + 0x28], edx
mov ecx, eax
mov eax, 0xe
sub eax, ecx
and eax, 0xf
mov esi, edx
shr esi, 4
mov ecx, esi
not ecx
or ecx, 0xf
add ecx, esi
inc ecx
xor ecx, eax
cmp ecx, 0xf
jne 0x401970
and edx, 0xfffffff0
mov dword [esp + 0x28], edx
movzx eax, byte [0x447001]
mov ecx, eax
add cl, al
and cl, 0xc2
sub al, cl
add al, 0xe1
mov ecx, dword [esp + 8]
mov byte [ecx - 2], al
add ecx, 0xfffffffe
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x28]
jmp 0x401976
mov dword [esp + 8], esi
jmp 0x401976
mov eax, edx
mov dword [esp + 8], ebx
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
mov eax, dword [esp + 4]
and ebx, eax
mov edx, dword [esp + 0x28]
mov cl, dh
mov esi, dword [esp + 0x18]
shrd eax, esi, cl
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + ebx]
mov ecx, dword [esp + 8]
mov byte [ecx - 1], al
mov cl, dh
shr esi, cl
mov ecx, esi
test dh, 0x20
jne 0x4019c0
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 4]
jmp 0x4019c8
mov eax, ecx
xor ecx, ecx
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 8]
dec esi
mov dword [esp + 4], eax
mov dword [esp + 0x18], ecx
or eax, ecx
jne 0x4018f0
lea ecx, [esp + 0x264]
sub ecx, esi
cmp ecx, dword [esp + 0x20]
jl 0x4018f0
shr edx, 4
mov eax, edx
xor eax, 0xf0
or edx, 0xf
and edx, eax
shl edx, 0x18
add edx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
xor eax, eax
jmp 0x4023f5
mov byte [esp + 0x44], 0
test byte [esp + 0xc], 8
je 0x401a26
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x28], 0x330
mov dword [esp + 0x10], str.0123456789ABCDEFXP
mov dword [esp + 4], 3
test byte [esp + 0xc], 0x20
je 0x40181a
jmp 0x4015bc
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, str.null
test eax, eax
je 0x401a5f
mov ecx, eax
mov eax, dword [esp + 0x20]
mov esi, eax
test eax, eax
jns 0x401a6e
mov esi, 0xffffffff
test cl, 3
mov dword [esp + 4], ecx
je 0x401ebb
lea edx, [esi + ecx]
cmp dword [esp + 0x20], 0
je 0x402aa0
cmp byte [ecx], 0
je 0x402a9e
mov dword [esp + 8], esi
dec esi
inc ecx
test cl, 3
je 0x401ebb
test esi, esi
je 0x402aa0
cmp byte [ecx], 0
je 0x402a9e
mov eax, dword [esp + 8]
lea esi, [eax - 2]
mov eax, dword [esp + 4]
lea ecx, [eax + 2]
test cl, 3
je 0x401ebb
test esi, esi
je 0x402aa0
cmp byte [ecx], 0
je 0x402a9e
mov eax, dword [esp + 8]
lea esi, [eax - 3]
mov eax, dword [esp + 4]
lea ecx, [eax + 3]
test cl, 3
je 0x401ebb
test esi, esi
je 0x402aa0
cmp byte [ecx], 0
je 0x402a9e
mov esi, dword [esp + 8]
add esi, 0xfffffffc
mov eax, dword [esp + 4]
lea ecx, [eax + 4]
test cl, 3
je 0x401ebb
test esi, esi
je 0x401b1f
mov edx, ecx
mov ebx, dword [esp + 0x30]
jmp 0x402aa0
mov byte [esp + 0x263], dl
mov dword [esp + 0x28], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
lea esi, [esp + 0x263]
mov dword [esp + 0xc], 0
xor eax, eax
xor edx, edx
mov dword [esp + 0x54], 0
jmp 0x402acf
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x28], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
lea esi, [esp + 0x263]
jmp 0x402acb
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
test dword [esp + 0xc], 0x100
jne 0x40231f
jmp 0x402483
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x1c]
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
jmp 0x40108a
mov edx, dword [esp + 0x50]
jmp 0x4012dd
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
lea esi, [esp + 0x264]
jmp 0x402acb
xor edx, edx
or ecx, esi
je 0x401c22
mov edx, 0xfffffc02
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 4]
shld esi, ecx, 8
shl ecx, 8
mov eax, dword [esp + 0x24]
cmp eax, 0xe
mov dword [esp + 0x34], edx
mov dword [esp + 4], ecx
jg 0x401c89
mov edx, eax
and edx, 4
mov ecx, eax
or ecx, 4
imul ecx, edx
xor edx, 4
mov ebx, eax
and ebx, 0xfb
imul ebx, edx
add ecx, ebx
xor edx, edx
mov eax, 0x8000000
shrd edx, eax, cl
mov ebx, 0x8000000
shr ebx, cl
test cl, 0x20
je 0x401c79
mov edx, ebx
xor ebx, ebx
mov eax, dword [esp + 4]
add eax, edx
mov dword [esp + 4], eax
adc esi, ebx
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
movzx ecx, dl
lea eax, [esp + 0x44]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x44], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 8]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
cmp dword [esp + 0x24], 0
je 0x401d92
movzx ecx, byte [section..data]
mov edx, ecx
or dl, 0x46
not cl
or cl, 0xb9
and cl, dl
not cl
mov byte [esp + 0xa5], cl
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xa6]
mov dword [esp + 0x14], eax
mov edx, ecx
cmp ecx, 0xd
jb 0x401cf8
mov edx, 0xd
xor eax, eax
cmp ecx, edx
mov dword [esp + 0x18], edx
jle 0x401d16
mov eax, edx
not eax
and eax, ecx
mov edx, ecx
not edx
and edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, edx
and eax, 3
je 0x401f05
xor ebx, ebx
mov edx, dword [esp + 4]
mov dword [esp + 0x20], eax
nop
mov ecx, esi
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov esi, dword [esp + 8]
movzx eax, byte [esi + eax]
shld ecx, edx, 4
mov esi, ecx
mov byte [esp + ebx + 0xa6], al
mov eax, dword [esp + 0x20]
shl edx, 4
inc ebx
cmp eax, ebx
jne 0x401d30
mov dword [esp + 4], edx
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
sub dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
cmp ecx, 4
jae 0x401f15
mov dword [esp + 8], edx
lea eax, [esp + 0xa6]
mov dword [esp + 0x18], eax
jmp 0x401f99
lea eax, [esp + 0xa5]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
jmp 0x401f99
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
jmp 0x402134
mov byte [esp + 0x3a], 0x2d
mov esi, 1
sub esi, eax
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 4], eax
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x18], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, dword [esp + 4]
mov byte [esp + 0x38], dl
mov byte [esp + edx + 0x38], bl
add al, 0x30
mov byte [esp + edx + 0x37], al
cmp esi, 0x64
jb 0x401e7f
mov ebx, edx
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x38]
mov byte [ebx + eax - 2], dl
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], 0x3000001
mov ebx, dword [esp + 0x30]
jmp 0x402a5c
mov dword [esp + 0x10], 0
sub eax, 1
jb 0x4013b6
mov dword [esp + 0x10], eax
jmp 0x4013b6
cmp esi, 4
jb 0x401ef8
mov dword [esp + 8], esi
mov edx, dword [ecx]
mov esi, edx
not esi
mov eax, edx
xor eax, 0x1010101
and edx, 0xfefefefe
add edx, edx
sub edx, eax
and edx, esi
test edx, 0x80808080
jne 0x402a8c
mov esi, dword [esp + 8]
add esi, 0xfffffffc
add ecx, 4
cmp esi, 3
ja 0x401ec0
test esi, esi
jne 0x402a90
jmp 0x402a9e
lea edx, [esp + 0xa6]
cmp ecx, 4
jb 0x401d7e
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x18]
nop
nop
nop
mov dword [esp + 0x18], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ebx, dword [esp + 8]
movzx eax, byte [ebx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 2], al
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 4]
shld ecx, eax, 0x10
shl eax, 0x10
mov dword [esp + 4], eax
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ebx + esi]
mov byte [edx + 3], al
mov eax, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x20], ecx
mov esi, ecx
add eax, 0xfffffffc
jne 0x401f20
mov dword [esp + 8], edx
lea eax, [esp + 0xa6]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp byte [esp + 0x50], 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x39], cl
test eax, eax
js 0x401fd2
mov byte [esp + 0x3a], 0x2b
cmp eax, 0x3e7
ja 0x401fe0
cmp eax, 0x63
jbe 0x4020ed
mov dword [esp + 4], 5
jmp 0x401fe8
mov byte [esp + 0x3a], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x401fbf
mov dword [esp + 4], 6
mov dword [esp + 0x20], 0
mov ecx, 0xcccccccd
mov dword [esp + 0x34], eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x34]
mov ebx, 0x66666667
imul ebx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul ebx
mov eax, dword [esp + 0x34]
sub eax, esi
mov ebx, dword [esp + 4]
mov byte [esp + 0x38], bl
or al, 0x30
mov byte [esp + ebx + 0x38], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, dword [esp + 0x34]
sub ecx, edx
add cl, 0x30
mov byte [esp + ebx + 0x37], cl
cmp byte [esp + 0x20], 0
mov ecx, 0x51eb851f
mov ebx, dword [esp + 0x30]
jne 0x4028f6
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]
mov edx, dword [esp + 0x34]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov esi, dword [esp + 4]
mov byte [esi + eax - 2], cl
cmp edx, 0x3e8
jb 0x4028f6
mov eax, edx
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 + 0x38]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x4028f6
cmp eax, 9
jbe 0x4028eb
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 0x20], ecx
jmp 0x401ff0
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jl 0x402113
mov eax, ecx
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x4024cf
mov dword [esp + 0x10], edx
jmp 0x402128
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
test edx, 0x100
jne 0x4022e0
movzx edx, byte [0x447001]
mov eax, edx
xor al, 0xe1
mov byte [esp + 0x24], al
mov eax, edx
add al, dl
and al, 0xc2
sub dl, al
add dl, 0xe1
mov byte [esp + 0x18], dl
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 8]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x10]
mov eax, edx
sbb eax, 0
jb 0x4021b0
push 0
push 0x5f5e100
push edx
push ecx
mov dword [esp + 0x18], ecx
call fcn.0040c400
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x4021bc
mov dword [esp + 0x10], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
test byte [esp + 0xc], 0x40
mov dword [esp + 8], ecx
jne 0x402220
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
mov eax, edx
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
jae 0x4021e0
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
jmp 0x402290
mov eax, edx
test edx, edx
mov edx, dword [esp + 0x34]
je 0x402290
mov ecx, dword [esp + 4]
jmp 0x402262
mov dword [esp + 4], ecx
mov ecx, edx
mov ebx, eax
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 eax, edx
mov edx, ecx
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x402294
test byte [esp + 0xc], 0x40
je 0x402230
cmp edx, 3
je 0x402275
mov dword [esp + 4], ecx
inc edx
jmp 0x402234
mov edx, eax
movzx eax, byte [esp + 0x24]
mov byte [esp + esi + 0x63], al
mov eax, edx
dec esi
dec ecx
xor edx, edx
test eax, eax
jne 0x402262
jmp 0x402294
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
or eax, dword [esp + 0x10]
jne 0x4022b7
jmp 0x402366
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402170
test byte [esp + 0xc], 0x40
je 0x4022b1
cmp edx, 3
jne 0x4022b0
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x4022b7
mov edx, dword [esp + 8]
mov eax, 1
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x4022f4
mov eax, ecx
mov dword [esp + 0x20], 0
cmp edx, 0x400
mov ecx, dword [esp + 0x10]
sbb ecx, 0
jb 0x40230f
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x444550]
cmp ecx, 0x3ffffff
ja 0x40235f
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4023fe
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4023fe
fstp st(0)
fstp st(0)
jmp 0x402483
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov dl, 0x2d
cmp byte [esp + 0xc], 0
js 0x40239c
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x40239c
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x4023a5
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x64
lea ecx, [esi - 0x200]
neg ecx
mov dword [esp + 0x28], ecx
cmp esi, 0x200
jne 0x4023d8
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x28], 1
mov ecx, 1
mov esi, eax
xor eax, eax
cmp dword [esp + 0x20], 0
jg 0x4023eb
mov dword [esp + 0x20], 0
add ecx, 0x3000000
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
jmp 0x402acf
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40247b
fucom st(2)
fnstsw ax
sahf
jbe 0x402423
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40247b
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40247b
fucom st(2)
fnstsw ax
sahf
jbe 0x402448
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40247b
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40247b
fucom st(2)
fnstsw ax
sahf
jbe 0x403663
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403663
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], ecx
mov eax, 6
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x402493
mov eax, ecx
sub esp, 0x18
fstp qword [esp + 8]
mov ecx, eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x40]
call fcn.004036e0
add esp, 0x18
test eax, eax
je 0x4024cf
or dword [esp + 0xc], 0x80
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
cmp byte [esp + 0xc], 0
js 0x4024f4
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4024f4
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4024fd
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
cmp ecx, 0x7000
jne 0x40251a
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
jmp 0x402acb
test ecx, ecx
jle 0x4025c6
mov dword [esp + 4], 0
test byte [esp + 0xc], 0x40
je 0x40254c
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub esi, eax
mov dword [esp + 4], esi
cmp ecx, dword [esp + 0x28]
jae 0x40270b
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x24], ecx
jmp 0x40258b
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x24], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x40277e
test byte [esp + 0xc], 0x40
je 0x402569
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
jne 0x402565
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x447001]
mov edx, ecx
add dl, cl
and dl, 0xc2
sub cl, dl
add cl, 0xe1
mov edx, dword [esp + 0x24]
mov byte [edx], cl
inc edx
jmp 0x40256d
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4025f8
movzx eax, byte [section..data]
xor al, 0xb9
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
mov eax, dword [esp + 0x10]
neg ecx
mov ebx, eax
cmp eax, ecx
jl 0x402602
mov ebx, ecx
test ebx, ebx
mov dword [esp + 4], ebx
je 0x40263b
mov eax, edx
and eax, 3
je 0x40263b
mov esi, edx
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x40261f
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040c520
mov edx, dword [esp + 0x14]
add esp, 0xc
sub ebx, esi
add edx, esi
inc edx
cmp ebx, 4
jl 0x402678
mov eax, ebx
cmp ebx, 7
jl 0x40264c
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040c520
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
add edx, 4
sub ebx, esi
add ebx, 0xfffffffc
test ebx, ebx
je 0x40268e
push ebx
push 0x30
push edx
mov esi, edx
call fcn.0040c520
mov edx, esi
add esp, 0xc
add edx, ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 4]
lea esi, [ecx + eax]
mov eax, ecx
cmp esi, dword [esp + 0x10]
jle 0x4026b1
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, edx
test eax, eax
mov dword [esp + 8], eax
je 0x40298c
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
cmp edx, esi
jl 0x4026cf
mov dword [esp + 0x18], esi
mov edx, eax
and eax, 3
je 0x402932
xor esi, esi
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx]
mov byte [ecx + esi], dl
inc esi
cmp eax, esi
jne 0x4026e0
mov edx, ecx
add edx, esi
mov ecx, edx
mov eax, dword [esp + 8]
sub eax, esi
mov ebx, dword [esp + 0x30]
jmp 0x402934
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xa4]
jmp 0x402767
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x447001]
mov dword [esp + 8], edx
mov edx, ecx
add dl, cl
and dl, 0xc2
sub cl, dl
add cl, 0xe1
mov edx, dword [esp + 8]
mov byte [edx], cl
inc edx
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
mov ecx, edx
inc edx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x28]
jae 0x402818
test byte [esp + 0xc], 0x40
je 0x40274c
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
je 0x402720
mov dword [esp + 4], ecx
jmp 0x40274c
mov esi, dword [esp + 0x24]
mov dword [esp + 8], esi
cmp dword [esp + 0x10], 0
je 0x4027a5
movzx ecx, byte [section..data]
xor cl, 0xb9
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x28]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x10]
mov esi, edx
jbe 0x4027c0
mov edx, dword [esp + 0x10]
lea esi, [ecx + edx]
mov dword [esp + 0x28], esi
cmp eax, esi
jae 0x4027ec
mov edx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc edx
inc eax
mov esi, dword [esp + 0x28]
cmp eax, esi
jb 0x4027d0
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xa4]
mov edx, dword [esp + 0x24]
sub edx, eax
add edx, 0x3000000
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x10]
sub eax, esi
add eax, ecx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 8]
jmp 0x4029b4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 4]
jbe 0x4028ba
test byte [esp + 0xc], 0x40
jne 0x402a77
cmp dword [esp + 8], eax
je 0x4035f0
mov eax, edx
and eax, 3
je 0x4035f0
mov ecx, 2
sub ecx, dword [esp + 0x20]
and ecx, 3
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x18]
jb 0x402878
mov ecx, eax
mov dword [esp + 0x18], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040c520
add esp, 0xc
add esi, dword [esp + 8]
mov eax, dword [esp + 0x34]
cmp esi, eax
jb 0x402899
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
add edx, 2
mov eax, dword [esp + 8]
sub eax, esi
sub eax, ebx
mov esi, eax
mov ecx, dword [esp + 4]
jmp 0x4035f4
mov ebx, dword [esp + 0x30]
mov ecx, edx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x10], 0
je 0x402925
movzx eax, byte [section..data]
xor al, 0xb9
mov byte [edx], al
inc edx
jmp 0x4029b4
mov byte [esp + 0x38], 3
or al, 0x30
mov byte [esp + 0x3b], al
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 8]
mov eax, ecx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x28], ecx
xor edx, edx
mov dword [esp + 0x24], 0x3000001
jmp 0x402a6f
mov dword [esp + 0x10], 0
jmp 0x4029b4
mov eax, edx
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x18]
cmp edx, 0xfffffffc
ja 0x40298c
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [ecx + 1], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [ecx + 3], dl
add ecx, 4
add eax, 0xfffffffc
jne 0x402941
mov esi, dword [esp + 8]
add esi, dword [esp + 4]
mov eax, esi
mov edx, dword [esp + 0x10]
xor eax, edx
not esi
and esi, edx
add esi, esi
sub esi, eax
mov dword [esp + 0x24], 0x3000001
mov eax, esi
mov dword [esp + 0x10], esi
mov edx, ecx
mov eax, dword [esp + 0xc]
test eax, 0x100
je 0x402a60
mov ecx, eax
and ecx, 0x400
sete byte [esp + 0x38]
mov byte [esp + 0x39], 0x20
cmp eax, 0x1000000
jb 0x402a60
mov dword [esp + 8], edx
mov edx, eax
shr edx, 0x18
test eax, 0x800
jne 0x402a1d
movzx edx, byte [edx + str._kMGT]
mov byte [esp + 4], dl
mov edx, eax
shl edx, 0x15
sar edx, 0x1f
lea esi, [esp + 0x38]
movzx eax, byte [esp + 4]
mov byte [edx + esi + 2], al
cmp ecx, 1
mov edx, 0
adc dl, 1
jmp 0x402a58
movzx edx, byte [edx + str._KMGT]
mov byte [esp + 4], dl
mov esi, ecx
shr esi, 0xa
neg esi
cmp ecx, 1
mov edx, 0
adc dl, 1
movzx ecx, byte [esp + 4]
mov byte [esp + esi + 0x3a], cl
and eax, 0x1800
cmp eax, 0x800
jne 0x402a58
movzx edx, dl
mov byte [esp + edx + 0x39], 0x69
inc edx
mov byte [esp + 0x38], dl
mov edx, dword [esp + 8]
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x28], edx
xor edx, edx
mov esi, eax
mov eax, dword [esp + 0x10]
jmp 0x402acf
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x40363f
jmp 0x4028be
mov esi, dword [esp + 8]
lea edx, [ecx + esi]
cmp byte [ecx], 0
je 0x402a9e
inc ecx
dec esi
jne 0x402a93
mov ecx, edx
mov edx, ecx
add dword [esp + 0x2c], 4
mov eax, dword [esp + 4]
sub edx, eax
mov dword [esp + 0x28], edx
mov esi, eax
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
xor eax, eax
xor edx, edx
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
cmp edx, eax
jg 0x402ae1
mov edx, eax
mov dword [esp + 8], eax
movsx eax, byte [esp + 0x44]
movsx esi, byte [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
add edx, ecx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x54]
cmp esi, edx
jg 0x402b07
mov esi, edx
mov ecx, esi
xor ecx, edx
not edx
and edx, esi
add edx, edx
sub edx, ecx
mov ecx, dword [esp + 8]
sub dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
jne 0x402b30
test cl, 0x10
jne 0x402b34
and ecx, 0xffffffae
mov dword [esp + 0xc], ecx
mov ecx, edx
jmp 0x402b44
mov ecx, dword [esp + 0x20]
cmp edx, ecx
jg 0x402b3e
mov edx, ecx
mov dword [esp + 0x20], edx
xor ecx, ecx
mov dword [esp + 0x18], ecx
add ecx, dword [esp + 0x20]
jne 0x402b57
mov edx, dword [esp + 4]
jmp 0x402fe2
mov edx, dword [esp + 0xc]
mov ecx, edx
or ecx, 1
xor edx, 0xfffffffe
test ecx, edx
jne 0x402c87
mov ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x402ba0
jmp 0x402c87
mov edi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
mov eax, esi
xor eax, ecx
not esi
and esi, ecx
add esi, esi
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x402c7e
cmp dword [ebp + 8], 0
mov dword [esp + 0x18], ecx
je 0x402bd0
mov ecx, edi
sub ecx, dword [esp + 0x1c]
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, dword [esp + 0x18]
mov esi, ecx
cmp ecx, eax
jl 0x402bd2
mov esi, eax
jmp 0x402bd2
mov esi, ecx
test esi, esi
mov dword [esp + 8], esi
je 0x402c07
mov eax, edi
and eax, 3
je 0x402c07
mov ebx, edi
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x402bef
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c520
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ecx, dword [esp + 0x18]
cmp esi, 4
jl 0x402c2a
nop
nop
nop
nop
mov dword [edi], 0x20202020
add edi, 4
mov eax, esi
xor eax, 4
and esi, 0xfffffffb
add esi, esi
sub esi, eax
cmp esi, 3
jg 0x402c10
test esi, esi
je 0x402c40
push esi
push 0x20
push edi
call fcn.0040c520
mov ecx, dword [esp + 0x24]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 8]
cmp dword [ebp + 8], 0
je 0x402b8a
mov eax, edi
sub eax, dword [esp + 0x1c]
cmp eax, 0x1ff
jl 0x402b8a
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402b80
jmp 0x4036b5
mov dword [esp + 0x18], ecx
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x14], ecx
jmp 0x402cab
mov edi, eax
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x44]
test al, al
je 0x402dbd
movsx edx, al
mov ecx, dword [esp + 0x1c]
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402cc8
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402cd0
mov ecx, edx
sub al, cl
mov byte [esp + 0x44], al
test ecx, ecx
je 0x402d6b
mov eax, ecx
and eax, 3
je 0x402db0
mov ebx, ecx
xor edx, edx
nop
nop
nop
mov esi, dword [esp + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402cf0
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
cmp ecx, 4
jb 0x402d6b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402d20
cmp dword [ebp + 8], 0
je 0x402ca6
mov eax, edi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ca6
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ca0
jmp 0x4036b5
mov eax, ecx
cmp ecx, 4
jae 0x402d20
jmp 0x402d6b
mov eax, dword [esp + 0x24]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 8], ecx
xor esi, esi
test byte [esp + 0xc], 0x40
je 0x402de9
and eax, 0xffffff
add eax, dword [esp + 0x20]
mov esi, dword [esp + 8]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 4]
jle 0x4035df
mov eax, dword [esp + 0x20]
jmp 0x402e14
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x34]
test eax, eax
jle 0x402fd9
mov dword [esp + 0x20], eax
mov ecx, eax
cmp dword [ebp + 8], 0
je 0x402e43
mov ecx, edi
sub ecx, dword [esp + 0x1c]
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov ebx, ecx
cmp ecx, eax
jl 0x402e43
mov ecx, eax
test byte [esp + 0xc], 0x40
mov dword [esp + 0x34], ecx
jne 0x402ec8
test ecx, ecx
je 0x402e87
mov eax, edi
and eax, 3
je 0x402e87
mov ebx, edi
not ebx
and ebx, 3
dec ecx
cmp ebx, ecx
jb 0x402e67
mov ebx, ecx
lea eax, [ebx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x30], ecx
call fcn.0040c520
mov ecx, dword [esp + 0x30]
add esp, 0xc
add edi, ebx
inc edi
sub ecx, ebx
mov edx, dword [esp + 4]
cmp ecx, 4
jl 0x402ec8
mov eax, ecx
cmp ecx, 7
jl 0x402e98
mov eax, 7
neg eax
lea ebx, [ecx + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
mov dword [esp + 0x30], ecx
call fcn.0040c520
mov ecx, dword [esp + 0x30]
add esp, 0xc
add edi, ebx
add edi, 4
sub ecx, ebx
add ecx, 0xfffffffc
mov edx, dword [esp + 4]
test ecx, ecx
je 0x402f20
test cl, 1
jne 0x402ee0
mov eax, ecx
cmp ecx, 1
jne 0x402f8b
jmp 0x402f20
mov al, 0x30
test byte [esp + 0xc], 0x40
je 0x402f0f
cmp esi, dword [esp + 8]
jne 0x402efc
movzx eax, byte [0x447001]
xor al, 0xe1
xor esi, esi
jmp 0x402f0f
mov dword [esp + 0x24], ecx
mov ecx, esi
and ecx, 1
xor esi, 1
lea esi, [esi + ecx*2]
mov ecx, dword [esp + 0x24]
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402f8b
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e04
mov ecx, edi
not ecx
mov edx, dword [esp + 0x1c]
and ecx, edx
mov eax, edx
not eax
and eax, edi
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e00
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b5
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x402e00
movzx ecx, byte [0x447001]
xor cl, 0xe1
xor esi, esi
mov edx, dword [esp + 4]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f20
mov cl, 0x30
test byte [esp + 0xc], 0x40
je 0x402fbb
cmp esi, dword [esp + 8]
jne 0x402fb0
movzx edx, byte [0x447001]
xor dl, 0xe1
xor esi, esi
jmp 0x402fbd
mov edx, esi
and edx, 1
xor esi, 1
lea esi, [esi + edx*2]
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 0xc], 0x40
je 0x402f7c
cmp esi, dword [esp + 8]
je 0x402f70
mov edx, esi
and edx, 1
xor esi, 1
lea esi, [esi + edx*2]
jmp 0x402f7c
movzx eax, byte [esp + 0x44]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x45]
mov dword [esp + 0x14], ecx
jmp 0x402fff
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x44]
test al, al
je 0x40311d
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403032
mov edx, edi
sub edx, dword [esp + 0x1c]
mov eax, 0xfc0fc7ff
sub eax, edx
and edx, 0xfffffdff
and eax, 0x200
sub eax, edx
cmp eax, ecx
jl 0x403032
mov eax, ecx
sub cl, al
mov byte [esp + 0x44], cl
test eax, eax
je 0x4030cb
mov ecx, eax
and ecx, 3
je 0x403110
mov ebx, eax
xor edx, edx
nop
mov esi, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x403050
add edi, edx
mov eax, ebx
mov ecx, ebx
sub ecx, edx
mov ebx, dword [esp + 0x30]
cmp eax, 4
jb 0x4030cb
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403080
cmp dword [ebp + 8], 0
je 0x402ff6
mov eax, edi
sub eax, dword [esp + 0x1c]
cmp eax, 0x1ff
jl 0x402ff6
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ff0
jmp 0x4036b5
mov ecx, eax
cmp eax, 4
jae 0x403080
jmp 0x4030cb
mov esi, ebx
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x403380
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, esi
jne 0x40327e
lea eax, [esp + 0x39]
mov dword [esp + 0x14], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x4034bd
movsx edx, cl
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x403171
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403179
mov eax, edx
sub cl, al
mov byte [esp + 0x38], cl
test eax, eax
je 0x40321b
mov ecx, eax
and ecx, 3
je 0x403260
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
lea ebx, [esi + 1]
mov dword [esp + 0x14], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4031a0
add edi, edx
mov ecx, eax
sub ecx, edx
mov ebx, dword [esp + 0x30]
cmp eax, 4
jb 0x40321b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4031d0
cmp dword [ebp + 8], 0
je 0x403150
mov eax, edi
sub eax, dword [esp + 0x1c]
cmp eax, 0x1ff
jl 0x403150
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b5
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x403150
mov ecx, eax
cmp eax, 4
jae 0x4031d0
jmp 0x40321b
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 4]
je 0x403139
mov esi, edi
not esi
mov dword [esp + 0x10], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x4032ad
mov ecx, dword [esp + 0x1c]
mov eax, ecx
and eax, esi
not ecx
and ecx, edi
sub eax, ecx
add eax, 0x200
mov ecx, dword [esp + 0x10]
mov edx, ecx
cmp ecx, eax
jl 0x4032ad
mov edx, eax
test edx, edx
mov dword [esp + 4], edx
je 0x4032e0
mov eax, edi
and eax, 3
je 0x4032e0
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x4032c8
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edi
call fcn.0040c520
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
jmp 0x4032e2
mov ebx, edx
cmp ebx, 4
mov esi, dword [esp + 0x1c]
jl 0x40330e
nop
nop
nop
nop
nop
mov dword [edi], 0x30303030
add edi, 4
mov eax, ebx
and eax, 0x7ffffffb
not ebx
and ebx, 4
sub eax, ebx
mov ebx, eax
cmp eax, 3
jg 0x4032f0
test ebx, ebx
je 0x403320
push ebx
push 0x30
push edi
call fcn.0040c520
add esp, 0xc
add edi, ebx
mov ebx, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x403270
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403270
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b5
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x403270
mov edx, ebx
mov ecx, dword [esp + 8]
sub ecx, dword [esp + 4]
je 0x40312b
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov dword [esp + 4], ecx
cmp ecx, eax
jl 0x403397
mov dword [esp + 4], eax
cmp dword [ebp + 8], 0
mov ebx, esi
jne 0x4033a3
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
mov eax, ecx
cmp ecx, 4
jl 0x4033e0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edx]
mov dword [edi], ecx
add edi, 4
mov ecx, eax
and ecx, 0x7ffffffb
not eax
and eax, 4
sub ecx, eax
add edx, 4
mov eax, ecx
cmp ecx, 3
jg 0x4033c0
test eax, eax
je 0x403461
mov ecx, eax
and ecx, 7
je 0x4034b0
mov esi, edx
xor edx, edx
nop
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 0x403400
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, dword [esp + 0x30]
mov edx, esi
cmp eax, 8
jb 0x403461
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403420
mov esi, ebx
cmp dword [ebp + 8], 0
je 0x403372
mov ebx, edx
mov eax, edi
mov edx, dword [esp + 0x1c]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403370
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b5
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x403370
mov ecx, eax
cmp eax, 8
jae 0x403420
jmp 0x403461
test byte [esp + 0xc], 1
je 0x40108a
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x40108a
jne 0x4034f8
jmp 0x40108a
mov ecx, dword [esp + 0x18]
mov eax, ecx
not eax
and eax, esi
not esi
and esi, ecx
sub esi, eax
mov ecx, esi
je 0x40108a
mov eax, dword [esp + 0x1c]
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x40350b
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x403513
mov esi, ecx
test esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], esi
je 0x40354c
mov eax, edi
and eax, 3
je 0x40354c
mov ebx, edi
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x403534
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c520
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x30]
cmp esi, 4
jl 0x403585
mov eax, esi
cmp esi, 7
jl 0x40355d
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push edi
call fcn.0040c520
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x30]
test esi, esi
je 0x403597
push esi
push 0x20
push edi
call fcn.0040c520
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0xc]
cmp dword [ebp + 8], 0
je 0x4034e0
mov eax, edi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4034e0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4036b5
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x4034e0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x45]
mov dword [esp + 0x14], eax
jmp 0x40311f
mov esi, dword [esp + 0x18]
cmp esi, 4
mov ebx, dword [esp + 0x30]
jb 0x403637
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x18]
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040c520
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
mov esi, dword [esp + 0x18]
and esi, 3
test esi, esi
jne 0x40363f
jmp 0x4028be
mov byte [edx], 0x30
dec esi
inc edx
test esi, esi
je 0x4028be
test byte [esp + 0xc], 0x40
je 0x403632
inc ecx
cmp ecx, 4
jne 0x403632
movzx eax, byte [0x447001]
xor al, 0xe1
mov byte [edx], al
xor ecx, ecx
inc edx
test esi, esi
jne 0x40363f
jmp 0x4028be
fstp st(1)
fdivp st(1)
or dword [esp + 0xc], 0x4000000
jmp 0x402483
cmp dword [ebp + 8], 0
je 0x4036c1
mov eax, edi
sub eax, dword [esp + 0x1c]
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x4036c4
mov ecx, eax
mov edx, dword [esp + 0x4c]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x4c], edx
push eax
push dword [ebp + 0xc]
push dword [esp + 0x24]
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x4036c4
xor edi, edi
mov dword [esp + 0x1c], 0
jmp 0x4036c4
mov byte [edi], 0
mov eax, dword [esp + 0x4c]
add eax, edi
sub eax, dword [esp + 0x1c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret