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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x264]
not eax
mov dword [esp + 0x54], eax
mov eax, ecx
mov dword [esp + 0x4c], 0
mov dword [esp], esi
jmp 0x40104a
mov eax, edi
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x2c]
inc eax
test al, 3
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
je 0x401060
movzx eax, byte [eax]
jmp 0x401086
mov edi, dword [esp]
mov eax, dword [eax]
mov ecx, eax
not ecx
lea edx, [eax + eax]
and edx, 0x4a4a4a4a
neg edx
add edx, eax
add edx, 0x24242424
and edx, ecx
test edx, 0x80808080
je 0x4010dc
cmp al, 0x25
je 0x40115e
mov esi, dword [esp + 0x20]
test al, al
je 0x40373e
cmp dword [ebp + 8], 0
je 0x401042
mov edi, eax
mov ecx, esi
mov eax, dword [esp]
sub ecx, eax
lea edx, [ecx + 1]
cmp edx, 0x200
jl 0x401040
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push eax
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403766
mov esi, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
mov dword [esp], esi
jmp 0x401042
sub edi, esi
add edi, 0x200
jmp 0x401133
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov ecx, edx
not ecx
mov ebx, esi
lea esi, [edx + edx]
and esi, 0x4a4a4a4a
neg esi
add esi, edx
add esi, 0x24242424
and esi, ecx
add ebx, 4
mov dword [esp + 0x20], ebx
add eax, 4
mov dword [esp + 0x2c], eax
mov eax, edx
add edi, 0xfffffffc
test esi, 0x80808080
jne 0x401086
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
test edx, 0x80808080
jne 0x40108e
cmp dword [ebp + 8], 0
mov esi, dword [esp + 0x20]
je 0x4010f0
cmp edi, 4
jge 0x4010f0
jmp 0x401086
mov ecx, dword [esp + 0x2c]
add ecx, 2
mov esi, dword [esp + 0x20]
xor ebx, ebx
jmp 0x401180
or ebx, 1
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x40118c.33
jmp dword [edx*4 + 0x44d564]
or ebx, 4
inc ecx
jmp 0x401180
mov eax, ebx
not eax
or eax, 0xfffffff7
add ebx, eax
add ebx, 9
inc ecx
jmp 0x401180
or ebx, 0x400
inc ecx
jmp 0x401180
or ebx, 0x40
inc ecx
jmp 0x401180
test ebx, 0x100
jne 0x4011ce
or ebx, 0x100
inc ecx
jmp 0x401180
or ebx, 2
inc ecx
jmp 0x401180
test ebx, 0x800
jne 0x4011df
or ebx, 0x800
inc ecx
jmp 0x401180
or ebx, 0x1000
inc ecx
jmp 0x401180
or ebx, 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x40120f
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401253
dec ecx
cmp al, 0x2a
je 0x4011f2
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x30], 0
cmp dl, 9
ja 0x401253
mov dword [esp + 0x18], ebx
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401230
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], 0xffffffff
cmp al, 0x2e
jne 0x4012cb
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401281
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012cb
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0x4012cb
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
add esi, esi
lea edx, [esi + esi*4]
mov esi, edx
and esi, eax
xor edx, eax
lea esi, [edx + esi*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012a0
mov dword [esp + 4], esi
mov esi, dword [esp + 0x20]
movzx edx, al
add edx, 0xffffffb7
cmp edx, 0x31
ja case.0x4012d6.74
jmp dword [edx*4 + 0x44d664]
inc ecx
jmp 0x401335
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401341
or ebx, 0x20
jmp 0x401332
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401b23
cmp eax, 0x36
jne 0x401346
cmp byte [ecx + 2], 0x34
mov edx, dword [esp]
jne 0x401e02
mov eax, ebx
not eax
or eax, 0xffffffdf
add ebx, eax
add ebx, 0x21
add ecx, 3
jmp 0x401338
or ebx, 0x200
movzx eax, byte [ecx + 1]
cmp al, 0x68
jne 0x401341
add ecx, 2
mov edx, dword [esp]
mov dword [esp + 0x2c], ecx
movzx eax, byte [ecx]
jmp 0x401349
inc ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp]
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x37
mov dword [esp], edx
ja case.0x40135b.67
jmp dword [ecx*4 + 0x44d72c]
test bl, 0x20
jne 0x401748
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], 0
cmp al, 0x75
je 0x402021
test edi, edi
mov esi, dword [esp + 4]
jns 0x402025
neg edi
or ebx, 0x80
jmp 0x402025
mov edi, dword [esp + 4]
jmp 0x4017a3
mov esi, str.0123456789ABCDEFXP
cmp al, 0x45
je 0x4013b8
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x4013ce
mov eax, ecx
mov dword [esp + 0x10], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.00403790
add esp, 0x18
test eax, eax
je 0x40140b
or ebx, 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test bl, bl
js 0x40142e
mov al, 0x20
test bl, 4
jne 0x40142e
mov al, 0x2b
test bl, 2
je 0x401437
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
cmp ebx, 0x7000
mov dword [esp + 8], eax
je 0x402844
mov dword [esp + 0xc], esi
movzx ecx, byte [eax]
mov byte [esp + 0xa4], cl
lea edi, [esp + 0xa5]
cmp dword [esp + 0x10], 0
je 0x40148f
movzx ecx, byte [section..data]
xor cl, 0x4d
mov byte [esp + 0xa5], cl
lea edi, [esp + 0xa6]
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, dword [esp + 0x10]
jbe 0x4014a5
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 4], eax
cmp eax, 2
jb 0x40155e
mov eax, dword [esp + 0x10]
mov ecx, eax
cmp eax, edx
jb 0x4014be
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401537
mov dword [esp + 0x1c], ebx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov ebx, edi
mov edi, dword [esp + 8]
nop
nop
nop
nop
movzx eax, byte [edi + edx + 1]
mov byte [ebx + edx], al
movzx eax, byte [edi + edx + 2]
mov byte [ebx + edx + 1], al
movzx eax, byte [edi + edx + 3]
mov byte [ebx + edx + 2], al
movzx eax, byte [edi + edx + 4]
mov byte [ebx + edx + 3], al
movzx eax, byte [edi + edx + 5]
mov byte [ebx + edx + 4], al
movzx eax, byte [edi + edx + 6]
mov byte [ebx + edx + 5], al
movzx eax, byte [edi + edx + 7]
mov byte [ebx + edx + 6], al
movzx eax, byte [edi + edx + 8]
mov byte [ebx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4014e0
add ebx, edx
inc edx
mov edi, ebx
mov ebx, dword [esp + 0x1c]
and ecx, 7
je 0x40155e
mov esi, dword [esp + 8]
add esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x401550
add edi, edx
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
test ebx, ebx
jle 0x401cb1
dec ebx
mov byte [esp + 0x36], 0x2b
mov esi, ebx
jmp 0x401cbd
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x41
je 0x40158d
mov ecx, str.0123456789abcdefxp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], eax
mov eax, 6
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x4015a5
mov eax, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 4]
test eax, eax
jns 0x4015ba
or ebx, 0x80
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov cl, 0x2d
test bl, bl
js 0x401706
mov cl, 0x20
test bl, 4
jne 0x401706
mov cl, 0x2b
test bl, 2
jne 0x401706
mov dword [esp + 8], 0
jmp 0x401710
mov dword [esp + 0x1c], str.0123456789ABCDEFXP
cmp al, 0x42
je 0x401601
mov dword [esp + 0x1c], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test bl, 8
je 0x401620
cmp al, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x24], 0x180
mov dword [esp + 0x48], 0x180
jmp 0x401825
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x47
je 0x401643
mov ecx, str.0123456789abcdefxp
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 4]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401665
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.00403790
add esp, 0x18
test eax, eax
je 0x4016a1
or ebx, 0x80
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jb 0x4016ab
mov ecx, esi
mov dword [esp + 0x18], ebx
cmp ecx, 2
jb 0x401792
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov ebx, esi
lea esi, [ecx + ecx]
mov edi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
xor eax, 1
mov edx, esi
and edx, 0xfffffffc
sub edx, eax
mov eax, dword [esp + 8]
cmp byte [eax + edx], 0x30
jne 0x401d8f
lea eax, [ebx - 1]
dec ecx
cmp ecx, 2
jb 0x401d91
add esi, 0xfffffffe
cmp ebx, 1
mov ebx, eax
jne 0x4016d0
jmp 0x401d91
mov byte [esp + 0x41], cl
mov cl, 1
mov dword [esp + 8], ecx
mov edx, eax
and edx, 0xfffff
shr eax, 0x14
and eax, 0x7ff
je 0x401b56
add eax, 0xfffffc01
mov dword [esp + 0x48], eax
mov ecx, 0xffffffff
add esi, ecx
mov ecx, 0xfffff
adc edx, ecx
add esi, 1
adc edx, 0
jmp 0x401b6e
mov edx, dword [esp + 0x28]
lea ecx, [edx + 8]
mov edi, dword [edx]
mov edx, dword [edx + 4]
cmp al, 0x75
je 0x402019
test edx, edx
mov esi, dword [esp + 4]
jns 0x40200f
neg edi
mov eax, 0
sbb eax, edx
mov edx, ebx
xor edx, 0x80
add edx, ebx
and ebx, 0xffffff7f
sub edx, ebx
mov dword [esp + 0xc], eax
mov ebx, edx
mov dword [esp + 0x28], ecx
jmp 0x402025
mov edi, esi
mov eax, esi
jmp 0x401d91
and ebx, 0xffffffef
mov edi, 8
mov dword [esp + 0x1c], str.0123456789ABCDEFXP
cmp al, 0x58
je 0x4017b7
mov dword [esp + 0x1c], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x40], 0
mov dword [esp + 0x48], 0x440
test bl, 8
je 0x4017e6
cmp al, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test bl, 0x20
jne 0x40182e
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
xor esi, esi
jmp 0x40183e
mov byte [esp + 0x40], 0
test bl, 8
je 0x40180d
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x1c], str.0123456789ABCDEFXP
mov dword [esp + 0x48], 0x330
mov edi, dword [esp + 4]
test bl, 0x20
je 0x4017eb
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
lea edx, [ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, eax
mov dword [esp + 0x10], esi
or edx, esi
mov dword [esp + 0x18], ebx
jne 0x401866
mov byte [esp + 0x40], 0
test edi, edi
je 0x401b36
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
lea ecx, [esp + 0x264]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x48]
nop
nop
nop
mov esi, 0xffffffff
mov cl, ah
shl esi, cl
not esi
mov edi, dword [esp + 0xc]
mov edx, edi
not edx
or edx, esi
add edx, edi
mov ebx, dword [esp + 0x24]
mov cl, bh
mov eax, dword [esp + 0x10]
shrd edi, eax, cl
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + edx + 1]
mov edx, dword [esp + 8]
mov byte [edx - 1], cl
mov cl, bh
shr eax, cl
mov esi, ebx
test bh, 0x20
jne 0x4018d0
mov ecx, edi
jmp 0x4018d4
mov ecx, eax
xor eax, eax
lea edi, [edx - 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
or ecx, eax
mov ebx, dword [esp + 0x18]
mov dword [esp + 8], edi
jne 0x4018fa
lea ecx, [esp + 0x264]
sub ecx, edi
cmp ecx, dword [esp + 4]
jge 0x401954
mov eax, esi
test bl, 0x40
je 0x401880
lea eax, [esi + 1]
mov dword [esp + 0x24], eax
mov ecx, eax
shr ecx, 4
xor ecx, eax
test cl, 0xf
jne 0x401880
mov ecx, 0xfffffffe
sub ecx, esi
not ecx
and ecx, 0xfffffff0
mov dword [esp + 0x24], ecx
movzx ecx, byte [0x450001]
mov ch, cl
or ch, 0xda
not cl
or cl, 0x25
and cl, ch
not cl
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x24]
mov dword [esp + 8], edx
jmp 0x401880
shl esi, 0x14
and esi, 0xf000000
add esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], 0
mov esi, dword [esp + 4]
jmp 0x4029f4
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401989
mov edx, eax
mov ecx, dword [esp + 4]
mov eax, ecx
test ecx, ecx
jns 0x401998
mov eax, 0xffffffff
test dl, 3
mov dword [esp + 8], edx
mov dword [esp + 0x18], ebx
je 0x4026d4
mov esi, edx
add edx, eax
test ecx, ecx
je 0x40281d
cmp byte [esi], 0
je 0x4027c5
lea ecx, [esi + 1]
lea esi, [eax - 1]
test cl, 3
je 0x4027e2
test esi, esi
je 0x40281d
cmp byte [ecx], 0
je 0x40281b
mov ecx, dword [esp + 8]
add ecx, 2
lea esi, [eax - 2]
test cl, 3
je 0x4027e2
test esi, esi
je 0x40281d
cmp byte [ecx], 0
je 0x40281b
mov ecx, dword [esp + 8]
add ecx, 3
lea esi, [eax - 3]
test cl, 3
je 0x4027e2
test esi, esi
je 0x40281d
cmp byte [ecx], 0
je 0x40281b
mov ecx, dword [esp + 8]
add ecx, 4
add eax, 0xfffffffc
test cl, 3
je 0x4027e4
test eax, eax
jne 0x40281b
jmp 0x40281d
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [esp + 0x30], 0
jmp 0x4029f4
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x263]
mov dword [esp + 8], eax
jmp 0x402844
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test ebx, 0x100
mov esi, dword [esp + 4]
jne 0x40221b
jmp 0x40238b
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp]
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x4036ac
cmp byte [ecx + 2], 0x32
je 0x401e0b
mov ecx, dword [esp + 0x2c]
jmp 0x401335
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x264]
mov dword [esp + 8], eax
jmp 0x402844
mov ecx, esi
or ecx, edx
mov ecx, 0
je 0x401b66
mov ecx, 0xfffffc02
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 4]
shld edx, esi, 8
shl esi, 8
cmp edi, 0xe
mov dword [esp + 0x18], ebx
jg 0x401bc7
mov eax, esi
mov ebx, edi
and ebx, 4
mov ecx, edi
or ecx, 4
imul ecx, ebx
xor ebx, 4
mov esi, edi
and esi, 0xfb
imul esi, ebx
add ecx, esi
xor ebx, ebx
mov esi, 0x8000000
shrd ebx, esi, cl
mov esi, ebx
mov ebx, 0x8000000
shr ebx, cl
test cl, 0x20
je 0x401bbd
mov esi, ebx
xor ebx, ebx
add eax, esi
mov dword [esp + 0x1c], eax
adc edx, ebx
jmp 0x401bcb
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 8]
movzx ecx, al
lea esi, [esp + 0x40]
mov word [ecx + esi + 1], 0x7830
or al, 2
mov byte [esp + 0x40], al
mov ecx, edx
shr ecx, 0x1c
mov esi, dword [esp + 0xc]
movzx ecx, byte [esi + ecx]
mov byte [esp + 0xa4], cl
test edi, edi
je 0x401c93
movzx ecx, byte [section..data]
xor cl, 0x4d
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0x14], ecx
mov esi, edi
cmp edi, 0xd
jb 0x401c27
mov esi, 0xd
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x10], ecx
jg 0x401c39
mov dword [esp + 0x10], 0
mov ecx, esi
and ecx, 3
je 0x401e13
mov dword [esp + 8], esi
xor ebx, ebx
mov eax, dword [esp + 0x1c]
nop
nop
mov esi, edx
shr esi, 0x18
and esi, 0xf
mov edi, ecx
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + esi]
shld edx, eax, 4
mov byte [esp + ebx + 0xa6], cl
mov ecx, edi
shl eax, 4
inc ebx
cmp edi, ebx
jne 0x401c50
lea ecx, [esp + 0xa6]
add ecx, ebx
mov esi, dword [esp + 8]
sub esi, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 4]
jmp 0x401e1a
lea ecx, [esp + 0xa5]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov esi, ecx
mov dword [esp + 4], ecx
jmp 0x401e95
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, ebx
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 8], eax
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0xc], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, dword [esp + 8]
mov byte [esp + 0x34], dl
mov byte [esp + edx + 0x34], bl
add al, 0x30
mov byte [esp + edx + 0x33], al
cmp esi, 0x64
jb 0x401d71
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 + 0x10]
sub eax, dword [esp + 4]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], 0x3000001
jmp 0x4029e1
mov eax, ebx
add dword [esp + 0x28], 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
mov ebx, dword [esp + 0x18]
jl 0x401dce
cmp ecx, edi
jg 0x401dce
test ecx, ecx
jle 0x401ffa
sub dword [esp + 0x10], ecx
jg 0x4023cf
mov dword [esp + 0x10], 0
jmp 0x4023cf
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jle 0x401de4
dec ecx
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xc]
jmp 0x401410
mov dword [esp + 0x10], 0
sub eax, 1
mov esi, dword [esp + 0xc]
jb 0x401410
mov dword [esp + 0x10], eax
jmp 0x401410
mov ecx, dword [esp + 0x2c]
jmp 0x401338
add ecx, 3
jmp 0x401335
lea ecx, [esp + 0xa6]
cmp edi, 4
jb 0x401e8a
mov ebx, edx
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov esi, edx
shr esi, 0x18
and esi, 0xf
movzx ebx, byte [eax + esi]
mov byte [ecx], bl
mov esi, edx
shr esi, 0x14
and esi, 0xf
movzx ebx, byte [eax + esi]
mov byte [ecx + 1], bl
mov esi, edx
shr esi, 0x10
and esi, 0xf
movzx ebx, byte [eax + esi]
mov esi, dword [esp + 8]
mov byte [ecx + 2], bl
mov ebx, dword [esp + 4]
shld ebx, edi, 0x10
shl edi, 0x10
shr edx, 0xc
and edx, 0xf
movzx edx, byte [eax + edx]
mov byte [ecx + 3], dl
add ecx, 4
mov edx, ebx
add esi, 0xfffffffc
jne 0x401e30
mov dword [esp + 4], ecx
lea esi, [esp + 0xa6]
mov eax, dword [esp + 0x48]
cmp byte [esp + 0x50], 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x35], cl
test eax, eax
js 0x401ece
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x401edc
cmp eax, 0x63
jbe 0x401fde
mov dword [esp + 8], 5
jmp 0x401ee4
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x401ebb
mov dword [esp + 8], 6
mov dword [esp + 0xc], 0
mov edi, eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
mov eax, edi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 8]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + ebx + 0x33], cl
cmp byte [esp + 0xc], 0
jne 0x40271b
mov eax, edi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov ebx, dword [esp + 8]
mov byte [ebx + eax - 2], cl
cmp edi, 0x3e8
jb 0x40271b
mov eax, edi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edi, dword [esp + 8]
mov byte [edi + eax - 3], cl
jmp 0x40271b
cmp eax, 9
jbe 0x402710
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0xc], ecx
jmp 0x401eec
mov esi, dword [esp + 0x10]
cmp eax, esi
jl 0x402004
mov eax, esi
sub eax, ecx
mov dword [esp + 0x10], eax
jmp 0x4023cf
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], ecx
jmp 0x402025
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 4]
test ebx, 0x100
jne 0x4021ec
movzx ecx, byte [0x450001]
mov eax, ecx
xor al, 0x25
mov byte [esp + 0x48], al
mov eax, ecx
add al, cl
and al, 0x4a
sub cl, al
add cl, 0x25
mov byte [esp + 0x50], cl
mov esi, 0x200
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ebx
cmp edi, 0x5f5e100
mov ecx, dword [esp + 0xc]
mov eax, ecx
sbb eax, 0
jb 0x4020a0
push 0
push 0x5f5e100
push ecx
push edi
call fcn.0040ca00
mov dword [esp + 0xc], edx
mov ebx, edi
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov ecx, eax
jmp 0x4020ac
mov dword [esp + 0xc], 0
mov ebx, edi
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 8], eax
test byte [esp + 0x18], 0x40
mov dword [esp + 0x1c], ecx
jne 0x402120
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul ecx, edx, 0x64
mov eax, ebx
sub eax, ecx
mov ecx, eax
and ecx, 0x7d
mov edi, eax
and edi, 2
or eax, 2
imul eax, edi
xor edi, 2
imul edi, ecx
movzx eax, word [edi + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x4020d0
mov edx, dword [esp + 0x10]
jmp 0x402180
test ebx, ebx
mov edx, dword [esp + 0x10]
jne 0x402157
jmp 0x402180
inc edx
mov edi, edx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
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, edi
test ebx, ebx
je 0x402180
test byte [esp + 0x18], 0x40
je 0x402131
cmp edx, 3
jne 0x402130
movzx eax, byte [esp + 0x48]
mov byte [esp + esi + 0x63], al
dec esi
dec dword [esp + 8]
xor edx, edx
test ebx, ebx
jne 0x402157
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x1c]
mov ecx, eax
or eax, dword [esp + 0xc]
lea edi, [esp + esi + 0x64]
je 0x40226d
mov dword [esp + 0x10], edx
cmp edi, dword [esp + 8]
mov ebx, dword [esp + 0x18]
mov edi, ecx
je 0x402060
movzx ecx, byte [esp + 0x50]
jmp 0x4021cb
inc eax
mov dword [esp + 0x10], eax
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, dword [esp + 8]
je 0x402060
test bl, 0x40
je 0x4021b5
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x4021b0
mov byte [esp + esi + 0x63], cl
dec esi
dec dword [esp + 8]
mov dword [esp + 0x10], 0
jmp 0x4021bb
mov eax, 1
cmp esi, 0xffffffff
je 0x4021f8
mov eax, esi
xor esi, esi
cmp edi, 0x400
mov ecx, dword [esp + 0xc]
sbb ecx, 0
jb 0x40220b
mov esi, eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
mov eax, ebx
xor eax, 0xfffff7ff
mov ecx, ebx
or ecx, 0x800
xor edx, edx
test ecx, eax
sete dl
fld qword [edx*8 + 0x44d550]
cmp ebx, 0x3ffffff
ja 0x4022e5
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402311
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402311
fstp st(0)
fstp st(0)
jmp 0x40238b
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
mov ebx, dword [esp + 0x18]
test bl, bl
js 0x4022a0
mov dl, 0x20
test bl, 4
jne 0x4022a0
mov dl, 0x2b
test bl, 2
je 0x4022a9
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
mov edx, edi
add edx, eax
mov eax, edx
and eax, dword [esp + 0x54]
mov edi, edx
not edi
lea ecx, [esp + 0x264]
and edi, ecx
sub edi, eax
mov dword [esp + 0x24], edi
jne 0x4022ec
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 8], edx
mov dword [esp + 0x24], 1
mov edi, 1
jmp 0x4022f0
fstp st(0)
jmp 0x40238b
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
mov esi, dword [esp + 4]
test esi, esi
jg 0x402302
xor esi, esi
add edi, 0x3000000
mov dword [esp + 0x1c], edi
jmp 0x4029f4
lea ecx, [ebx + 0x1000000]
fdiv st(2), st(0)
cmp ebx, 0x2ffffff
ja 0x402385
fucom st(2)
fnstsw ax
sahf
jbe 0x402333
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402385
lea ecx, [ebx + 0x2000000]
fdiv st(2), st(0)
cmp ebx, 0x1ffffff
ja 0x402385
fucom st(2)
fnstsw ax
sahf
jbe 0x402355
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402385
lea ecx, [ebx + 0x3000000]
fdiv st(2), st(0)
cmp ebx, 0xffffff
ja 0x402385
fucom st(2)
fnstsw ax
sahf
jbe 0x40372f
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x40372f
fstp st(0)
fstp st(0)
mov ebx, ecx
mov ecx, 6
cmp esi, 0xffffffff
je 0x402397
mov ecx, esi
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.00403790
add esp, 0x18
test eax, eax
je 0x4023cf
or ebx, 0x80
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test bl, bl
js 0x4023ed
mov al, 0x20
test bl, 4
jne 0x4023ed
mov al, 0x2b
test bl, 2
je 0x4023f6
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
mov dword [esp + 0x18], ebx
jne 0x40241b
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
jmp 0x402844
test ecx, ecx
jle 0x4024a9
xor esi, esi
test bl, 0x40
je 0x402441
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
cmp ecx, dword [esp + 0x24]
jae 0x402536
xor eax, eax
lea edi, [esp + 0xa4]
jmp 0x40247c
mov edx, edi
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
lea edi, [edx + 1]
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x4025a6
test bl, 0x40
je 0x402460
inc esi
cmp esi, 4
jne 0x402460
mov esi, ebx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x450001]
mov edx, ecx
add dl, cl
and dl, 0x4a
sub cl, dl
add cl, 0x25
mov edx, edi
mov byte [edi], cl
inc edx
jmp 0x402462
mov byte [esp + 0xa4], 0x30
lea eax, [esp + 0xa5]
cmp dword [esp + 0x10], 0
je 0x4024d6
movzx eax, byte [section..data]
xor al, 0x4d
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 0xc], eax
neg ecx
mov esi, dword [esp + 0x10]
mov eax, esi
cmp esi, ecx
jl 0x4024e8
mov eax, ecx
test eax, eax
mov dword [esp + 4], eax
je 0x40287d
lea edi, [eax + 3]
xor edx, edx
mov esi, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], edi
lea eax, [ecx + edx]
mov edi, ecx
mov ebx, eax
xor ebx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, ebx
je 0x402750
mov ecx, edi
mov byte [edi + edx], 0x30
dec esi
inc edx
mov edi, dword [esp + 8]
dec edi
mov eax, dword [esp + 4]
cmp eax, edx
jne 0x4024ff
add ecx, edx
jmp 0x402879
mov dword [esp + 8], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edi, [esp + 0xa4]
jmp 0x40256b
mov edx, edi
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edi], cl
inc edi
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x24]
jae 0x402644
test byte [esp + 0x18], 0x40
je 0x402550
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 4
jne 0x402550
mov ecx, dword [esp + 0x18]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 8], ecx
movzx ecx, byte [0x450001]
mov edx, ecx
add dl, cl
and dl, 0x4a
sub cl, dl
add cl, 0x25
mov byte [edi], cl
inc edi
jmp 0x402550
mov esi, edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0x10], 0
je 0x4025d4
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 0x9a
sub cl, ch
add cl, 0x4d
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x10]
jbe 0x4025ec
mov edx, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x40261c
mov esi, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x402600
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xa4]
sub edi, eax
add edi, 0x3000000
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
sub eax, edx
add eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0xc]
jmp 0x402954
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
sub ecx, eax
mov dword [esp + 4], ecx
jbe 0x4026db
test byte [esp + 0x18], 0x40
jne 0x4027c9
mov ecx, dword [esp + 0xc]
cmp ecx, eax
je 0x4036b6
mov eax, edi
and eax, 3
je 0x4036b6
mov eax, ecx
mov ecx, 2
mov dword [esp + 4], edx
sub ecx, edx
and ecx, 3
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x402698
mov edx, eax
mov dword [esp + 0x48], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
call fcn.0040caf0
add esp, 0xc
mov ecx, dword [esp + 0xc]
add esi, ecx
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x4026bb
mov esi, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x48]
lea edi, [eax + edx]
add edi, 2
sub ecx, esi
sub ecx, ebx
mov esi, ecx
jmp 0x4036ba
mov ecx, edx
jmp 0x4027e4
mov ebx, dword [esp + 0x18]
mov ecx, edi
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x10], 0
je 0x4027b8
movzx eax, byte [section..data]
xor al, 0x4d
mov byte [edi], al
inc edi
jmp 0x402954
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x28], 8
mov ecx, dword [esp + 4]
mov eax, ecx
xor eax, esi
not esi
and esi, ecx
add esi, esi
sub esi, eax
mov dword [esp + 0x3c], esi
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor esi, esi
mov dword [esp + 0x1c], 0x3000001
jmp 0x4029f0
mov ebx, dword [esp + 4]
sub ebx, edx
cmp ebx, 4
jl 0x402853
mov ecx, edx
mov ebx, esi
cmp esi, 7
mov dword [esp + 0x1c], eax
jl 0x402771
mov ebx, 7
mov eax, dword [esp + 4]
sub eax, ebx
mov esi, ecx
sub eax, ecx
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x30
push dword [esp + 0x24]
call fcn.0040caf0
add esp, 0xc
mov edi, dword [esp + 8]
sub edi, ebx
and edi, 0xfffffffc
mov eax, dword [esp + 0xc]
add eax, edi
lea ecx, [esi + eax]
add ecx, 4
mov eax, dword [esp + 4]
sub eax, edi
sub eax, esi
add eax, 0xfffffffc
jmp 0x402859
mov dword [esp + 0x10], 0
jmp 0x402954
mov edx, esi
jmp 0x40281d
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 4]
test esi, esi
jne 0x40370d
jmp 0x4026df
mov eax, esi
cmp eax, 4
jb 0x402809
mov edx, dword [ecx]
mov esi, 0x1010100
sub esi, edx
or esi, edx
not esi
test esi, 0x80808080
jne 0x40280d
add eax, 0xfffffffc
add ecx, 4
cmp eax, 3
ja 0x4027e9
test eax, eax
je 0x40281b
lea edx, [ecx + eax]
cmp byte [ecx], 0
je 0x40281b
inc ecx
dec eax
jne 0x402810
mov ecx, edx
mov edx, ecx
sub edx, dword [esp + 8]
mov dword [esp + 0x24], edx
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
add dword [esp + 0x28], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
xor esi, esi
jmp 0x4029f4
mov edx, ebx
mov ecx, eax
mov eax, ebx
test eax, eax
je 0x402879
push eax
push 0x30
push ecx
mov edi, ecx
mov dword [esp + 0x14], eax
call fcn.0040caf0
add esp, 0xc
add edi, dword [esp + 8]
mov dword [esp + 0xc], edi
jmp 0x40287d
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 4]
add ecx, eax
cmp ecx, dword [esp + 0x10]
jle 0x402899
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4028de
mov esi, dword [esp + 0x10]
mov edi, esi
cmp esi, ecx
jl 0x4028a9
mov edi, ecx
mov dword [esp + 8], edi
mov edi, dword [esp + 0xc]
mov ecx, eax
and ecx, 3
je 0x4028e4
xor esi, esi
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x4028c0
add edi, esi
mov ecx, eax
sub ecx, esi
jmp 0x4028e6
mov edi, dword [esp + 0xc]
jmp 0x40293e
mov ecx, eax
mov edx, dword [esp + 4]
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
ja 0x40293e
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x4028f3
mov ecx, dword [esp + 4]
add ecx, eax
sub dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0x3000001
mov ebx, dword [esp + 0x18]
test ebx, 0x100
je 0x4029e1
mov eax, ebx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp ebx, 0x1000000
jb 0x4029e1
mov ecx, ebx
shr ecx, 0x18
mov dword [esp + 8], ecx
mov esi, ebx
xor ebx, 0xfffff7ff
mov ecx, eax
shr ecx, 0xa
mov edx, 2
sub edx, ecx
mov ecx, esi
or ecx, 0x800
cmp eax, 1
mov eax, 0
adc al, 1
test ecx, ebx
je 0x4029ce
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
test esi, 0x1000
jne 0x4029dd
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
jmp 0x4029dd
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
mov byte [esp + 0x34], al
lea eax, [esp + 0xa4]
sub edi, eax
mov dword [esp + 0x24], edi
xor esi, esi
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jg 0x4029fe
mov esi, ecx
movsx eax, byte [esp + 0x40]
mov edi, esi
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x10]
mov dword [esp + 4], edi
add edx, edi
add edx, eax
add edx, esi
mov esi, dword [esp + 0x30]
cmp esi, edx
jg 0x402a22
mov esi, edx
sub esi, edx
mov dword [esp + 0x30], esi
sub dword [esp + 4], ecx
mov ecx, dword [esp + 0x18]
test cl, 1
jne 0x402a65
mov esi, ecx
xor esi, 0xffffffef
or ecx, 0x10
test ecx, esi
mov esi, dword [esp + 0x20]
je 0x402a6d
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 4]
cmp ecx, edi
jg 0x402a53
mov ecx, edi
mov dword [esp + 4], ecx
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x18]
jmp 0x402a6f
mov esi, dword [esp + 0x20]
mov ebx, ecx
jmp 0x402a6f
xor ebx, ebx
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 4]
mov dword [esp + 0x18], ebx
mov edi, dword [ebp + 8]
je 0x402f5e
test bl, 1
jne 0x402bf8
cmp dword [esp + 0x30], 0
jle 0x402bf8
mov ebx, dword [esp + 0x30]
jmp 0x402ab0
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x402bef
mov eax, dword [esp]
sub eax, esi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
cmp ebx, eax
jl 0x402ae0
mov dword [esp + 0x20], eax
test edi, edi
je 0x402ae4
cmp dword [esp + 0x20], 0
jne 0x402af3
jmp 0x402b60
test edi, edi
jne 0x402ad0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x402b60
mov eax, esi
and eax, 3
je 0x402b60
mov ecx, esi
not esi
and esi, 3
mov eax, dword [esp + 0x20]
lea edi, [eax - 1]
cmp esi, edi
jb 0x402b0e
mov esi, edi
lea eax, [esi + 1]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040caf0
add esp, 0xc
lea ecx, [esi + ebx]
inc ecx
sub edi, esi
mov esi, edi
mov edi, dword [ebp + 8]
cmp esi, 4
jge 0x402b6b
test esi, esi
je 0x402ba8
push esi
push 0x20
mov dword [esp + 0x14], esi
mov esi, ecx
push ecx
call fcn.0040caf0
mov edi, dword [ebp + 8]
add esp, 0xc
add esi, dword [esp + 0xc]
test edi, edi
jne 0x402bb2
jmp 0x402aa0
mov ecx, esi
mov esi, dword [esp + 0x20]
cmp esi, 4
jl 0x402b2f
mov eax, esi
cmp esi, 7
jl 0x402b77
mov eax, 7
neg eax
mov edi, esi
add esi, eax
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040caf0
add esp, 0xc
lea ecx, [esi + ebx]
add ecx, 4
sub edi, esi
mov esi, edi
add esi, 0xfffffffc
mov edi, dword [ebp + 8]
test esi, esi
jne 0x402b33
mov esi, ecx
test edi, edi
je 0x402aa0
mov ecx, esi
not ecx
mov eax, dword [esp]
and ecx, eax
not eax
and eax, esi
sub eax, ecx
cmp eax, 0x1ff
jl 0x402aa0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call edi
add esp, 0xc
test eax, eax
je 0x403766
mov esi, eax
mov dword [esp], eax
jmp 0x402aa0
mov dword [esp + 0x30], ebx
movzx eax, byte [esp + 0x40]
mov ebx, dword [esp]
lea ecx, [esp + 0x41]
mov dword [esp + 0x14], ecx
jmp 0x402c19
mov esi, eax
mov ebx, eax
movzx eax, byte [esp + 0x40]
test al, al
je 0x402d1d
movsx edx, al
mov ecx, ebx
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x402c34
mov ecx, edx
test edi, edi
jne 0x402c3a
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402cdb
mov eax, ecx
and eax, 3
je 0x402d10
mov dword [esp + 0x20], ecx
mov dword [esp], ebx
xor edx, edx
nop
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402c60
add esi, edx
mov ecx, dword [esp + 0x20]
mov eax, ecx
sub eax, edx
mov edi, dword [ebp + 8]
mov ebx, dword [esp]
cmp ecx, 4
jb 0x402cdb
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402c90
test edi, edi
je 0x402c14
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x402c14
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
test eax, eax
jne 0x402c10
jmp 0x403766
mov eax, ecx
cmp ecx, 4
jae 0x402c90
jmp 0x402cdb
mov dword [esp], ebx
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x20], ecx
xor ebx, ebx
test byte [esp + 0x18], 0x40
je 0x402d4c
and eax, 0xffffff
add eax, dword [esp + 4]
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + 1]
xor edx, edx
div ecx
sub ebx, edx
cmp dword [esp + 4], 0
jle 0x4030ce
mov ecx, dword [esp + 4]
jmp 0x402d70
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x402f55
mov eax, dword [esp]
sub eax, esi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ecx
cmp ecx, eax
jl 0x402df0
mov dword [esp + 0xc], eax
test edi, edi
je 0x402df4
test byte [esp + 0x18], 0x40
jne 0x402e03
cmp dword [esp + 0xc], 0
je 0x402e10
mov eax, esi
and eax, 3
je 0x402e10
mov ecx, esi
mov edx, esi
not edx
and edx, 3
mov eax, dword [esp + 0xc]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x402dbb
mov edx, ecx
mov dword [esp + 0x48], edx
lea eax, [edx + 1]
push eax
push 0x30
push esi
mov dword [esp + 0x28], ecx
call fcn.0040caf0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x48]
add esi, eax
inc esi
sub edx, eax
cmp edx, 4
jge 0x402e19
jmp 0x402e54
test edi, edi
jne 0x402d90
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
test byte [esp + 0x18], 0x40
je 0x402d97
mov edx, dword [esp + 0xc]
jmp 0x402e54
mov edx, dword [esp + 0xc]
cmp edx, 4
jl 0x402e54
mov eax, edx
cmp edx, 7
jl 0x402e25
mov eax, 7
neg eax
lea edi, [edx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push esi
mov dword [esp + 0x28], edx
call fcn.0040caf0
mov edx, dword [esp + 0x28]
add esp, 0xc
add esi, edi
add esi, 4
sub edx, edi
add edx, 0xfffffffc
mov edi, dword [ebp + 8]
test edx, edx
je 0x402eb0
test dl, 1
jne 0x402e70
mov eax, edx
cmp edx, 1
jne 0x402f10
jmp 0x402eb0
mov al, 0x30
test byte [esp + 0x18], 0x40
je 0x402e96
cmp ebx, dword [esp + 0x20]
jne 0x402e95
movzx eax, byte [0x450001]
mov ecx, eax
add cl, al
and cl, 0x4a
sub al, cl
add al, 0x25
xor ebx, ebx
jmp 0x402e96
inc ebx
mov byte [esi], al
inc esi
lea eax, [edx - 1]
cmp edx, 1
jne 0x402f10
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test edi, edi
je 0x402d60
mov eax, esi
mov ecx, dword [esp]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402d60
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call edi
add esp, 0xc
test eax, eax
je 0x403766
mov esi, eax
mov dword [esp], eax
jmp 0x402d60
movzx ecx, byte [0x450001]
mov edx, ecx
add dl, cl
and dl, 0x4a
sub cl, dl
add cl, 0x25
xor ebx, ebx
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0x402eb0
mov cl, 0x30
test byte [esp + 0x18], 0x40
je 0x402f41
cmp ebx, dword [esp + 0x20]
jne 0x402f40
movzx edx, byte [0x450001]
mov ch, dl
add ch, dl
and ch, 0x4a
sub dl, ch
add dl, 0x25
xor ebx, ebx
jmp 0x402f43
inc ebx
mov dl, 0x30
mov byte [esi], dl
test byte [esp + 0x18], 0x40
je 0x402f05
cmp ebx, dword [esp + 0x20]
je 0x402ef0
inc ebx
jmp 0x402f05
movzx eax, byte [esp + 0x40]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x41]
mov dword [esp + 0x14], ecx
jmp 0x402f79
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x40]
test al, al
je 0x4030da
movsx ecx, al
mov eax, ecx
test edi, edi
je 0x402fac
mov edx, esi
mov eax, dword [esp]
sub edx, eax
mov eax, edx
xor eax, 0x200
not edx
and edx, 0x200
add edx, edx
sub edx, eax
mov eax, edx
cmp edx, ecx
jl 0x402fac
mov eax, ecx
sub cl, al
mov byte [esp + 0x40], cl
test eax, eax
je 0x403010
mov ecx, eax
and ecx, 3
je 0x403020
mov dword [esp + 0x20], eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx eax, byte [esi]
mov esi, ebx
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x402fd0
add esi, edx
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [esp]
cmp eax, 4
jae 0x403030
jmp 0x40307b
mov ebx, dword [esp]
jmp 0x40307b
mov ebx, dword [esp]
mov ecx, eax
cmp eax, 4
jb 0x40307b
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 [esi], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403030
test edi, edi
mov dword [esp], ebx
je 0x402f70
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x4030c0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call edi
add esp, 0xc
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x403766
mov esi, eax
mov dword [esp], eax
movzx eax, byte [esp + 0x40]
jmp 0x402f79
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x40]
jmp 0x402f79
lea eax, [esp + 0x41]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x403254
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40310a
lea eax, [esp + 0x35]
mov dword [esp + 0x14], eax
jmp 0x403424
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x20]
je 0x4030ee
mov dword [esp + 0x10], eax
mov ecx, eax
test edi, edi
je 0x403131
mov edi, ebx
mov eax, dword [esp]
sub eax, esi
add eax, 0x200
mov ecx, dword [esp + 0x10]
mov ebx, ecx
cmp ecx, eax
jl 0x40312c
mov ecx, eax
mov ebx, edi
mov edi, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x20], ecx
je 0x4031b0
mov eax, esi
and eax, 3
je 0x4031a0
mov edi, esi
mov ebx, esi
not ebx
and ebx, 3
mov eax, dword [esp + 0x20]
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403156
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040caf0
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
cmp esi, 4
jge 0x4031bb
test esi, esi
je 0x4031f9
push esi
push 0x30
mov ebx, ecx
push ecx
call fcn.0040caf0
add esp, 0xc
add ebx, esi
mov esi, ebx
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 8]
test edi, edi
jne 0x403203
jmp 0x403100
mov ecx, esi
mov esi, dword [esp + 0x20]
cmp esi, 4
jge 0x4031bb
jmp 0x403177
mov eax, ecx
mov ecx, esi
mov esi, eax
cmp esi, 4
jl 0x403177
mov eax, esi
cmp esi, 7
jl 0x4031c7
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040caf0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
test esi, esi
jne 0x40317b
mov esi, ecx
test edi, edi
je 0x403100
mov eax, esi
sub eax, dword [esp]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403100
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call edi
add esp, 0xc
test eax, eax
je 0x403766
mov esi, eax
mov dword [esp], eax
jmp 0x403100
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
sub eax, ecx
je 0x4030e6
mov dword [esp + 0x20], eax
mov ecx, eax
test edi, edi
je 0x403283
mov ecx, dword [esp]
mov edx, esi
mov eax, esi
not eax
and eax, ecx
not ecx
and ecx, esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x403280
mov ecx, eax
mov edi, dword [ebp + 8]
cmp ecx, 4
mov dword [esp + 4], ecx
jl 0x4032e0
lea edx, [ecx - 4]
mov eax, edx
shr eax, 2
inc eax
and eax, 7
je 0x4032e8
mov dword [esp + 0xc], edx
shl eax, 2
xor edx, edx
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edi + edx]
mov dword [esi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x4032b0
add esi, edx
mov ecx, dword [esp + 4]
sub ecx, edx
add edi, edx
mov dword [esp + 8], edi
mov eax, ecx
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0xc]
jmp 0x4032e8
mov eax, ecx
mov ebx, dword [esp + 8]
jmp 0x403341
cmp edx, 0x1c
mov ebx, dword [esp + 8]
jb 0x403341
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
add esi, 0x20
add ebx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403300
test eax, eax
je 0x4033c1
mov ecx, eax
and ecx, 7
je 0x403410
xor edx, edx
mov edi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x403360
add esi, edx
mov ecx, eax
sub ecx, edx
add edi, edx
mov ebx, edi
mov edi, dword [ebp + 8]
cmp eax, 8
jb 0x4033c1
nop
nop
movzx eax, byte [ebx]
mov byte [esi], al
movzx eax, byte [ebx + 1]
mov byte [esi + 1], al
movzx eax, byte [ebx + 2]
mov byte [esi + 2], al
movzx eax, byte [ebx + 3]
mov byte [esi + 3], al
movzx eax, byte [ebx + 4]
mov byte [esi + 4], al
movzx eax, byte [ebx + 5]
mov byte [esi + 5], al
movzx eax, byte [ebx + 6]
mov byte [esi + 6], al
movzx eax, byte [ebx + 7]
add ebx, 8
mov byte [esi + 7], al
add esi, 8
add ecx, 0xfffffff8
jne 0x403380
mov dword [esp + 8], ebx
test edi, edi
je 0x403240
mov eax, esi
sub eax, dword [esp]
cmp eax, 0x1ff
mov ebx, dword [esp + 0x18]
jl 0x403244
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call edi
add esp, 0xc
test eax, eax
je 0x403766
mov esi, eax
mov dword [esp], eax
jmp 0x403244
mov ecx, eax
cmp eax, 8
jae 0x403380
jmp 0x4033c1
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x34]
test al, al
je 0x403569
movsx ecx, al
mov eax, ecx
test edi, edi
je 0x40344a
mov eax, dword [esp]
sub eax, esi
add eax, 0x200
cmp eax, ecx
jl 0x40344a
mov eax, ecx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x4034b0
mov ecx, eax
and ecx, 3
je 0x4034c0
mov dword [esp + 0x20], eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403470
add esi, edx
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [esp]
cmp eax, 4
jae 0x4034d0
jmp 0x40351b
mov ebx, dword [esp]
jmp 0x40351b
mov ebx, dword [esp]
mov ecx, eax
cmp eax, 4
jb 0x40351b
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 [esi], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x4034d0
test edi, edi
mov dword [esp], ebx
je 0x403420
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x403560
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call edi
add esp, 0xc
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x403766
mov esi, eax
mov dword [esp], eax
jmp 0x403424
mov ebx, dword [esp + 0x18]
jmp 0x403424
test bl, 1
je 0x4036ac
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x2c]
jle 0x4036b0
mov ecx, dword [esp + 0x30]
jne 0x4035a0
jmp 0x4036b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub ecx, ebx
je 0x4036b0
mov eax, dword [esp]
sub eax, esi
add eax, 0x200
mov ebx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x4035b6
mov ebx, eax
test edi, edi
jne 0x4035be
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x403620
mov eax, esi
and eax, 3
je 0x403620
mov edi, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x4035e1
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040caf0
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [ebp + 8]
cmp esi, 4
jge 0x403629
test esi, esi
je 0x403663
push esi
push 0x20
mov ebx, ecx
push ecx
call fcn.0040caf0
add esp, 0xc
add ebx, esi
mov esi, ebx
mov edi, dword [ebp + 8]
jmp 0x403665
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x4035fe
mov eax, esi
cmp esi, 7
jl 0x403635
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.0040caf0
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [ebp + 8]
test esi, esi
jne 0x403602
mov esi, ecx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x403594
mov eax, esi
sub eax, dword [esp]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403590
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call edi
add esp, 0xc
test eax, eax
je 0x403766
mov esi, eax
mov dword [esp], eax
jmp 0x403590
mov eax, dword [esp + 0x2c]
inc eax
jmp 0x40104a
mov esi, dword [esp + 4]
cmp esi, 4
mov ebx, dword [esp + 0x18]
jb 0x4036ed
mov dword [esp + 4], esi
mov esi, dword [esp + 4]
and esi, 0xfffffffc
push esi
push 0x30
push edi
mov dword [esp + 0x18], edi
mov edi, ebx
call fcn.0040caf0
mov edi, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 4]
and esi, 3
mov ecx, dword [esp + 8]
test esi, esi
jne 0x40370d
jmp 0x4026df
mov byte [edi], 0x30
mov eax, esi
not eax
lea esi, [eax + esi*2]
inc edi
test esi, esi
je 0x4026df
test bl, 0x40
je 0x4036fa
inc ecx
cmp ecx, 4
jne 0x4036fa
movzx eax, byte [0x450001]
xor al, 0x25
mov byte [edi], al
xor ecx, ecx
inc edi
test esi, esi
jne 0x40370d
jmp 0x4026df
fstp st(1)
or ebx, 0x4000000
fdivp st(1)
jmp 0x40238b
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x403771
mov eax, esi
sub eax, dword [esp]
test eax, eax
jle 0x403774
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 8]
call ebx
add esp, 0xc
mov esi, eax
mov dword [esp], eax
jmp 0x403774
xor esi, esi
mov dword [esp], 0
jmp 0x403774
mov byte [esi], 0
mov eax, dword [esp + 0x4c]
add eax, esi
sub eax, dword [esp]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret