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 ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x50], 0
mov edx, edi
jmp 0x401036
mov ecx, ebx
mov byte [edi], al
inc edi
inc ecx
mov dword [esp + 0x20], edx
mov ebx, ecx
test cl, 3
je 0x401050
movzx eax, byte [ecx]
jmp 0x401078
mov eax, dword [ecx]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
and ecx, 0x1010101
mov esi, eax
and esi, 0xfefefefe
xor esi, 0x24242424
sub esi, ecx
test esi, edx
je 0x4010c3
cmp al, 0x25
je 0x401136
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x20]
test al, al
je 0x40379d
test esi, esi
je 0x401030
mov ecx, edi
sub ecx, edx
cmp ecx, 0x1ff
jl 0x401030
add dword [esp + 0x50], ecx
push ecx
push dword [ebp + 0xc]
push edx
call esi
add esp, 0xc
test eax, eax
je 0x4037d6
mov edi, eax
mov ecx, ebx
movzx eax, byte [ebx]
mov edx, edi
jmp 0x401032
mov ecx, dword [esp + 0x20]
sub ecx, edi
add ecx, 0x200
jmp 0x401118
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
and edx, 0x1010101
mov esi, eax
and esi, 0xfefefefe
xor esi, 0x24242424
sub esi, edx
mov edx, eax
not edx
and edx, 0x80808080
add ecx, 0xfffffffc
test esi, edx
jne 0x401078
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401080
cmp dword [ebp + 8], 0
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x401078
mov ecx, ebx
add ecx, 2
xor ebx, ebx
jmp 0x401150
or ebx, 1
inc ecx
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 + 0x44c564]
mov eax, ebx
not eax
or eax, 0xfffffffb
add ebx, eax
add ebx, 5
inc ecx
jmp 0x401150
or ebx, 8
inc ecx
jmp 0x401150
or ebx, 0x400
inc ecx
jmp 0x401150
or ebx, 0x40
inc ecx
jmp 0x401150
test ebx, 0x100
jne 0x4011a2
or ebx, 0x100
inc ecx
jmp 0x401150
or ebx, 2
inc ecx
jmp 0x401150
test ebx, 0x800
jne 0x4011c0
mov eax, ebx
not eax
and eax, 0xfffff6ff
xor ebx, 0xfffff7ff
or ebx, eax
not ebx
inc ecx
jmp 0x401150
or ebx, 0x1000
inc ecx
jmp 0x401150
or ebx, 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x4011f0
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40122f
dec ecx
cmp al, 0x2a
je 0x4011d3
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x4c], 0
cmp dl, 9
ja 0x40122f
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
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 0x401210
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], 0xffffffff
cmp al, 0x2e
jne 0x4012b7
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x40125d
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x24], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012b7
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x24], 0
cmp dl, 9
ja 0x4012b7
mov dword [esp + 0xc], ebx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
and ebx, 0xa
mov edx, esi
or esi, 0xa
imul esi, ebx
xor ebx, 0xa
and edx, 0xfffffff5
imul edx, ebx
movzx eax, al
add esi, eax
add esi, edx
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401280
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0xc]
movzx edx, al
add edx, 0xffffffb7
cmp edx, 0x31
ja case.0x4012c2.74
jmp dword [edx*4 + 0x44c664]
inc ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
movzx eax, byte [ecx]
jmp 0x401332
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401329
or ebx, 0x20
add ecx, 2
jmp 0x4012ca
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401bbc
cmp eax, 0x36
jne 0x40132e
cmp byte [ecx + 2], 0x34
mov edx, dword [esp + 0x20]
jne 0x402297
or ebx, 0x20
add ecx, 3
jmp 0x4012ce
cmp byte [ecx + 1], 0x68
je 0x40179e
inc ecx
or ebx, 0x200
jmp 0x4012ca
inc ecx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x20]
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x37
ja case.0x401345.67
mov dword [esp + 0x3c], edi
jmp dword [ecx*4 + 0x44c72c]
test bl, 0x20
jne 0x401762
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], 0
cmp al, 0x75
je 0x401d53
test edx, edx
jns 0x401d53
neg edx
mov dword [esp + 8], edx
or ebx, 0x80
jmp 0x401d57
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x45
je 0x401399
mov ecx, str.0123456789abcdefxp
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 0x24]
cmp ecx, 0xffffffff
je 0x4013b3
mov eax, ecx
mov dword [esp + 0x1c], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
call fcn.00403800
add esp, 0x18
test eax, eax
je 0x4013f0
or ebx, 0x80
add dword [esp + 0x2c], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
test bl, bl
js 0x401413
mov al, 0x20
test bl, 4
jne 0x401413
mov al, 0x2b
test bl, 2
je 0x40141c
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
cmp eax, 0x7000
jne 0x40161c
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
jmp 0x402ab0
mov edi, str.0123456789ABCDEFXP
cmp al, 0x41
je 0x40144e
mov edi, str.0123456789abcdefxp
mov edx, 6
mov ecx, dword [esp + 0x24]
cmp ecx, 0xffffffff
je 0x40145e
mov edx, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
test edx, edx
jns 0x401473
or ebx, 0x80
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov cl, 0x2d
test bl, bl
mov dword [esp + 8], esi
js 0x4015cc
mov cl, 0x20
test bl, 4
jne 0x4015cc
mov cl, 0x2b
test bl, 2
jne 0x4015cc
mov dword [esp + 0xc], 0
jmp 0x4015d6
mov dword [esp + 0x30], str.0123456789ABCDEFXP
cmp al, 0x42
je 0x4014be
mov dword [esp + 0x30], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test bl, 8
je 0x4014dd
cmp al, 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 ecx, 1
test bl, 0x20
je 0x401807
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x2c], edx
jmp 0x401816
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x47
je 0x401516
mov ecx, str.0123456789abcdefxp
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, dword [esp + 0x24]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401538
mov esi, eax
lea eax, [esi - 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 + 0x30]
lea edx, [esp + 0x40]
call fcn.00403800
add esp, 0x18
test eax, eax
je 0x401574
or ebx, 0x80
mov eax, dword [esp + 0x28]
cmp eax, esi
jb 0x40157e
mov eax, esi
mov ecx, eax
mov dword [esp + 0x1c], eax
cmp eax, 2
mov dword [esp + 0xc], esi
jb 0x4017ac
mov edx, dword [esp + 0x18]
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x1c]
cmp byte [edx + esi - 1], 0x30
jne 0x402119
lea eax, [ecx - 1]
dec esi
mov dword [esp + 0x1c], esi
cmp esi, 2
jb 0x40211b
cmp ecx, 1
mov ecx, eax
jne 0x4015a0
jmp 0x40211b
mov byte [esp + 0x45], cl
mov cl, 1
mov dword [esp + 0xc], ecx
mov esi, edx
and esi, 0xfffff
shr edx, 0x14
and edx, 0x7ff
mov dword [esp + 4], edi
je 0x401beb
add edx, 0xfffffc01
mov dword [esp + 0x24], edx
mov ecx, 0xffffffff
mov edx, dword [esp + 8]
add edx, ecx
mov ecx, 0xfffff
adc esi, ecx
add edx, 1
mov dword [esp + 8], edx
adc esi, 0
jmp 0x401c02
mov dword [esp + 0x30], eax
movzx eax, byte [esi]
mov byte [esp + 0xa4], al
lea eax, [esp + 0xa5]
cmp dword [esp + 0x1c], 0
je 0x40164f
movzx eax, byte [section..data]
xor al, 0x72
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 1]
cmp ecx, dword [esp + 0x1c]
jbe 0x401669
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
jb 0x401736
mov dword [esp + 8], esi
mov edx, dword [esp + 0x1c]
mov ebx, edx
cmp edx, ecx
jb 0x40168a
mov ebx, ecx
lea edx, [ebx - 1]
mov ecx, 1
cmp edx, 7
jb 0x401709
mov dword [esp + 0x24], ebx
mov edx, ebx
and edx, 0xfffffff8
xor ecx, ecx
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + ecx + 1]
mov byte [eax + ecx], bl
movzx ebx, byte [esi + ecx + 2]
mov byte [eax + ecx + 1], bl
movzx ebx, byte [esi + ecx + 3]
mov byte [eax + ecx + 2], bl
movzx ebx, byte [esi + ecx + 4]
mov byte [eax + ecx + 3], bl
movzx ebx, byte [esi + ecx + 5]
mov byte [eax + ecx + 4], bl
movzx ebx, byte [esi + ecx + 6]
mov byte [eax + ecx + 5], bl
movzx ebx, byte [esi + ecx + 7]
mov byte [eax + ecx + 6], bl
movzx ebx, byte [esi + ecx + 8]
mov byte [eax + ecx + 7], bl
add ecx, 8
cmp edx, ecx
jne 0x4016b0
add eax, ecx
mov dword [esp + 0x14], eax
inc ecx
mov ebx, dword [esp + 0x24]
and ebx, 7
mov edx, dword [esp + 8]
je 0x401736
add edx, ecx
xor ecx, ecx
mov eax, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
mov esi, edx
movzx edx, byte [edx + ecx]
mov byte [eax + ecx], dl
mov edx, esi
inc ecx
cmp ebx, ecx
jne 0x401720
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov esi, dword [esp + 0x30]
mov eax, esi
xor eax, 1
add esi, esi
and esi, 0xfffffffc
sub esi, eax
js 0x402038
mov byte [esp + 0x36], 0x2b
jmp 0x40203f
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 8]
mov esi, dword [edx]
mov edx, dword [edx + 4]
cmp al, 0x75
je 0x401d45
test edx, edx
jns 0x401d45
neg esi
mov dword [esp + 8], esi
mov eax, 0
sbb eax, edx
or ebx, 0x80
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
jmp 0x401d57
add ecx, 2
or ebx, 0x200
jmp 0x4012ca
mov eax, esi
jmp 0x40211b
and ebx, 0xffffffef
mov dword [esp + 0x24], 8
mov dword [esp + 0x30], str.0123456789ABCDEFXP
cmp al, 0x58
je 0x4017d2
mov dword [esp + 0x30], str.0123456789abcdefxp
mov dword [esp + 0x28], 0x440
mov byte [esp + 0x44], 0
mov ecx, 4
test bl, 8
je 0x4017fe
cmp al, 0x58
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x46], al
test bl, 0x20
jne 0x4014f3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x2c], edx
xor esi, esi
mov dword [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov edx, eax
or edx, esi
jne 0x401839
mov byte [esp + 0x44], 0
cmp dword [esp + 0x24], 0
je 0x401bcf
mov dword [esp + 0xc], ebx
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, eax
mov ebx, dword [esp + 0x28]
mov cl, bh
shrd eax, esi, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x263], cl
mov cl, bh
shr esi, cl
mov dword [esp + 0x10], ebx
test bh, 0x20
jne 0x401879
mov eax, dword [esp + 0x14]
mov ebx, esi
jmp 0x40187d
mov eax, esi
xor ebx, ebx
mov ecx, eax
or ecx, ebx
jne 0x40189f
mov ecx, 1
cmp dword [esp + 0x24], 2
jge 0x40189f
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
jmp 0x4019b0
lea ecx, [esp + 0x263]
mov dword [esp + 8], ecx
lea edx, [esp + 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ebx
test byte [esp + 0xc], 0x40
jne 0x4018e0
mov esi, eax
mov ebx, dword [esp + 8]
jmp 0x401930
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x28], edi
mov ecx, edi
shr ecx, 4
xor ecx, edi
test cl, 0xf
je 0x401901
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 8]
jmp 0x401930
and edi, 0xfffffff0
mov dword [esp + 0x28], edi
movzx ecx, byte [0x44f001]
xor cl, 0xd4
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov ebx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, 0xffffffff
mov eax, dword [esp + 0x10]
mov cl, ah
shl edi, cl
not edi
and edi, esi
mov eax, dword [esp + 0x28]
mov cl, ah
mov edx, dword [esp + 4]
shrd esi, edx, cl
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + edi]
mov esi, ebx
mov byte [ebx - 1], cl
mov cl, ah
shr edx, cl
mov dword [esp + 0x10], eax
test ah, 0x20
jne 0x401980
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov ebx, edx
jmp 0x401988
mov eax, edx
xor ebx, ebx
mov edi, dword [esp + 0x3c]
mov edx, esi
lea ecx, [esi - 1]
mov dword [esp + 8], ecx
mov ecx, eax
or ecx, ebx
jne 0x4018c0
lea ecx, [esp + 0x264]
sub ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x24]
jl 0x4018c0
mov eax, dword [esp + 0x10]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xc]
jmp 0x402aba
mov byte [esp + 0x44], 0
test bl, 8
je 0x4019ec
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x28], 0x330
mov dword [esp + 0x30], str.0123456789ABCDEFXP
mov ecx, 3
test bl, 0x20
je 0x401807
jmp 0x4014f3
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, str.null
test eax, eax
je 0x401a20
mov ecx, eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x24]
mov esi, eax
test eax, eax
jns 0x401a33
mov esi, 0xffffffff
mov edx, dword [esp + 8]
test dl, 3
je 0x40224d
mov ecx, eax
lea eax, [esi + edx]
test ecx, ecx
je 0x402a89
cmp byte [edx], 0
je 0x402874
inc edx
mov dword [esp + 4], esi
dec esi
test dl, 3
je 0x40224d
test esi, esi
je 0x402a89
cmp byte [edx], 0
je 0x402874
mov ecx, dword [esp + 8]
lea edx, [ecx + 2]
mov ecx, dword [esp + 4]
lea esi, [ecx - 2]
test dl, 3
je 0x40224d
test esi, esi
je 0x402a89
cmp byte [edx], 0
je 0x402874
mov ecx, dword [esp + 8]
lea edx, [ecx + 3]
mov ecx, dword [esp + 4]
lea esi, [ecx - 3]
test dl, 3
je 0x40224d
test esi, esi
je 0x402a89
cmp byte [edx], 0
je 0x402874
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 8]
lea edx, [ecx + 4]
mov esi, dword [esp + 4]
add esi, 0xfffffffc
test dl, 3
je 0x402251
test esi, esi
je 0x402a81
mov eax, edx
jmp 0x402a81
mov byte [esp + 0x263], al
mov dword [esp + 0x28], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
xor ebx, ebx
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x4c], 0
jmp 0x402aba
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 + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x263]
jmp 0x4024f2
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
test ebx, 0x100
jne 0x401f47
jmp 0x4021fc
mov esi, edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
jmp 0x403709
cmp byte [ecx + 2], 0x32
je 0x4022a0
mov ecx, dword [esp + 0x54]
jmp 0x4012ca
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x264]
jmp 0x4024f2
xor edx, edx
mov ecx, dword [esp + 8]
or ecx, esi
je 0x401bfa
mov edx, 0xfffffc02
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx*4]
xor edx, edx
mov edi, 0x8000000
shrd edx, edi, cl
shr edi, cl
test cl, 0x20
je 0x401c22
mov edx, edi
xor edi, edi
cmp dword [esp + 0x30], 0xf
jl 0x401c2d
xor edx, edx
xor edi, edi
mov ecx, dword [esp + 8]
shld esi, ecx, 8
shl ecx, 8
add ecx, edx
mov dword [esp + 8], ecx
adc esi, edi
mov edx, dword [esp + 0xc]
movzx ecx, dl
mov edi, edx
lea edx, [esp + 0x44]
mov word [ecx + edx + 1], 0x7830
mov ecx, edi
or cl, 2
mov byte [esp + 0x44], cl
mov ecx, esi
shr ecx, 0x1c
mov edx, dword [esp + 4]
movzx ecx, byte [edx + ecx]
mov byte [esp + 0xa4], cl
mov edi, dword [esp + 0x30]
test edi, edi
mov dword [esp + 0xc], ebx
je 0x401d2b
movzx ecx, byte [section..data]
xor cl, 0x72
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0x18], ecx
mov ebx, edi
cmp edi, 0xd
jb 0x401ca9
mov ebx, 0xd
sub edi, ebx
jg 0x401caf
xor edi, edi
mov ecx, ebx
and ecx, 3
mov dword [esp + 0x1c], edi
je 0x4022a8
mov dword [esp + 0x10], ebx
xor edi, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
nop
nop
nop
nop
mov ebx, esi
shr ebx, 0x18
and ebx, 0xf
mov edx, dword [esp + 4]
movzx ebx, byte [edx + ebx]
shld esi, ecx, 4
mov byte [esp + edi + 0xa6], bl
shl ecx, 4
inc edi
cmp dword [esp + 0x14], edi
jne 0x401cd0
mov dword [esp + 8], ecx
lea edx, [esp + 0xa6]
add edx, edi
mov ebx, dword [esp + 0x10]
sub ebx, edi
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x30], 4
jae 0x4022ba
mov dword [esp + 0x10], edx
lea esi, [esp + 0xa6]
mov dword [esp + 0x14], esi
jmp 0x402341
lea ecx, [esp + 0xa5]
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
jmp 0x402341
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], esi
jmp 0x401d57
mov dword [esp + 8], edx
test ebx, 0x100
jne 0x401f08
movzx edx, byte [0x44f001]
mov eax, edx
add al, dl
and al, 0xa8
mov ah, dl
sub ah, al
add ah, 0xd4
mov byte [esp + 0x1c], ah
xor dl, 0xd4
mov byte [esp + 0x10], dl
mov esi, 0x200
xor edx, edx
mov dword [esp + 0xc], ebx
nop
nop
nop
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 8]
cmp ebx, 0x5f5e100
mov edx, dword [esp + 0x14]
mov eax, edx
sbb eax, 0
jb 0x401dd0
push 0
push 0x5f5e100
push edx
push ebx
call fcn.0040cb80
mov dword [esp + 0x14], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 8], eax
jmp 0x401de0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x5c]
lea ecx, [eax + esi]
test byte [esp + 0xc], 0x40
jne 0x401e40
mov dword [esp + 4], ecx
mov ecx, 0x51eb851f
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mul ecx
shr edx, 5
imul eax, edx, 0x64
mov edi, ebx
sub edi, eax
movzx eax, word [edi + edi + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401e00
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 4]
jmp 0x401eb0
test ebx, ebx
mov edx, dword [esp + 0x30]
jne 0x401e7e
jmp 0x401eb0
mov dword [esp + 4], ecx
mov ecx, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 4]
test ebx, ebx
je 0x401eb0
test byte [esp + 0xc], 0x40
je 0x401e50
cmp edx, 3
je 0x401e91
mov dword [esp + 4], ecx
inc edx
jmp 0x401e54
movzx eax, byte [esp + 0x1c]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x401e7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
or eax, dword [esp + 0x14]
lea eax, [esp + esi + 0x64]
je 0x401f8e
cmp eax, ecx
mov ebx, dword [esp + 0xc]
jne 0x401eef
jmp 0x401d90
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x401d90
test bl, 0x40
je 0x401edb
cmp edx, 3
jne 0x401ed0
movzx eax, byte [esp + 0x10]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x401ee1
mov edx, dword [esp + 8]
mov eax, 1
mov ecx, dword [esp + 0x24]
cmp ecx, 0xffffffff
je 0x401f1c
mov eax, ecx
mov dword [esp + 0x24], 0
cmp edx, 0x400
mov ecx, dword [esp + 0x14]
sbb ecx, 0
jb 0x401f37
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
test ebx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp ebx, 0x3ffffff
ja 0x402031
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402182
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402182
fstp st(0)
fstp st(0)
jmp 0x4021fc
mov dword [esp + 8], eax
cmp byte [esp + esi + 0x64], 0x30
sete ch
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x44], 0
mov dl, 0x2d
mov eax, dword [esp + 0xc]
test al, al
mov ebx, eax
js 0x401fc7
mov dl, 0x20
test bl, 4
jne 0x401fc7
mov dl, 0x2b
test bl, 2
je 0x401fd0
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, ch
movzx eax, cl
mov ecx, dword [esp + 8]
add ecx, eax
lea eax, [esp + 0x264]
mov dword [esp + 8], ecx
sub eax, ecx
mov ecx, eax
mov dword [esp + 0x28], eax
jne 0x402010
mov byte [esp + 0x263], 0x30
mov dword [esp + 0x28], 1
mov ecx, 1
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x402022
xor eax, eax
add ecx, 0x3000000
mov dword [esp + 0x10], ecx
jmp 0x402aba
fstp st(0)
jmp 0x4021fc
mov byte [esp + 0x36], 0x2d
neg esi
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 + 8], 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 + 8]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, dword [esp + 4]
mov byte [esp + 0x34], dl
mov byte [esp + edx + 0x34], bl
add al, 0x30
mov byte [esp + edx + 0x33], al
cmp esi, 0x64
jb 0x4020f3
mov ebx, edx
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x34]
mov byte [ebx + eax - 2], dl
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], 0x3000001
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jmp 0x402a55
mov eax, ecx
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
cmp ecx, 0xfffffffd
jl 0x402156
cmp ecx, dword [esp + 0xc]
jg 0x402156
test ecx, ecx
jle 0x4024a3
sub dword [esp + 0x1c], ecx
jg 0x4024b3
mov dword [esp + 0x1c], 0
jmp 0x4024b3
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x402168
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x4013f5
mov dword [esp + 0x1c], 0
sub eax, 1
jb 0x4013f5
mov dword [esp + 0x1c], eax
jmp 0x4013f5
fdiv st(2), st(0)
lea ecx, [ebx + 0x1000000]
cmp ebx, 0x2ffffff
ja 0x4021f6
fucom st(2)
fnstsw ax
sahf
jbe 0x4021a4
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021f6
fdiv st(2), st(0)
lea ecx, [ebx + 0x2000000]
cmp ebx, 0x1ffffff
ja 0x4021f6
fucom st(2)
fnstsw ax
sahf
jbe 0x4021c6
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021f6
fdiv st(2), st(0)
lea ecx, [ebx + 0x3000000]
cmp ebx, 0xffffff
ja 0x4021f6
fucom st(2)
fnstsw ax
sahf
jbe 0x40378e
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x40378e
fstp st(0)
fstp st(0)
mov ebx, ecx
mov ecx, 6
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x40220c
mov ecx, eax
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 + 0x34], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
call fcn.00403800
add esp, 0x18
test eax, eax
je 0x4024b3
or ebx, 0x80
jmp 0x4024b3
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov edi, esi
mov ebx, edx
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mov esi, edi
cmp edi, 4
jb 0x4027eb
mov edi, dword [eax]
mov ebx, edi
not ebx
mov ecx, 0x1010100
sub ecx, edi
or ecx, ebx
add ecx, edi
add ecx, 0xfefeff00
lea ebx, [eax + 4]
lea edi, [esi - 4]
test ecx, 0x80808080
je 0x402260
jmp 0x4027f3
mov ecx, dword [esp + 0x54]
jmp 0x4012ce
add ecx, 3
jmp 0x4012ca
lea edx, [esp + 0xa6]
cmp dword [esp + 0x30], 4
jb 0x401d17
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x10], ebx
mov ebx, esi
shr ebx, 0x18
and ebx, 0xf
mov edi, dword [esp + 4]
movzx ebx, byte [edi + ebx]
mov byte [edx], bl
mov ebx, esi
shr ebx, 0x14
and ebx, 0xf
movzx ebx, byte [edi + ebx]
mov byte [edx + 1], bl
mov ebx, esi
shr ebx, 0x10
and ebx, 0xf
movzx ebx, byte [edi + ebx]
mov byte [edx + 2], bl
mov ebx, esi
mov esi, dword [esp + 0x14]
shld esi, ecx, 0x10
shl ecx, 0x10
shr ebx, 0xc
and ebx, 0xf
movzx ebx, byte [edi + ebx]
mov byte [edx + 3], bl
mov ebx, dword [esp + 0x10]
add edx, 4
mov dword [esp + 0x14], esi
add ebx, 0xfffffffc
jne 0x4022d0
mov dword [esp + 0x10], edx
lea esi, [esp + 0xa6]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
test ebx, ebx
js 0x40235e
mov byte [esp + 0x36], 0x2b
jmp 0x402365
mov byte [esp + 0x36], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp + 0x1c], edi
ja 0x402384
cmp ebx, 0x63
jbe 0x402487
mov dword [esp + 4], 5
jmp 0x40238c
mov dword [esp + 4], 6
mov dword [esp + 8], 0
mov eax, ebx
mov ecx, 0xcccccccd
mov esi, ebx
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea edi, [edx + edx*4]
mov eax, ebx
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, esi
sub eax, edi
mov ebx, dword [esp + 4]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
sub ecx, edx
add cl, 0x30
mov byte [esp + ebx + 0x33], cl
cmp byte [esp + 8], 0
mov edi, dword [esp + 0x3c]
jne 0x402829
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
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x402829
mov eax, esi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x402829
cmp ebx, 9
jbe 0x402819
mov dword [esp + 4], 4
mov al, 1
mov dword [esp + 8], eax
jmp 0x402394
mov esi, dword [esp + 0x1c]
cmp eax, esi
jl 0x4024ad
mov eax, esi
sub eax, ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
test bl, bl
js 0x4024d1
mov al, 0x20
test bl, 4
jne 0x4024d1
mov al, 0x2b
test bl, 2
je 0x4024da
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
cmp ecx, 0x7000
jne 0x4024fb
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
jmp 0x402ab0
test ecx, ecx
mov dword [esp + 0xc], ebx
jle 0x4025a4
mov dword [esp + 4], 0
test bl, 0x40
je 0x40252f
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 0x402625
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], ecx
jmp 0x402572
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x40268b
test bl, 0x40
je 0x402550
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 4], ecx
cmp ecx, 4
jne 0x402550
mov ecx, ebx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44f001]
xor cl, 0xd4
mov edx, dword [esp + 0x10]
mov byte [edx], cl
inc edx
jmp 0x402554
mov byte [esp + 0xa4], 0x30
lea ebx, [esp + 0xa5]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4025d2
movzx eax, byte [section..data]
xor al, 0x72
mov byte [esp + 0xa5], al
lea ebx, [esp + 0xa6]
neg ecx
mov eax, edx
cmp edx, ecx
jl 0x4025dc
mov edx, ecx
test edx, edx
mov dword [esp + 4], edx
je 0x40287f
mov ecx, ebx
mov eax, ebx
and eax, 3
je 0x40287b
mov edi, ecx
not edi
and edi, 3
lea esi, [edx - 1]
cmp edi, esi
jb 0x402605
mov edi, esi
lea eax, [edi + 1]
push eax
push 0x30
push ecx
call fcn.0040cc70
mov ecx, ebx
add esp, 0xc
lea ecx, [edi + ebx]
inc ecx
sub esi, edi
mov edi, dword [esp + 0x3c]
jmp 0x402883
xor ebx, ebx
mov esi, 0xffffffff
lea ecx, [esp + 0xa4]
mov edi, dword [esp + 4]
jmp 0x40265b
mov edx, ecx
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + ebx]
lea ecx, [edx + 1]
mov byte [edx], al
inc ebx
dec esi
cmp ebx, dword [esp + 0x28]
jae 0x402728
test byte [esp + 0xc], 0x40
je 0x402640
inc edi
cmp edi, 4
jne 0x402640
mov edi, dword [esp + 0xc]
and edi, 0x40
shr edi, 6
movzx eax, byte [0x44f001]
mov edx, ecx
mov ecx, eax
add cl, al
and cl, 0xa8
sub al, cl
add al, 0xd4
mov byte [edx], al
inc edx
jmp 0x402642
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp dword [esp + 0x1c], 0
je 0x4026bb
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0xe4
sub cl, ch
add cl, 0x72
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x1c]
jbe 0x4026d3
mov edx, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x28], edx
cmp eax, edx
jae 0x4026fc
mov esi, dword [esp + 0x14]
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x4026e0
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0x10]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x1c]
sub eax, edx
add eax, ecx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
jmp 0x4029d4
mov dword [esp + 4], edi
mov edi, dword [esp + 0x40]
mov eax, edi
sub eax, ebx
mov dword [esp + 0x10], eax
jbe 0x4027b2
test byte [esp + 0xc], 0x40
jne 0x402a68
cmp edi, ebx
je 0x403717
mov eax, ecx
and eax, 3
je 0x403717
mov eax, 2
mov dword [esp + 0x14], edx
sub eax, edx
and eax, 3
not ebx
lea edx, [ebx + edi]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
cmp eax, edx
mov eax, dword [esp + 0x10]
jb 0x40277d
mov eax, edx
mov dword [esp + 0x10], eax
inc eax
push eax
push 0x30
push ecx
call fcn.0040cc70
add esp, 0xc
add esi, edi
mov eax, dword [esp + 8]
cmp esi, eax
jb 0x40279a
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ecx, eax
add ecx, 2
sub edi, esi
add ebx, edi
mov esi, ebx
jmp 0x40371b
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
mov esi, ecx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x1c], 0
je 0x402860
movzx eax, byte [section..data]
xor al, 0x72
mov byte [esi], al
inc esi
jmp 0x4029d4
test esi, esi
je 0x402a81
add edx, dword [esp + 4]
mov dword [esp + 4], edx
xor edx, edx
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
cmp byte [eax + edx], 0
je 0x40286d
inc edx
cmp esi, edx
jne 0x402805
mov eax, dword [esp + 4]
jmp 0x402a89
mov byte [esp + 0x34], 3
or bl, 0x30
mov byte [esp + 0x37], bl
mov edi, dword [esp + 0x3c]
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], 0x3000001
mov dword [esp + 8], eax
xor eax, eax
mov ebx, dword [esp + 0xc]
jmp 0x402aba
mov dword [esp + 0x1c], 0
jmp 0x4029d4
add eax, edx
jmp 0x402a89
mov eax, edx
jmp 0x402a89
mov esi, edx
jmp 0x402883
mov esi, edx
mov ecx, ebx
cmp esi, 4
jl 0x4028c1
mov eax, esi
cmp esi, 7
jl 0x402894
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push ecx
mov ebx, ecx
call fcn.0040cc70
mov ecx, ebx
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x3c]
test esi, esi
je 0x4028db
push esi
push 0x30
push ecx
mov ebx, ecx
call fcn.0040cc70
add esp, 0xc
add ebx, esi
mov dword [esp + 0x14], ebx
jmp 0x4028df
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 4]
lea ecx, [ebx + esi]
cmp ecx, dword [esp + 0x1c]
jle 0x4028fa
mov ebx, dword [esp + 0x1c]
sub ebx, esi
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x40294e
mov edx, dword [esp + 0x1c]
mov eax, edx
cmp edx, ecx
jl 0x40290a
mov eax, ecx
mov ecx, ebx
and ecx, 3
je 0x402954
mov dword [esp + 0x10], eax
xor esi, esi
mov eax, dword [esp + 0x14]
nop
nop
nop
nop
nop
mov edi, dword [esp + 0x18]
lea edx, [edi + 1]
mov dword [esp + 0x18], edx
movzx edx, byte [edi]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x402920
add eax, esi
mov dword [esp + 0x14], eax
mov ecx, ebx
sub ecx, esi
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x10]
jmp 0x402956
mov eax, dword [esp + 0x14]
jmp 0x4029ae
mov ecx, ebx
mov edx, esi
sub edx, eax
cmp edx, 0xfffffffc
mov eax, dword [esp + 0x14]
ja 0x4029ae
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
add eax, 4
add ecx, 0xfffffffc
jne 0x402963
add ebx, dword [esp + 4]
mov ecx, ebx
not ecx
mov edx, dword [esp + 0x1c]
and ecx, edx
add ecx, ecx
xor ebx, edx
sub ecx, ebx
mov dword [esp + 0x10], 0x3000001
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0xc]
mov esi, eax
test ebx, 0x100
je 0x402a55
mov eax, ebx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp ebx, 0x1000000
jb 0x402a55
mov dword [esp + 0x14], esi
mov ecx, ebx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
mov esi, dword [esp + 0xc]
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x402a2d
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
jmp 0x402a49
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
test esi, 0x1000
jne 0x402a49
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov esi, dword [esp + 0x14]
mov byte [esp + 0x34], al
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0xa4]
sub esi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 8], eax
jmp 0x402ab8
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40375e
jmp 0x4027ba
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
add dword [esp + 0x2c], 4
sub eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov byte [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x402ac8
mov eax, ecx
mov ebx, eax
movsx eax, byte [esp + 0x44]
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
add edx, ebx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x4c]
cmp esi, edx
jg 0x402aec
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 0x24], ecx
mov ebx, dword [esp + 0xc]
test bl, 1
jne 0x402b05
test bl, 0x10
jne 0x402b09
and ebx, 0xffffffae
mov ecx, edx
jmp 0x402b19
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jg 0x402b13
mov edx, ecx
mov dword [esp + 0x24], edx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
add ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
jne 0x402b30
mov edx, dword [esp + 0x20]
jmp 0x403054
mov ecx, ebx
xor ecx, 0xfffffffe
mov edx, ebx
or edx, 1
test edx, ecx
jne 0x402c89
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov edx, dword [esp + 0x20]
jg 0x402b6e
jmp 0x402c8d
mov esi, dword [esp + 4]
sub ecx, esi
test ecx, ecx
jle 0x402c7e
mov eax, edx
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x402b7f
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x402b87
mov esi, ecx
test esi, esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 4], esi
je 0x402bf0
mov eax, edi
and eax, 3
je 0x402bf0
mov ecx, edi
not edi
and edi, 3
dec esi
cmp edi, esi
jb 0x402bac
mov edi, esi
lea eax, [edi + 1]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040cc70
add esp, 0xc
lea ecx, [edi + ebx]
inc ecx
sub esi, edi
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
cmp esi, 4
jge 0x402bf7
test esi, esi
je 0x402c36
push esi
push 0x20
mov edi, ecx
push ecx
mov ebx, edx
call fcn.0040cc70
mov edx, ebx
mov ebx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
jmp 0x402c38
mov ecx, edi
cmp esi, 4
jl 0x402bd0
mov eax, esi
cmp esi, 7
jl 0x402c03
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040cc70
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
test esi, esi
jne 0x402bd4
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
mov ecx, dword [esp + 0x4c]
je 0x402b60
mov eax, edi
sub eax, edx
cmp eax, 0x1ff
mov esi, dword [esp + 4]
jl 0x402b64
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4037d6
mov edi, eax
mov edx, eax
mov ecx, dword [esp + 0x4c]
jmp 0x402b64
mov dword [esp + 0x4c], ecx
movzx eax, byte [esp + 0x44]
jmp 0x402c8d
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x45]
mov dword [esp + 0x18], ecx
test al, al
jne 0x402cb1
jmp 0x402dcf
mov edi, eax
mov edx, eax
movzx eax, byte [esp + 0x44]
test al, al
je 0x402dcf
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402cd7
mov eax, edx
xor eax, edi
mov esi, edx
not edx
and edx, edi
add edx, edx
sub eax, edx
add eax, 0x200
cmp eax, ecx
jl 0x402cd5
mov eax, ecx
mov edx, esi
sub cl, al
mov byte [esp + 0x44], cl
test eax, eax
je 0x402d20
mov ecx, eax
and ecx, 3
je 0x402d30
mov dword [esp + 0x20], edx
xor edx, edx
nop
nop
mov esi, dword [esp + 0x18]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x402cf0
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
cmp eax, 4
jae 0x402d40
jmp 0x402d8b
mov esi, edx
jmp 0x402d8b
mov esi, edx
mov ecx, eax
cmp eax, 4
jb 0x402d8b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402d40
cmp dword [ebp + 8], 0
je 0x402dc0
mov eax, edi
mov edx, esi
sub eax, esi
cmp eax, 0x1ff
jl 0x402ca4
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ca0
jmp 0x4037d6
mov edx, esi
movzx eax, byte [esp + 0x44]
test al, al
jne 0x402cb1
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 4], 0
test bl, 0x40
je 0x402e16
and eax, 0xffffff
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, ecx
xor eax, esi
and esi, ecx
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x30]
lea ecx, [esi + 1]
mov dword [esp + 0x20], edx
xor edx, edx
div ecx
sub esi, edx
mov dword [esp + 4], esi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x402e42
lea eax, [esp + 0x45]
mov dword [esp + 0x18], eax
jmp 0x40318f
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
sub eax, esi
test eax, eax
jle 0x40304f
mov esi, eax
cmp dword [ebp + 8], 0
mov dword [esp + 0x24], eax
je 0x402e61
mov ecx, eax
mov eax, edx
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x402e61
mov esi, eax
test bl, 0x40
mov dword [esp + 0x14], esi
jne 0x402ec0
test esi, esi
je 0x402f90
mov dword [esp + 0x20], edx
mov eax, edi
lea ecx, [esi + 3]
mov ebx, esi
xor esi, esi
nop
mov dword [esp + 0x10], ecx
mov edi, eax
add eax, esi
mov ecx, eax
xor ecx, 0xfffffffc
mov edx, eax
or edx, 3
test edx, ecx
je 0x402ecb
mov eax, edi
mov byte [edi + esi], 0x30
dec ebx
inc esi
mov ecx, dword [esp + 0x10]
dec ecx
cmp dword [esp + 0x14], esi
jne 0x402e80
add eax, esi
mov edi, eax
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
jmp 0x402f90
mov ecx, esi
test ecx, ecx
jne 0x402f36
jmp 0x402f90
mov dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x14]
sub ecx, esi
cmp ecx, 4
jl 0x402f28
cmp ebx, 7
jl 0x402ee4
mov ebx, 7
mov edx, dword [esp + 0x14]
mov ecx, edx
mov edi, edx
sub ecx, ebx
sub ecx, esi
add ecx, 3
and ecx, 0xfffffffc
add ecx, 4
push ecx
push 0x30
push eax
call fcn.0040cc70
add esp, 0xc
mov edx, dword [esp + 0x10]
sub edx, ebx
and edx, 0xfffffffc
mov eax, dword [esp + 0x3c]
add eax, edx
add eax, esi
add eax, 4
mov ebx, edi
mov ecx, edi
sub ecx, edx
mov edi, eax
sub ecx, esi
add ecx, 0xfffffffc
jmp 0x402f2a
mov edi, eax
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x402f90
test cl, 1
mov esi, edx
jne 0x402f50
mov eax, ecx
cmp ecx, 1
jne 0x402ff8
jmp 0x402f90
mov al, 0x30
test bl, 0x40
je 0x402f85
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x30]
jne 0x402f7f
movzx eax, byte [0x44f001]
mov edx, eax
add dl, al
and dl, 0xa8
sub al, dl
mov edx, esi
add al, 0xd4
mov dword [esp + 4], 0
jmp 0x402f85
inc dword [esp + 4]
mov al, 0x30
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402ff8
cmp dword [ebp + 8], 0
je 0x402e30
mov eax, edi
sub eax, edx
cmp eax, 0x1ff
mov esi, dword [esp + 0x14]
jl 0x402e34
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4037d6
mov edi, eax
mov edx, eax
jmp 0x402e34
movzx ecx, byte [0x44f001]
mov edx, ecx
add dl, cl
and dl, 0xa8
sub cl, dl
add cl, 0xd4
mov dword [esp + 4], 0
mov edx, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f90
mov cl, 0x30
test bl, 0x40
je 0x403035
mov edx, dword [esp + 4]
cmp edx, dword [esp + 0x30]
jne 0x403030
movzx edx, byte [0x44f001]
mov ch, dl
add ch, dl
and ch, 0xa8
sub dl, ch
add dl, 0xd4
mov dword [esp + 4], 0
jmp 0x403037
inc edx
mov dword [esp + 4], edx
mov dl, 0x30
mov byte [edi], dl
test bl, 0x40
je 0x402feb
mov edx, dword [esp + 4]
cmp edx, dword [esp + 0x30]
je 0x402fd0
inc edx
mov dword [esp + 4], edx
jmp 0x402feb
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x18], ecx
test al, al
je 0x40318f
mov esi, edx
jmp 0x40307d
movzx eax, byte [esp + 0x44]
test al, al
je 0x40318d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x403090
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x403098
mov ecx, edx
sub al, cl
mov byte [esp + 0x44], al
test ecx, ecx
je 0x40313b
mov eax, ecx
and eax, 3
je 0x403180
mov dword [esp + 0x20], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp eax, edx
jne 0x4030c0
add edi, edx
mov eax, ecx
sub eax, edx
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
cmp ecx, 4
jb 0x40313b
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x4030f0
cmp dword [ebp + 8], 0
je 0x403070
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403070
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4037d6
mov edi, eax
mov esi, eax
jmp 0x403070
mov eax, ecx
cmp ecx, 4
jae 0x4030f0
jmp 0x40313b
mov edx, esi
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4031ce
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov esi, dword [ebp + 8]
jne 0x4033b6
mov dword [esp + 0x20], edx
lea eax, [esp + 0x35]
mov dword [esp + 0x18], eax
jmp 0x4034ba
mov ebx, esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 4]
sub ecx, eax
je 0x403197
mov eax, edx
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x4031df
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x4031e7
mov esi, ecx
cmp esi, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 4], esi
jl 0x403250
lea eax, [esi - 4]
mov dword [esp + 0x14], eax
shr eax, 2
inc eax
and eax, 7
je 0x40325a
mov dword [esp + 0x20], edx
shl eax, 2
mov ebx, edi
xor edi, edi
mov edx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edx + edi]
mov dword [ebx + edi], ecx
add edi, 4
cmp eax, edi
jne 0x403220
add ebx, edi
mov ecx, esi
sub ecx, edi
add edx, edi
mov dword [esp + 8], edx
mov eax, ecx
mov edi, ebx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
jmp 0x40325e
mov eax, esi
mov esi, ebx
mov ebx, dword [esp + 8]
jmp 0x4032b1
mov ecx, esi
mov esi, ebx
cmp dword [esp + 0x14], 0x1c
mov ebx, dword [esp + 8]
jb 0x4032b1
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [ecx - 0x20]
add ebx, 0x20
add edi, 0x20
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403270
test eax, eax
je 0x403341
mov ecx, eax
and ecx, 7
je 0x403390
mov dword [esp + 0x20], edx
xor edx, edx
mov esi, ebx
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4032d0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, esi
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
cmp eax, 8
jb 0x403341
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx]
mov byte [edi], al
movzx eax, byte [ebx + 1]
mov byte [edi + 1], al
movzx eax, byte [ebx + 2]
mov byte [edi + 2], al
movzx eax, byte [ebx + 3]
mov byte [edi + 3], al
movzx eax, byte [ebx + 4]
mov byte [edi + 4], al
movzx eax, byte [ebx + 5]
mov byte [edi + 5], al
movzx eax, byte [ebx + 6]
mov byte [edi + 6], al
movzx eax, byte [ebx + 7]
add ebx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403300
mov dword [esp + 8], ebx
cmp dword [ebp + 8], 0
je 0x4031c0
mov eax, edi
sub eax, edx
cmp eax, 0x1ff
mov ebx, esi
jl 0x4031c2
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
test eax, eax
mov eax, dword [esp + 4]
je 0x4037d6
mov edx, edi
mov ecx, dword [esp + 0x10]
sub ecx, eax
jne 0x4031ce
jmp 0x403197
mov ecx, eax
cmp eax, 8
jae 0x403300
jmp 0x403341
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 4]
je 0x4031a6
mov eax, edx
sub eax, edi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x4033c7
mov ebx, eax
test esi, esi
jne 0x4033cd
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], ebx
je 0x403430
mov eax, edi
and eax, 3
je 0x403430
mov esi, edi
not edi
and edi, 3
dec ebx
cmp edi, ebx
jb 0x4033f2
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.0040cc70
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
cmp ebx, 4
jge 0x403437
test ebx, ebx
je 0x40346b
push ebx
push 0x30
mov edi, esi
push esi
call fcn.0040cc70
add esp, 0xc
add edi, ebx
jmp 0x40346d
mov esi, edi
cmp ebx, 4
jl 0x40340b
mov eax, ebx
cmp ebx, 7
jl 0x403443
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push esi
call fcn.0040cc70
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
test ebx, ebx
jne 0x40340f
mov edi, esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4033a0
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
cmp eax, 0x1ff
mov ebx, dword [esp + 0xc]
jl 0x4033a8
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call esi
add esp, 0xc
test eax, eax
je 0x4037d6
mov edi, eax
mov edx, eax
jmp 0x4033a8
mov edi, eax
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x4035cd
movsx edx, cl
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x4034db
mov eax, edx
test esi, esi
jne 0x4034e1
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40357b
mov ecx, eax
and ecx, 3
je 0x4035c0
xor edx, edx
nop
nop
nop
nop
mov esi, dword [esp + 0x18]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403500
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
cmp eax, 4
jb 0x40357b
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403530
test esi, esi
je 0x4034ba
mov eax, edi
mov ebx, dword [esp + 0x20]
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x4034b6
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x4034b0
jmp 0x4037d6
mov ecx, eax
cmp eax, 4
jae 0x403530
jmp 0x40357b
test bl, 1
je 0x403709
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x54]
jle 0x40370d
mov edx, dword [esp + 0x4c]
jne 0x403600
jmp 0x40370d
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
sub edx, ebx
je 0x40370d
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov ebx, edx
cmp edx, eax
jl 0x403613
mov ebx, eax
test esi, esi
jne 0x403619
mov ebx, edx
test ebx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], ebx
je 0x403670
mov eax, edi
and eax, 3
je 0x403670
mov esi, edi
not edi
and edi, 3
dec ebx
cmp edi, ebx
jb 0x40363a
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x20
push esi
call fcn.0040cc70
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
cmp ebx, 4
jge 0x403677
test ebx, ebx
je 0x4036ab
push ebx
push 0x20
mov edi, esi
push esi
call fcn.0040cc70
add esp, 0xc
add edi, ebx
jmp 0x4036ad
mov esi, edi
cmp ebx, 4
jl 0x403653
mov eax, ebx
cmp ebx, 7
jl 0x403683
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
push esi
call fcn.0040cc70
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
test ebx, ebx
jne 0x403657
mov edi, esi
mov esi, dword [ebp + 8]
test esi, esi
mov ecx, dword [esp + 0x54]
je 0x4035f0
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
cmp eax, 0x1ff
mov ebx, dword [esp + 0xc]
jl 0x403700
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call esi
add esp, 0xc
test eax, eax
je 0x4037d6
mov edi, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x54]
jmp 0x4035f4
mov dword [esp + 0x20], edx
jmp 0x4035f4
mov ecx, dword [esp + 0x54]
inc ecx
mov edx, dword [esp + 0x20]
jmp 0x401036
mov esi, dword [esp + 0x10]
cmp esi, 4
mov edi, dword [esp + 0x3c]
jb 0x403744
mov ebx, esi
and esi, 0xfffffffc
push esi
push 0x30
push ecx
mov dword [esp + 0x20], ecx
call fcn.0040cc70
mov ecx, dword [esp + 0x20]
add esp, 0xc
and ebx, 3
add ecx, esi
mov esi, ebx
mov ebx, dword [esp + 0xc]
test esi, esi
jne 0x40375e
jmp 0x4027ba
mov byte [ecx], 0x30
dec esi
inc ecx
test esi, esi
je 0x4027ba
test bl, 0x40
je 0x403751
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 4], eax
cmp eax, 4
jne 0x403751
movzx eax, byte [0x44f001]
xor al, 0xd4
mov byte [ecx], al
mov dword [esp + 4], 0
inc ecx
test esi, esi
jne 0x40375e
jmp 0x4027ba
fstp st(1)
fdivp st(1)
or ebx, 0x4000000
jmp 0x4021fc
test esi, esi
je 0x4037dc
mov eax, edi
sub eax, edx
mov ecx, eax
xor ecx, 0x1ff
mov ebx, edx
mov edx, eax
and edx, 0x1ff
lea ecx, [ecx + edx*2]
cmp ecx, 0x200
jl 0x4037e1
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
mov edi, eax
mov edx, eax
jmp 0x4037e3
xor edi, edi
xor edx, edx
jmp 0x4037e3
mov byte [edi], 0
jmp 0x4037e3
mov edx, ebx
mov eax, dword [esp + 0x50]
add eax, edi
sub eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret