Function at 0x401000
Capabilities:
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 + 0x20], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x28], esi
jmp 0x401049
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x28]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x28], ecx
mov eax, edi
inc eax
mov dword [esp + 0x1c], esi
mov edi, eax
test al, 3
je 0x401060
movzx eax, byte [eax]
jmp 0x40108e
mov eax, dword [eax]
lea edx, [eax + eax]
not edx
add edx, eax
and edx, 0x80808080
mov ecx, eax
or ecx, 0xdadadada
mov esi, eax
not esi
or esi, 0x25252525
and esi, ecx
mov ecx, 0xfefefefe
sub ecx, esi
test ecx, edx
je 0x4010cf
cmp al, 0x25
je 0x401159
test al, al
mov esi, dword [esp + 0x1c]
je 0x403738
test ebx, ebx
je 0x40103b
mov ecx, dword [esp + 0x28]
sub ecx, esi
cmp ecx, 0x1ff
jl 0x40103b
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x40375c
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x1c]
jmp 0x401129
mov edx, dword [esp + 0x28]
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x28], edx
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
or edx, 0xdadadada
mov esi, eax
not esi
or esi, 0x25252525
and esi, edx
mov ebx, 0xfefefefe
sub ebx, esi
lea edx, [eax + eax]
not edx
add edx, eax
and edx, 0x80808080
add ecx, 4
test ebx, edx
mov ebx, dword [ebp + 8]
jne 0x40108e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401096
test ebx, ebx
je 0x4010e0
mov edx, ecx
and edx, 0xfffffdff
mov esi, ecx
not esi
and esi, 0x200
sub esi, edx
cmp esi, 4
jge 0x4010e0
jmp 0x40108e
add edi, 2
xor ebx, ebx
mov ecx, edi
mov edi, dword [esp + 0x28]
jmp 0x401170
or ebx, 1
inc ecx
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x40117c.33
jmp dword [edx*4 + 0x44b564]
or ebx, 4
inc ecx
jmp 0x401170
mov eax, ebx
not eax
or eax, 0xfffffff7
add ebx, eax
add ebx, 9
inc ecx
jmp 0x401170
mov eax, ebx
xor eax, 0x400
add eax, ebx
mov edx, ebx
and edx, 0xfffffbff
sub eax, edx
inc ecx
mov ebx, eax
jmp 0x401170
or ebx, 0x40
inc ecx
jmp 0x401170
test ebx, 0x100
jne 0x4011cd
or ebx, 0x100
inc ecx
jmp 0x401170
or ebx, 2
inc ecx
jmp 0x401170
test ebx, 0x800
jne 0x4011de
or ebx, 0x800
inc ecx
jmp 0x401170
or ebx, 0x1000
inc ecx
jmp 0x401170
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011f0
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x1c]
jne 0x401210
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
add eax, 4
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401253
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x30], 0
cmp dl, 9
ja 0x401253
mov dword [esp + 0x14], ebx
xor ebx, ebx
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 + 0x14]
mov dword [esp], 0xffffffff
cmp al, 0x2e
jne 0x4012c2
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x40127f
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp], edx
add eax, 4
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012c2
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp], 0
cmp dl, 9
ja 0x4012c2
mov dword [esp + 0x14], 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 0x4012a0
mov dword [esp], ebx
mov ebx, dword [esp + 0x14]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012cd.74
jmp dword [eax*4 + 0x44b664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x50], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012eb.67
jmp dword [eax*4 + 0x44b72c]
test bl, 0x20
jne 0x40168c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp dl, 0x75
je 0x401ca5
test ecx, ecx
jns 0x401ca5
neg ecx
mov dword [esp + 4], ecx
or ebx, 0x80
jmp 0x401ca9
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4016c1
or ebx, 0x20
add ecx, 2
jmp case.0x4012cd.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401af3
cmp edx, 0x36
jne 0x401b04
cmp byte [ecx + 2], 0x34
jne 0x401afd
or ebx, 0x20
add ecx, 3
jmp case.0x4012cd.74
cmp byte [ecx + 1], 0x68
je 0x4016c7
inc ecx
or ebx, 0x200
jmp case.0x4012cd.74
mov eax, dword [esp]
jmp 0x4016e4
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x40139c
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp]
cmp ecx, 0xffffffff
je 0x4013b5
mov eax, ecx
mov dword [esp + 8], 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 + 0x28]
lea edx, [esp + 0x30]
call fcn.00403780
add esp, 0x18
test eax, eax
je 0x4013f2
or ebx, 0x80
add dword [esp + 0x20], 8
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
test bl, bl
js 0x401415
mov al, 0x20
test bl, 4
jne 0x401415
mov al, 0x2b
test bl, 2
je 0x40141e
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
cmp ecx, 0x7000
mov dword [esp + 0xc], eax
je 0x402b2b
mov dword [esp + 0x54], ecx
movzx ecx, byte [eax]
mov byte [esp + 0xa4], cl
lea esi, [esp + 0xa5]
mov eax, dword [esp + 8]
test eax, eax
je 0x401477
movzx ecx, byte [section..data]
xor cl, 0x9f
mov byte [esp + 0xa5], cl
lea esi, [esp + 0xa6]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [ecx - 1]
cmp edx, eax
jbe 0x401489
lea ecx, [eax + 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 2
jb 0x4022c6
mov dword [esp], esi
mov ecx, eax
cmp eax, edx
jb 0x4014a1
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jae 0x402220
mov esi, dword [esp]
jmp 0x402297
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x4014c9
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], 6
mov eax, dword [esp]
cmp eax, 0xffffffff
je 0x4014e5
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
test edx, edx
jns 0x4014f6
or ebx, 0x80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov al, 0x2d
test bl, bl
js 0x40164c
mov al, 0x20
test bl, 4
jne 0x40164c
mov al, 0x2b
test bl, 2
jne 0x40164c
mov dword [esp + 8], 0
jmp 0x401656
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x40153e
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov byte [esp + 0x44], 0
test bl, 8
je 0x40155e
cmp dl, 0x42
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x46], al
mov dword [esp + 0x18], 0x180
mov ecx, 1
test bl, 0x20
je 0x401732
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov edx, dword [eax + 4]
add eax, 8
mov dword [esp + 0x20], eax
jmp 0x401741
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401598
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
fld qword [eax]
mov ecx, dword [esp]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x4015b9
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 + 0x28]
lea edx, [esp + 0x30]
call fcn.00403780
add esp, 0x18
test eax, eax
je 0x4015f5
or ebx, 0x80
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jb 0x4015ff
mov ecx, esi
mov eax, ecx
cmp ecx, 2
mov dword [esp + 8], esi
jb 0x4016d5
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x14]
cmp byte [edx + eax - 1], 0x30
jne 0x401f5b
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401f5d
cmp ecx, 1
mov ecx, edx
jne 0x401620
jmp 0x401f5d
mov byte [esp + 0x45], al
mov al, 1
mov dword [esp + 8], eax
mov esi, edx
and esi, 0xfffff
shr edx, 0x14
and edx, 0x7ff
je 0x401b2d
add edx, 0xfffffc01
mov eax, 0xffffffff
add ecx, eax
mov eax, 0xfffff
adc esi, eax
add ecx, 1
adc esi, 0
jmp 0x401b40
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov dword [esp + 4], esi
mov esi, dword [ecx + 4]
cmp dl, 0x75
je 0x4016b8
test esi, esi
jns 0x4016b8
neg dword [esp + 4]
mov ecx, 0
sbb ecx, esi
or ebx, 0x80
mov esi, ecx
mov dword [esp + 0x20], eax
jmp 0x401ca9
inc ecx
jmp 0x4012d8
add ecx, 2
or ebx, 0x200
jmp case.0x4012cd.74
mov edx, esi
jmp 0x401f5d
and ebx, 0xffffffef
mov eax, 8
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4016f9
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov dword [esp], eax
mov dword [esp + 0x18], 0x440
mov byte [esp + 0x44], 0
mov ecx, 4
test bl, 8
je 0x401729
cmp dl, 0x58
setne al
mov word [esp + 0x44], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x46], al
test bl, 0x20
jne 0x401574
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
xor edx, edx
mov dword [esp + 0x40], 0
mov byte [esp + 0x38], 0
mov eax, esi
or eax, edx
jne 0x401763
mov byte [esp + 0x44], 0
cmp dword [esp], 0
je 0x401b0d
mov eax, 0xffffffff
shl eax, cl
not eax
and eax, esi
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov cl, ch
mov edx, dword [esp + 0x24]
shrd esi, edx, cl
mov dword [esp + 8], esi
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + eax]
mov byte [esp + 0x263], al
mov eax, dword [esp + 4]
mov cl, ah
shr esi, cl
test ah, 0x20
jne 0x4017ad
mov ecx, dword [esp + 8]
jmp 0x4017b1
mov ecx, esi
xor esi, esi
mov eax, ecx
or eax, esi
jne 0x4017d2
mov eax, 1
cmp dword [esp], 2
jge 0x4017d2
lea ecx, [esp + 0x263]
mov dword [esp + 0xc], ecx
jmp 0x4018e5
mov dword [esp + 0x24], esi
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x264]
mov dword [esp + 0x14], ebx
nop
nop
nop
nop
mov dword [esp + 8], ecx
test bl, 0x40
jne 0x401810
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0xc]
jmp 0x401860
mov ebx, dword [esp + 4]
lea ecx, [ebx + 1]
mov dword [esp + 0x18], ecx
mov eax, ecx
shr eax, 4
xor eax, ecx
mov esi, dword [esp + 0xc]
test al, 0xf
jne 0x401860
mov eax, 0xfffffffe
sub eax, ebx
not eax
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
movzx eax, byte [0x44e001]
mov ecx, eax
add cl, al
and cl, 0xba
sub al, cl
add al, 0x5d
mov byte [edx - 2], al
add edx, 0xfffffffe
mov ecx, dword [esp + 0x18]
mov esi, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x34], esi
mov ebx, 0xffffffff
mov cl, ch
shl ebx, cl
not ebx
mov eax, dword [esp + 8]
and ebx, eax
mov edx, dword [esp + 0x18]
mov cl, dh
mov esi, edx
mov edx, dword [esp + 0x24]
shrd eax, edx, cl
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebx]
mov ebx, esi
mov esi, dword [esp + 0x34]
mov byte [esi - 1], al
mov cl, bh
shr edx, cl
test bh, 0x20
mov dword [esp + 4], ebx
jne 0x4018b0
mov ecx, dword [esp + 8]
jmp 0x4018b4
mov ecx, edx
xor edx, edx
lea eax, [esi - 1]
mov dword [esp + 0xc], eax
mov eax, ecx
mov dword [esp + 0x24], edx
or eax, edx
mov edx, esi
mov ebx, dword [esp + 0x14]
jne 0x4017f0
lea eax, [esp + 0x264]
sub eax, dword [esp + 0xc]
mov edx, esi
cmp eax, dword [esp]
jl 0x4017f0
mov ecx, dword [esp + 4]
shl ecx, 0x14
and ecx, 0xf000000
add ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x18], eax
xor eax, eax
mov edx, dword [esp]
jmp 0x402b2f
mov byte [esp + 0x44], 0
test bl, 8
je 0x401917
mov word [esp + 0x44], 0x3001
mov dword [esp + 0x18], 0x330
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov ecx, 3
test bl, 0x20
je 0x401732
jmp 0x401574
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x40194b
mov edx, eax
mov eax, dword [esp]
mov esi, eax
test eax, eax
jns 0x401959
mov esi, 0xffffffff
test dl, 3
mov dword [esp + 0xc], edx
je 0x4021c9
lea ecx, [esi + edx]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x40282b
cmp byte [edx], 0
je 0x402a79
lea ecx, [edx + 1]
mov eax, esi
not eax
mov dword [esp], esi
lea esi, [eax + esi*2]
mov eax, ecx
test al, 3
je 0x4021cb
test esi, esi
je 0x40282b
cmp byte [eax], 0
mov ecx, eax
mov eax, dword [esp + 0x14]
je 0x402b04
lea ecx, [edx + 2]
add esi, esi
sub esi, dword [esp]
mov dword [esp + 8], ecx
test cl, 3
je 0x403719
test esi, esi
je 0x402b06
mov eax, dword [esp + 8]
cmp byte [eax], 0
je 0x402b06
lea eax, [edx + 3]
mov dword [esp + 8], eax
mov eax, esi
not eax
lea ecx, [eax + esi*2]
mov eax, dword [esp + 8]
test al, 3
je 0x403731
mov dword [esp], ecx
test ecx, ecx
je 0x40282b
cmp byte [eax], 0
je 0x402b06
lea eax, [edx + 4]
mov ecx, dword [esp]
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov edx, eax
test al, 3
je 0x4021c9
mov eax, ebx
test esi, esi
je 0x401a24
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x28]
mov ebx, eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
jmp 0x402b06
mov byte [esp + 0x263], dl
mov dword [esp + 0x18], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x30], 0
jmp 0x402b2f
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x20], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x18], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
jmp 0x402b2b
mov eax, dword [esp + 0x20]
fld qword [eax]
add eax, 8
mov dword [esp + 0x20], eax
jmp 0x401cf8
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x20], edx
jmp 0x403708
cmp byte [ecx + 2], 0x32
je 0x401fb4
mov ecx, eax
jmp case.0x4012cd.74
mov dword [esp + 0x50], eax
jmp 0x4012dc
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x264]
mov dword [esp + 0xc], eax
jmp 0x402b2b
xor edx, edx
mov eax, ecx
or ecx, esi
je 0x401b3a
mov edx, 0xfffffc02
mov dword [esp + 0x40], edx
mov ecx, eax
shld esi, ecx, 8
shl ecx, 8
mov eax, dword [esp + 0x34]
cmp eax, 0xe
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
jg 0x401b9f
mov edx, eax
and edx, 0xfb
mov ebx, eax
and ebx, 4
mov ecx, eax
or ecx, 4
imul ecx, ebx
xor ebx, 4
imul ebx, edx
add ecx, ebx
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401b93
mov ebx, edx
xor edx, edx
mov eax, dword [esp + 0x2c]
add eax, ebx
mov dword [esp + 0x2c], eax
adc esi, edx
mov edx, dword [esp + 8]
movzx ecx, dl
lea eax, [esp + 0x44]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x44], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
cmp dword [esp + 0x34], 0
je 0x401c89
movzx ecx, byte [section..data]
xor cl, 0x9f
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov ecx, eax
cmp eax, 0xd
jb 0x401c03
mov ecx, 0xd
sub eax, ecx
mov edx, dword [esp + 0x24]
jg 0x401c0d
xor eax, eax
mov dword [esp + 8], eax
mov eax, ecx
and eax, 3
je 0x401fbc
mov dword [esp], ecx
xor edx, edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], eax
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + eax]
shld esi, ebx, 4
mov byte [esp + edx + 0xa6], al
mov eax, dword [esp + 4]
shl ebx, 4
inc edx
cmp eax, edx
jne 0x401c30
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0xa6]
lea ebx, [eax + edx]
mov ecx, dword [esp]
sub ecx, edx
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x34], 4
jae 0x401fce
lea eax, [esp + 0xa6]
mov dword [esp + 0xc], eax
jmp 0x40204b
lea ebx, [esp + 0xa5]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
jmp 0x402047
mov dword [esp + 4], ecx
mov eax, ebx
xor eax, 0xfffffeff
mov ecx, ebx
or ecx, 0x100
test ecx, eax
je 0x401d4b
mov eax, 1
mov ecx, dword [esp]
cmp ecx, 0xffffffff
je 0x401ccf
mov eax, ecx
mov dword [esp], 0
cmp dword [esp + 4], 0x400
mov ecx, esi
sbb ecx, 0
jb 0x401ce8
mov dword [esp], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
fild qword [esp + 0x58]
test ebx, 0x100
je 0x402468
xor eax, eax
test ebx, 0x800
sete al
fld qword [eax*8 + 0x44b550]
cmp ebx, 0x3ffffff
ja 0x401f30
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4023ee
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4023ee
fstp st(0)
fstp st(0)
jmp 0x402468
mov dword [esp + 0x24], esi
movzx ecx, byte [0x44e001]
mov eax, ecx
xor al, 0x5d
mov byte [esp + 0x2c], al
mov eax, ecx
add al, cl
and al, 0xba
sub cl, al
add cl, 0x5d
mov byte [esp + 0xc], cl
mov esi, 0x200
xor edx, edx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ebx
nop
nop
nop
nop
mov dword [esp + 0x34], edx
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x24]
mov eax, edx
sbb eax, 0
jb 0x401dc0
push 0
push 0x5f5e100
push edx
push ecx
mov dword [esp + 0x14], ecx
call fcn.0040cc70
mov dword [esp + 0x24], edx
imul ecx, eax, 0x5f5e100
mov edx, dword [esp + 4]
sub edx, ecx
mov ecx, edx
mov dword [esp + 4], eax
jmp 0x401dd0
mov dword [esp + 4], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 8], eax
test bl, 0x40
jne 0x401e20
nop
mov eax, ecx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x401de0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
jmp 0x401e80
test ecx, ecx
mov edx, dword [esp + 0x34]
jne 0x401e5b
jmp 0x401e80
inc edx
mov ebx, edx
mov eax, ecx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ecx, eax
or cl, 0x30
mov byte [esp + esi + 0x63], cl
dec esi
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x401e80
test bl, 0x40
je 0x401e31
cmp edx, 3
jne 0x401e30
movzx eax, byte [esp + 0x2c]
mov byte [esp + esi + 0x63], al
dec esi
dec dword [esp + 8]
xor edx, edx
test ecx, ecx
jne 0x401e5b
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov eax, ecx
or eax, dword [esp + 0x24]
jne 0x401e97
jmp 0x401ec3
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, dword [esp + 8]
je 0x401d80
test bl, 0x40
je 0x401e91
cmp edx, 3
jne 0x401e90
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec dword [esp + 8]
xor edx, edx
jmp 0x401e97
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov dl, 0x2d
test bl, bl
js 0x401ef2
mov dl, 0x20
test bl, 4
jne 0x401ef2
mov dl, 0x2b
test bl, 2
je 0x401efb
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x64
lea edx, [esi - 0x200]
neg edx
mov dword [esp + 0x18], edx
cmp esi, 0x200
jne 0x401f37
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x18], 1
mov ecx, 1
jmp 0x401f39
fstp st(0)
jmp 0x402468
mov ecx, edx
mov dword [esp + 0xc], eax
xor eax, eax
cmp dword [esp], 0
jg 0x401f4c
mov dword [esp], 0
add ecx, 0x3000000
mov dword [esp + 4], ecx
jmp 0x4018fe
mov edx, ecx
add dword [esp + 0x20], 8
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x40]
cmp ecx, 0xfffffffd
jl 0x401f8c
cmp ecx, dword [esp + 8]
jg 0x401f8c
test ecx, ecx
jle 0x4023dd
sub eax, ecx
jg 0x401f83
xor eax, eax
mov dword [esp + 8], eax
jmp 0x4024b1
cmp edx, eax
jle 0x401f9a
dec eax
mov dword [esp + 8], eax
jmp 0x4013f7
mov dword [esp + 8], 0
sub edx, 1
jb 0x4013f7
mov dword [esp + 8], edx
jmp 0x4013f7
add ecx, 3
jmp case.0x4012cd.74
lea ebx, [esp + 0xa6]
cmp dword [esp + 0x34], 4
jb 0x401c79
mov dword [esp + 4], esi
mov eax, ecx
mov ecx, dword [esp + 0x2c]
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov edx, dword [esp + 0xc]
movzx eax, byte [edx + eax]
mov byte [ebx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 2], al
mov eax, esi
mov esi, dword [esp + 4]
shld esi, ecx, 0x10
shl ecx, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 3], al
mov eax, dword [esp]
add ebx, 4
mov dword [esp + 4], esi
add eax, 0xfffffffc
jne 0x401fe0
lea eax, [esp + 0xa6]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x54], 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x39], al
test edx, edx
js 0x402083
mov byte [esp + 0x3a], 0x2b
cmp edx, 0x3e7
ja 0x402092
cmp edx, 0x63
jbe 0x4021aa
mov dword [esp + 0x2c], ebx
mov dword [esp], 5
jmp 0x40209d
mov byte [esp + 0x3a], 0x2d
neg edx
cmp edx, 0x3e7
jbe 0x40206d
mov dword [esp + 0x2c], ebx
mov dword [esp], 6
mov dword [esp + 4], 0
mov eax, edx
mov ecx, 0xcccccccd
mov dword [esp + 0x24], edx
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov esi, 0x66666667
imul esi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul esi
mov ebx, dword [esp + 0x24]
sub ebx, dword [esp + 0x34]
mov esi, dword [esp]
mov eax, esi
mov byte [esp + 0x38], al
or bl, 0x30
mov byte [esp + esi + 0x38], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, dword [esp + 0x24]
sub ecx, edx
add cl, 0x30
mov byte [esp + esi + 0x37], cl
cmp byte [esp + 4], 0
mov ebx, dword [esp + 0x2c]
jne 0x4028f5
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]
mov esi, dword [esp + 0x24]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x38]
mov edx, dword [esp]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x4028f5
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 + 0x38]
mov edx, dword [esp]
mov byte [edx + eax - 3], cl
jmp 0x4028f5
cmp edx, 9
jbe 0x4028e9
mov dword [esp + 0x2c], ebx
mov dword [esp], 4
mov al, 1
mov dword [esp + 4], eax
jmp 0x4020a5
mov eax, edx
mov dword [esp], esi
mov edx, esi
mov dword [esp + 8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp edx, 4
mov dword [esp + 0x14], edx
jb 0x4028b8
mov esi, eax
mov eax, dword [eax]
lea ecx, [eax + eax]
mov edx, ecx
and edx, 0xfdfdfdfc
not ecx
add ecx, eax
xor eax, 0x1010101
sub edx, eax
and ecx, edx
lea eax, [esi + 4]
mov edx, dword [esp + 0x14]
add edx, 0xfffffffc
test ecx, 0x80808080
je 0x4021e0
jmp 0x4028c2
mov dword [esp + 4], ecx
and ecx, 0xfffffff8
mov dword [esp + 0x24], ecx
xor edx, edx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx + edx + 1]
mov byte [esi + edx], al
movzx eax, byte [ecx + edx + 2]
mov byte [esi + edx + 1], al
movzx eax, byte [ecx + edx + 3]
mov byte [esi + edx + 2], al
movzx eax, byte [ecx + edx + 4]
mov byte [esi + edx + 3], al
movzx eax, byte [ecx + edx + 5]
mov byte [esi + edx + 4], al
movzx eax, byte [ecx + edx + 6]
mov byte [esi + edx + 5], al
movzx eax, byte [ecx + edx + 7]
mov byte [esi + edx + 6], al
movzx eax, byte [ecx + edx + 8]
mov byte [esi + edx + 7], al
add edx, 8
cmp dword [esp + 0x24], edx
jne 0x402240
add esi, edx
inc edx
mov ecx, dword [esp + 4]
and ecx, 7
je 0x4022c6
mov dword [esp], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
add ecx, edx
xor edx, edx
nop
nop
nop
nop
nop
movzx eax, byte [ecx + edx]
mov esi, dword [esp]
mov byte [esi + edx], al
inc edx
cmp dword [esp + 4], edx
jne 0x4022b0
mov esi, dword [esp]
add esi, edx
mov dword [esp], esi
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x4022eb
dec eax
mov byte [esp + 0x3a], 0x2b
mov esi, eax
jmp 0x4022f7
mov byte [esp + 0x3a], 0x2d
mov esi, 1
sub esi, eax
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 0xc], eax
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 4], 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 + 4]
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 + 0xc]
mov byte [esp + 0x38], dl
mov byte [esp + edx + 0x38], bl
add al, 0x30
mov byte [esp + edx + 0x37], al
cmp esi, 0x64
jb 0x4023ab
mov ebx, edx
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x38]
mov byte [ebx + eax - 2], dl
mov esi, dword [esp + 0x2c]
mov eax, esi
xor eax, 1
add esi, esi
and esi, 0xfffffffc
mov edx, dword [esp + 8]
add edx, eax
sub edx, esi
mov dword [esp + 8], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 4], 0x3000001
mov ebx, dword [esp + 0x14]
mov esi, dword [esp]
jmp 0x402a4a
cmp edx, eax
jl 0x4023e3
mov edx, eax
sub edx, ecx
mov dword [esp + 8], edx
jmp 0x4024b1
fdiv st(2), st(0)
lea ecx, [ebx + 0x1000000]
cmp ebx, 0x2ffffff
ja 0x402462
fucom st(2)
fnstsw ax
sahf
jbe 0x402410
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402462
fdiv st(2), st(0)
lea ecx, [ebx + 0x2000000]
cmp ebx, 0x1ffffff
ja 0x402462
fucom st(2)
fnstsw ax
sahf
jbe 0x402432
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402462
fdiv st(2), st(0)
lea ecx, [ebx + 0x3000000]
cmp ebx, 0xffffff
ja 0x402462
fucom st(2)
fnstsw ax
sahf
jbe 0x403722
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403722
fstp st(0)
fstp st(0)
mov ebx, ecx
mov eax, 6
mov ecx, dword [esp]
cmp ecx, 0xffffffff
je 0x402477
mov eax, ecx
sub esp, 0x18
fstp qword [esp + 8]
mov ecx, eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
call fcn.00403780
add esp, 0x18
test eax, eax
je 0x4024b1
or ebx, 0x80
mov byte [esp + 0x38], 0
mov byte [esp + 0x44], 0
mov al, 0x2d
test bl, bl
js 0x4024cf
mov al, 0x20
test bl, 4
jne 0x4024cf
mov al, 0x2b
test bl, 2
je 0x4024d8
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov ecx, dword [esp + 0x40]
cmp ecx, 0x7000
jne 0x4024f9
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
jmp 0x402b2b
test ecx, ecx
mov dword [esp + 0x14], ebx
jle 0x402595
mov dword [esp], 0
test bl, 0x40
je 0x40252b
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], esi
cmp ecx, dword [esp + 0x18]
jae 0x402665
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
jmp 0x402569
mov dword [esp], ecx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 4], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x4026c4
test bl, 0x40
je 0x402547
mov ecx, dword [esp]
inc ecx
cmp ecx, 4
jne 0x402544
mov ecx, ebx
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x44e001]
xor cl, 0x5d
mov edx, dword [esp + 4]
mov byte [edx], cl
inc edx
jmp 0x40254b
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
mov eax, dword [esp + 8]
test eax, eax
je 0x4025c7
movzx eax, byte [section..data]
xor al, 0x9f
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
mov eax, dword [esp + 8]
neg ecx
mov ebx, eax
cmp eax, ecx
jl 0x4025d1
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x40260b
mov eax, edx
and eax, 3
je 0x40260b
mov ecx, edx
mov esi, edx
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x4025f0
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
mov dword [esp + 8], ecx
push ecx
call fcn.0040cd60
add esp, 0xc
mov edx, dword [esp]
add edx, esi
inc edx
sub ebx, esi
cmp ebx, 4
jl 0x402648
mov eax, ebx
cmp ebx, 7
jl 0x40261c
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp], eax
add eax, 4
push eax
push 0x30
mov esi, edx
push edx
call fcn.0040cd60
add esp, 0xc
mov eax, dword [esp]
lea edx, [eax + esi]
add edx, 4
sub ebx, eax
add ebx, 0xfffffffc
test ebx, ebx
je 0x402834
push ebx
push 0x30
mov esi, edx
push edx
call fcn.0040cd60
add esp, 0xc
add esi, ebx
jmp 0x402836
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xa4]
jmp 0x4026af
mov ecx, dword [esp + 0x14]
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x44e001]
xor cl, 0x5d
mov byte [edx], cl
inc edx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
mov ecx, edx
inc edx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x18]
jae 0x402752
test byte [esp + 0x14], 0x40
je 0x402694
mov ecx, dword [esp]
inc ecx
cmp ecx, 4
je 0x40267a
mov dword [esp], ecx
jmp 0x402694
mov esi, dword [esp + 4]
cmp dword [esp + 8], 0
je 0x4026e5
movzx ecx, byte [section..data]
xor cl, 0x9f
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x40]
mov esi, edx
mov dword [esp], esi
mov edx, dword [esp + 0x18]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 8]
jbe 0x402700
mov edx, dword [esp + 8]
add edx, ecx
mov dword [esp + 0x18], edx
cmp eax, edx
jae 0x40272b
mov esi, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x18]
cmp eax, edx
jb 0x402710
mov dword [esp], esi
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 4]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 4], esi
mov eax, dword [esp + 8]
sub eax, edx
add eax, ecx
mov esi, dword [esp]
jmp 0x4029aa
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
sub ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp]
jbe 0x4027f0
test byte [esp + 0x14], 0x40
jne 0x402a66
cmp dword [esp + 4], eax
je 0x402a88
mov eax, edx
and eax, 3
je 0x402a88
mov ecx, 2
sub ecx, dword [esp + 0x24]
and ecx, 3
mov eax, dword [esp + 4]
sub eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
mov ecx, dword [esp + 0xc]
jb 0x4027b1
mov ecx, eax
mov dword [esp + 0xc], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040cd60
add esp, 0xc
add esi, dword [esp + 4]
mov eax, dword [esp + 0x34]
cmp esi, eax
jb 0x4027d2
mov esi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
lea edx, [eax + ecx]
add edx, 2
mov eax, dword [esp + 4]
sub eax, esi
sub eax, ebx
mov ecx, dword [esp]
jmp 0x402a8c
mov ebx, dword [esp + 0x14]
mov esi, edx
mov ecx, esi
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 4], ecx
cmp dword [esp + 8], 0
je 0x40292c
movzx eax, byte [section..data]
xor al, 0x9f
mov byte [esi], al
mov eax, dword [esp + 8]
inc esi
jmp 0x4029aa
mov eax, dword [esp + 0x14]
jmp 0x402b06
mov esi, edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
lea ecx, [edx + eax]
mov eax, edx
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
jle 0x402859
mov eax, dword [esp + 8]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp], eax
je 0x402995
mov edx, dword [esp + 8]
mov dword [esp + 4], edx
cmp edx, ecx
jl 0x402874
mov dword [esp + 4], ecx
mov ecx, eax
and ecx, 3
je 0x402937
mov eax, esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x402890
add eax, esi
mov ecx, dword [esp]
sub ecx, esi
mov ebx, dword [esp + 0x14]
mov esi, eax
jmp 0x402939
test edx, edx
mov esi, eax
je 0x402a80
mov eax, dword [esp]
add dword [esp + 8], eax
xor ecx, ecx
mov edx, dword [esp + 0xc]
mov eax, esi
mov esi, dword [esp + 0x14]
cmp byte [eax + ecx], 0
je 0x402930
inc ecx
cmp esi, ecx
jne 0x4028d5
mov eax, dword [esp + 8]
jmp 0x402b06
mov byte [esp + 0x38], 3
or dl, 0x30
mov byte [esp + 0x3b], dl
add dword [esp + 0x20], 8
mov eax, ebx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x18], ebx
xor edx, edx
mov dword [esp + 4], 0x3000001
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 8]
jmp 0x402b2f
xor eax, eax
jmp 0x4029aa
add eax, ecx
jmp 0x402b06
mov ecx, eax
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 4]
cmp edx, 0xfffffffc
ja 0x402995
mov edx, dword [esp + 0x10]
mov eax, esi
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
mov esi, eax
movzx edx, byte [edx]
mov byte [eax + 3], dl
add esi, 4
add ecx, 0xfffffffc
jne 0x402946
mov ecx, dword [esp + 0xc]
add ecx, dword [esp]
mov eax, dword [esp + 8]
sub eax, ecx
mov dword [esp + 4], 0x3000001
mov dword [esp + 8], eax
test ebx, 0x100
je 0x402a4a
mov eax, ebx
and eax, 0x400
sete byte [esp + 0x38]
mov byte [esp + 0x39], 0x20
cmp ebx, 0x1000000
jb 0x402a4a
mov dword [esp], esi
mov ecx, ebx
shr ecx, 0x18
mov edx, ebx
or edx, 0x800
mov esi, ebx
xor ebx, 0xfffff7ff
test edx, ebx
je 0x402a1e
movzx ecx, byte [ecx + str._KMGT]
mov edx, eax
shr edx, 0xa
neg edx
mov byte [esp + edx + 0x3a], cl
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x1000
jne 0x402a3f
movzx eax, al
mov byte [esp + eax + 0x39], 0x69
inc eax
jmp 0x402a3f
movzx ecx, byte [ecx + str._kMGT]
mov edx, esi
shl edx, 0x15
sar edx, 0x1f
lea esi, [esp + 0x38]
mov byte [edx + esi + 2], cl
cmp eax, 1
mov eax, 0
adc al, 1
mov esi, dword [esp]
mov byte [esp + 0x38], al
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0xa4]
sub esi, eax
mov dword [esp + 0x18], esi
xor edx, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
jmp 0x402b2f
mov ebx, dword [esp + 0x14]
mov esi, edx
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x402ae2
jmp 0x4027f6
mov eax, edx
jmp 0x402b06
mov edx, dword [esp + 0xc]
mov eax, esi
jmp 0x402b06
mov eax, dword [esp + 0xc]
cmp eax, 4
jb 0x402ac4
mov esi, eax
and esi, 0xfffffffc
push esi
push 0x30
mov ebx, edx
push edx
mov dword [esp + 0x18], eax
call fcn.0040cd60
mov ecx, dword [esp + 0xc]
add esp, 0xc
add ebx, esi
mov esi, ebx
mov edx, dword [esp + 0xc]
and edx, 3
mov ebx, dword [esp + 0x14]
test edx, edx
jne 0x402ae2
jmp 0x4027f6
mov ebx, dword [esp + 0x14]
mov esi, edx
mov edx, eax
test edx, edx
jne 0x402ae2
jmp 0x4027f6
mov byte [esi], 0x30
dec edx
inc esi
test edx, edx
je 0x4027f6
test bl, 0x40
je 0x402ad5
inc ecx
cmp ecx, 4
jne 0x402ad5
movzx eax, byte [0x44e001]
xor al, 0x5d
mov byte [esi], al
xor ecx, ecx
inc esi
test edx, edx
jne 0x402ae2
jmp 0x4027f6
mov eax, ecx
add dword [esp + 0x20], 4
sub eax, edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 4], 0
xor eax, eax
xor edx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jg 0x402b41
mov edx, ecx
mov ebx, edx
movsx eax, byte [esp + 0x44]
movsx esi, byte [esp + 0x38]
mov edx, dword [esp + 8]
mov dword [esp], ebx
add edx, ebx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x30]
cmp esi, edx
jg 0x402b64
mov esi, edx
sub esi, edx
mov dword [esp + 0x30], esi
sub dword [esp], ecx
mov ecx, dword [esp + 0x14]
test cl, 1
mov esi, dword [esp + 0x1c]
jne 0x402ba1
test cl, 0x10
jne 0x402b89
mov dword [esp + 0x14], 0
jmp 0x402ba1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp]
cmp ecx, edx
jg 0x402b96
mov ecx, edx
mov dword [esp], ecx
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp]
mov ecx, dword [esp + 0x14]
je 0x40300d
test cl, 1
mov edx, ecx
mov dword [esp + 0x14], ecx
jne 0x402cdc
cmp dword [esp + 0x30], 0
jle 0x402cdc
mov edx, dword [esp + 0x30]
jmp 0x402bf4
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
test edx, edx
jle 0x402ccf
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp + 0x30], edx
cmp edx, ecx
jl 0x402c0a
mov eax, ecx
mov ebx, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x402c16
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
je 0x402c4f
mov eax, edi
and eax, 3
je 0x402c4f
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402c37
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040cd60
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jl 0x402c88
mov eax, ebx
cmp ebx, 7
jl 0x402c60
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
call fcn.0040cd60
add esp, 0xc
sub ebx, esi
add ebx, 0xfffffffc
add edi, esi
add edi, 4
mov esi, dword [esp + 0x1c]
test ebx, ebx
je 0x402c9a
push ebx
push 0x20
push edi
call fcn.0040cd60
add esp, 0xc
add edi, ebx
cmp dword [ebp + 8], 0
je 0x402be4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402be4
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402be0
jmp 0x40375c
mov dword [esp + 0x30], edx
movzx eax, byte [esp + 0x44]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x45]
mov dword [esp + 0x10], ecx
test al, al
jne 0x402ef3
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 4]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x28], ecx
xor esi, esi
test dl, 0x40
je 0x402d19
and eax, 0xffffff
add eax, dword [esp]
mov esi, dword [esp + 0x28]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp]
test edx, edx
jg 0x402d4f
lea eax, [esp + 0x45]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xc]
jmp 0x403151
mov edx, dword [esp]
sub edx, dword [esp + 4]
test edx, edx
jle 0x403000
mov ecx, dword [esp + 0x1c]
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp], edx
cmp edx, ecx
jl 0x402d66
mov eax, ecx
mov ecx, dword [esp]
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x14]
je 0x402d75
mov ecx, eax
test dl, 0x40
mov dword [esp + 4], ecx
jne 0x402df8
test ecx, ecx
je 0x402db7
mov eax, edi
and eax, 3
je 0x402db7
mov ebx, edi
not ebx
and ebx, 3
dec ecx
cmp ebx, ecx
jb 0x402d97
mov ebx, ecx
lea eax, [ebx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x30], ecx
call fcn.0040cd60
mov ecx, dword [esp + 0x30]
add esp, 0xc
add edi, ebx
inc edi
sub ecx, ebx
mov edx, dword [esp + 0x14]
cmp ecx, 4
jl 0x402df8
mov eax, ecx
cmp ecx, 7
jl 0x402dc8
mov eax, 7
neg eax
lea ebx, [ecx + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
mov dword [esp + 0x30], ecx
call fcn.0040cd60
mov ecx, dword [esp + 0x30]
add esp, 0xc
add edi, ebx
add edi, 4
sub ecx, ebx
add ecx, 0xfffffffc
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x402e40
test cl, 1
jne 0x402e10
mov eax, ecx
cmp ecx, 1
jne 0x402e97
jmp 0x402e40
mov al, 0x30
test dl, 0x40
je 0x402e2b
cmp esi, dword [esp + 0x28]
jne 0x402e2a
movzx eax, byte [0x44e001]
xor al, 0x5d
xor esi, esi
jmp 0x402e2b
inc esi
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402e97
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402d40
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402d40
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40375c
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x402d40
movzx ecx, byte [0x44e001]
xor cl, 0x5d
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402e40
mov cl, 0x30
test dl, 0x40
je 0x402ec1
cmp esi, dword [esp + 0x28]
jne 0x402ec0
movzx edx, byte [0x44e001]
xor dl, 0x5d
xor esi, esi
jmp 0x402ec3
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, dword [esp + 0x14]
test dl, 0x40
je 0x402e8c
cmp esi, dword [esp + 0x28]
je 0x402e80
inc esi
jmp 0x402e8c
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x44]
test al, al
mov edx, ebx
je 0x402cec
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402f0d
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, ecx
jl 0x402f0d
mov eax, ecx
sub ecx, eax
mov byte [esp + 0x44], cl
test eax, eax
je 0x402f60
mov ecx, eax
and ecx, 3
je 0x402f70
mov ebx, eax
mov dword [esp + 0x1c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x402f30
add edi, edx
mov eax, ebx
mov ecx, ebx
sub ecx, edx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp eax, 4
jae 0x402f80
jmp 0x402fcb
mov ebx, edx
jmp 0x402fcb
mov ebx, edx
mov ecx, eax
cmp eax, 4
jb 0x402fcb
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402f80
cmp dword [ebp + 8], 0
je 0x402ee4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402ee4
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ee0
jmp 0x40375c
movzx eax, byte [esp + 0x44]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x45]
mov dword [esp + 0x10], ecx
jmp 0x403029
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x44]
test al, al
je 0x40314d
movsx ebx, al
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x403044
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x40304c
mov ebx, edx
sub al, bl
mov byte [esp + 0x44], al
test ebx, ebx
je 0x4030eb
mov eax, ebx
and eax, 3
je 0x403140
mov dword [esp + 0x1c], esi
xor edx, edx
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x403070
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jb 0x4030eb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x4030a0
cmp dword [ebp + 8], 0
je 0x403020
mov ecx, edi
xor ecx, esi
mov eax, esi
not eax
and eax, edi
add eax, eax
sub eax, ecx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403020
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40375c
mov edi, eax
mov esi, eax
jmp 0x403020
mov eax, ebx
cmp ebx, 4
jae 0x4030a0
jmp 0x4030eb
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
test esi, esi
jmp 0x403172
mov eax, esi
not eax
mov ecx, dword [esp + 0x28]
and eax, ecx
not ecx
and ecx, esi
sub ecx, eax
mov esi, ecx
mov ebx, dword [esp + 0x14]
je 0x40334d
mov ecx, esi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4031a2
mov eax, edi
not eax
mov ecx, dword [esp + 0x1c]
and eax, ecx
not ecx
and ecx, edi
sub eax, ecx
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x4031a2
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0x28], ecx
jl 0x403200
lea eax, [ecx - 4]
mov dword [esp], eax
shr eax, 2
inc eax
and eax, 7
je 0x403204
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x4031d0
add edi, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, dword [ebp + 8]
cmp dword [esp], 0x1c
jae 0x403210
jmp 0x403251
mov eax, ecx
jmp 0x403251
cmp dword [esp], 0x1c
jb 0x403251
nop
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403210
test eax, eax
je 0x4032e1
mov ecx, eax
and ecx, 7
je 0x403340
mov dword [esp], esi
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403270
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, dword [ebp + 8]
mov edx, esi
mov esi, dword [esp]
cmp eax, 8
jb 0x4032e1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x4032a0
test ebx, ebx
je 0x403160
mov eax, edi
mov ebx, dword [esp + 0x1c]
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403160
mov dword [esp], esi
mov esi, edx
mov ecx, eax
mov edx, dword [esp + 0x4c]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x4c], edx
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40375c
mov edi, eax
mov dword [esp + 0x1c], eax
mov edx, esi
mov esi, dword [esp]
jmp 0x403160
mov ecx, eax
cmp eax, 8
jae 0x4032a0
jmp 0x4032e1
mov edx, dword [esp + 8]
test edx, edx
mov esi, dword [esp + 0x1c]
jne 0x4034ae
lea eax, [esp + 0x39]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x38]
test al, al
je 0x4035aa
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x4033a5
mov eax, edi
sub eax, esi
mov edx, eax
xor edx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, edx
cmp eax, ecx
jl 0x4033a5
mov eax, ecx
sub cl, al
mov byte [esp + 0x38], cl
test eax, eax
je 0x40344b
mov ecx, eax
and ecx, 3
je 0x403490
mov dword [esp + 0x1c], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea ebx, [esi + 1]
mov dword [esp + 0x10], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4033d0
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp eax, 4
jb 0x40344b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403400
cmp dword [ebp + 8], 0
je 0x403370
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403370
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40375c
mov edi, eax
mov esi, eax
jmp 0x403370
mov ecx, eax
cmp eax, 4
jae 0x403400
jmp 0x40344b
mov edx, dword [esp + 8]
sub edx, dword [esp + 0x28]
je 0x40335d
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp + 8], edx
cmp edx, ecx
jl 0x4034c4
mov eax, ecx
mov ecx, dword [esp + 8]
cmp dword [ebp + 8], 0
je 0x4034d0
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
je 0x403520
mov eax, edi
and eax, 3
je 0x403520
mov ebx, edi
not ebx
and ebx, 3
lea esi, [ecx - 1]
cmp ebx, esi
jb 0x4034f3
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040cd60
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x14]
cmp esi, 4
jge 0x403527
jmp 0x40355b
mov esi, ecx
cmp esi, 4
jl 0x40355b
mov eax, esi
cmp esi, 7
jl 0x403533
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
call fcn.0040cd60
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x40356d
push esi
push 0x30
push edi
call fcn.0040cd60
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
je 0x4034a0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4034a0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40375c
mov edi, eax
mov esi, eax
jmp 0x4034a0
test bl, 1
je 0x403708
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x50]
mov ebx, dword [ebp + 8]
jle 0x40370f
mov ecx, dword [esp + 0x30]
jne 0x4035e0
jmp 0x40370f
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
sub ecx, edx
je 0x40370f
mov dword [esp + 0x30], ecx
mov edx, ecx
test ebx, ebx
je 0x40360f
mov eax, esi
xor eax, edi
mov ecx, esi
not ecx
and ecx, edi
add ecx, ecx
not ecx
add eax, ecx
add eax, 0x201
mov ecx, dword [esp + 0x30]
mov edx, ecx
cmp ecx, eax
jl 0x40360b
mov edx, eax
mov eax, dword [esp + 0x50]
test edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], esi
je 0x4036a0
mov eax, edi
and eax, 3
je 0x403650
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x403636
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040cd60
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [ebp + 8]
jmp 0x403652
mov esi, edx
mov eax, dword [esp + 0x50]
cmp esi, 4
jl 0x4036b0
mov eax, esi
cmp esi, 7
jl 0x403667
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push edi
call fcn.0040cd60
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x50]
test esi, esi
jne 0x4036b4
jmp 0x4036c6
mov esi, edx
cmp esi, 4
jge 0x40365b
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x4036c6
push esi
push 0x20
push edi
call fcn.0040cd60
mov eax, dword [esp + 0x5c]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
test ebx, ebx
je 0x4035d4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x4035d0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x40375c
mov edi, eax
mov esi, eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
jmp 0x4035d4
mov eax, dword [esp + 0x50]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x28], edi
inc eax
jmp 0x401049
mov eax, dword [esp + 8]
jmp 0x4021cb
fstp st(1)
fdivp st(1)
or ebx, 0x4000000
jmp 0x402468
mov esi, ecx
jmp 0x4021cb
test ebx, ebx
je 0x403762
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x403769
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call ebx
add esp, 0xc
mov ecx, eax
mov esi, eax
jmp 0x403769
xor ecx, ecx
xor esi, esi
jmp 0x403769
mov ecx, dword [esp + 0x28]
mov byte [ecx], 0
mov eax, dword [esp + 0x4c]
add eax, ecx
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret