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 + 0x24], eax
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], esi
jmp 0x40103f
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x18], esi
mov byte [esi], al
inc esi
inc edi
mov eax, edi
test al, 3
mov dword [esp + 0x28], esi
je 0x401050
movzx eax, byte [edi]
jmp 0x40106e
mov eax, dword [edi]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010b1
cmp al, 0x25
je 0x401110
mov esi, dword [esp + 0x28]
test al, al
je 0x40350a
cmp dword [ebp + 8], 0
je 0x40103b
mov ecx, esi
sub ecx, dword [esp + 0x18]
cmp ecx, 0x1ff
jl 0x40103b
add dword [esp + 0x48], ecx
push ecx
push dword [ebp + 0xc]
push dword [esp + 0x20]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x40353e
mov ecx, dword [esp + 0x18]
sub ecx, esi
add ecx, 0x200
jmp 0x4010ee
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x28], edx
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40106e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401076
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x28]
je 0x4010c0
cmp ecx, 4
jge 0x4010c0
jmp 0x40106e
mov ecx, edi
add ecx, 2
xor ebx, ebx
jmp 0x401123
mov edx, 1
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401134.33
mov edx, 2
jmp dword [esi*4 + 0x447564]
mov edx, 4
jmp case.0x401134.43
mov edx, 0x400
jmp case.0x401134.43
mov edx, 0x100
test ebx, 0x100
je case.0x401134.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401134.43
mov edx, 8
jmp case.0x401134.43
mov edx, 0x40
jmp case.0x401134.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x40117d
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x28]
mov dword [esp + 4], ebx
jne 0x4011a1
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x4011df
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x44], 0
cmp dl, 9
ja 0x4011df
xor ebx, ebx
nop
nop
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 0x4011c0
mov dword [esp + 0x44], ebx
mov dword [esp + 8], 0xffffffff
cmp al, 0x2e
jne 0x40124f
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x40120d
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 8], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x40124f
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 8], 0
cmp dl, 9
ja 0x40124f
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401230
mov dword [esp + 8], edi
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40125a.74
jmp dword [eax*4 + 0x447664]
inc ecx
jmp case.0x40125a.74
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4012a5
or dword [esp + 4], 0x20
add ecx, 2
jmp case.0x40125a.74
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x4012ba
cmp edx, 0x36
jne 0x4012d0
cmp byte [ecx + 2], 0x34
jne 0x4012c0
add ecx, 3
or dword [esp + 4], 0x20
jmp case.0x40125a.74
cmp byte [ecx + 1], 0x68
je 0x4012a8
inc ecx
jmp 0x4012ab
inc ecx
jmp 0x4012cc
add ecx, 2
mov eax, dword [esp + 4]
or eax, 0x200
mov dword [esp + 4], eax
jmp case.0x40125a.74
cmp byte [ecx + 2], 0x32
je 0x4012c6
mov ecx, dword [esp + 0x50]
jmp case.0x40125a.74
add ecx, 3
movzx edx, byte [ecx]
mov dword [esp + 0x50], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012df.67
jmp dword [eax*4 + 0x44772c]
test byte [esp + 4], 0x20
jne 0x4016f4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
cmp dl, 0x75
je 0x401fda
test ecx, ecx
mov esi, dword [esp + 8]
jns 0x401fc6
neg ecx
mov edx, dword [esp + 4]
or edx, 0x80
jmp 0x401ff6
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x40133b
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x401351
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, ecx
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
call fcn.00403560
add esp, 0x18
test eax, eax
je 0x401392
or dword [esp + 4], 0x80
add dword [esp + 0x24], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x4013bc
mov al, 0x20
test byte [esp + 4], 4
jne 0x4013bc
mov al, 0x2b
test byte [esp + 4], 2
je 0x4013c5
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
cmp edi, 0x7000
mov dword [esp + 0xc], eax
je 0x402900
movzx ecx, byte [eax]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x401416
movzx ecx, byte [section..data]
xor cl, 0x99
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, ebx
jbe 0x40142c
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
cmp eax, 2
jb 0x4014f6
mov dword [esp + 0x10], esi
mov eax, ebx
cmp ebx, edx
jb 0x401445
mov ebx, edx
lea esi, [ebx - 1]
mov edx, 1
cmp esi, 7
jb 0x4014c9
mov dword [esp + 0x4c], ebx
mov esi, ebx
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x401470
add ecx, edx
mov dword [esp + 8], ecx
inc edx
mov ebx, dword [esp + 0x4c]
and ebx, 7
mov esi, dword [esp + 0x10]
je 0x4014f6
mov esi, dword [esp + 0xc]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 8]
nop
nop
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x4014e0
add ecx, edx
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x10]
movzx eax, byte [esi + 0xe]
mov byte [esp + 0x31], al
test edi, edi
jle 0x401c7e
dec edi
mov byte [esp + 0x32], 0x2b
mov esi, edi
jmp 0x401c8a
mov eax, str.0123456789ABCDEFXP
mov dword [esp + 0x54], edx
cmp dl, 0x41
je 0x401526
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x10], eax
mov edi, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
mov edx, dword [esp + 4]
je 0x40153e
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40154f
or edx, 0x80
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x4016a8
mov al, 0x20
test dl, 4
jne 0x4016a8
mov al, 0x2b
test dl, 2
jne 0x4016a8
mov dword [esp + 0xc], 0
jmp 0x4016b2
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x401597
mov dword [esp + 0x10], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 4]
mov eax, ecx
or eax, 8
xor ecx, 0xfffffff7
test eax, ecx
je 0x4015c2
cmp dl, 0x42
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x3e], al
mov dword [esp + 0x20], 0x180
mov ecx, 1
test byte [esp + 4], 0x20
je 0x40179c
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add eax, 8
mov dword [esp + 0x24], eax
jmp 0x4017ab
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x4015fe
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, dword [esp + 8]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edi, 6
cmp ecx, 0xffffffff
je 0x40161c
mov edi, eax
lea eax, [edi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
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 + 0x38]
call fcn.00403560
add esp, 0x18
test eax, eax
je 0x40165a
or dword [esp + 4], 0x80
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jb 0x401664
mov ecx, edi
mov dword [esp + 0x10], esi
mov eax, ecx
cmp ecx, 2
jb 0x401739
mov ebx, dword [esp + 0x14]
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebx + eax - 1], 0x30
jne 0x401d60
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401d62
cmp ecx, 1
mov ecx, edx
jne 0x401680
jmp 0x401d62
mov byte [esp + 0x3d], al
mov al, 1
mov dword [esp + 0xc], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 4], edx
je 0x401b1f
add ecx, 0xfffffc01
mov dword [esp + 0x2c], ecx
mov eax, 0xffffffff
add ebx, eax
mov eax, 0xfffff
adc esi, eax
add ebx, 1
mov dword [esp + 8], ebx
adc esi, 0
jmp 0x401b38
mov ecx, dword [esp + 0x24]
lea edi, [ecx + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x401fe4
test ecx, ecx
mov esi, dword [esp + 8]
mov edx, ecx
jns 0x401fcc
neg eax
mov ecx, 0
sbb ecx, edx
mov edx, dword [esp + 4]
or edx, 0x80
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x24], edi
jmp 0x401ff6
mov edx, edi
jmp 0x401d62
and dword [esp + 4], 0xffffffef
mov dword [esp + 8], 8
mov dword [esp + 0x10], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x401762
mov dword [esp + 0x10], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x3c], 0
mov ecx, 4
test byte [esp + 4], 8
je 0x401791
cmp dl, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
test byte [esp + 4], 0x20
jne 0x4015da
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov edx, esi
or edx, edi
jne 0x4017ce
mov byte [esp + 0x3c], 0
cmp dword [esp + 8], 0
je 0x401aff
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, esi
mov eax, dword [esp + 0x20]
mov cl, ah
shrd esi, edi, cl
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x263], cl
mov cl, ah
shr edi, cl
test ah, 0x20
jne 0x4017fe
mov edx, esi
jmp 0x401802
mov edx, edi
xor edi, edi
mov esi, eax
mov ecx, edx
mov dword [esp + 0x1c], edi
or ecx, edi
jne 0x401826
mov ecx, 1
cmp dword [esp + 8], 2
jge 0x401826
lea edx, [esp + 0x263]
jmp 0x401908
mov edi, edx
lea edx, [esp + 0x263]
lea ebx, [esp + 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 4], 0x40
mov eax, esi
jne 0x401850
mov dword [esp + 0xc], edx
jmp 0x4018a2
mov dword [esp + 0xc], edx
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
mov ecx, eax
mov eax, 0xe
sub eax, ecx
and eax, 0xf
mov esi, edx
shr esi, 4
mov ecx, esi
not ecx
or ecx, 0xf
add ecx, esi
inc ecx
xor ecx, eax
cmp ecx, 0xf
jne 0x4018a0
and edx, 0xfffffff0
mov dword [esp + 0x20], edx
movzx eax, byte [0x44a001]
mov byte [ebx - 2], al
add ebx, 0xfffffffe
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x20]
jmp 0x4018a2
mov eax, edx
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
and ebx, edi
mov edx, dword [esp + 0x20]
mov cl, dh
mov esi, dword [esp + 0x1c]
shrd edi, esi, cl
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + ebx]
mov ebx, dword [esp + 0xc]
mov byte [ebx - 1], al
mov eax, edx
mov cl, ah
shr esi, cl
mov ecx, esi
mov esi, edx
test ah, 0x20
jne 0x4018e0
mov eax, edi
jmp 0x4018e4
mov eax, ecx
xor ecx, ecx
lea edx, [ebx - 1]
mov edi, eax
mov dword [esp + 0x1c], ecx
or eax, ecx
jne 0x401840
lea ecx, [esp + 0x264]
sub ecx, edx
cmp ecx, dword [esp + 8]
jl 0x401840
mov dword [esp + 0xc], edx
shr esi, 4
mov eax, esi
xor eax, 0xf0
or esi, 0xf
and esi, eax
shl esi, 0x18
add esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 8]
xor esi, esi
jmp 0x402904
mov byte [esp + 0x3c], 0
test byte [esp + 4], 8
je 0x401946
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp + 0x10], str.0123456789ABCDEFXP
mov ecx, 3
test byte [esp + 4], 0x20
je 0x40179c
jmp 0x4015da
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x40197c
mov edx, eax
mov eax, dword [esp + 8]
mov ebx, eax
test eax, eax
jns 0x40198b
mov ebx, 0xffffffff
test dl, 3
mov dword [esp + 0xc], edx
je 0x4026d7
lea edi, [ebx + edx]
test eax, eax
je 0x4028db
cmp byte [edx], 0
je 0x40286c
lea ecx, [edx + 1]
lea eax, [ebx - 1]
mov esi, ecx
test cl, 3
je 0x402885
test eax, eax
je 0x4028db
cmp byte [esi], 0
je 0x4034f0
lea ecx, [edx + 2]
lea eax, [ebx - 2]
mov esi, ecx
test cl, 3
je 0x402885
test eax, eax
je 0x4028db
cmp byte [esi], 0
je 0x4034f0
lea ecx, [edx + 3]
lea eax, [ebx - 3]
mov esi, ecx
test cl, 3
je 0x402885
test eax, eax
je 0x4028db
cmp byte [esi], 0
je 0x4034f0
lea eax, [edx + 4]
add ebx, 0xfffffffc
test al, 3
je 0x402889
test ebx, ebx
je 0x4028d7
jmp 0x4028d1
mov byte [esp + 0x263], dl
mov dword [esp + 0x20], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x44], 0
jmp 0x402904
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx]
mov byte [esp + 0x263], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
add ecx, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
jmp 0x402900
mov eax, dword [esp + 0x24]
fld qword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test dword [esp + 4], 0x100
jne 0x402195
jmp 0x4022ff
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x18]
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x24], edx
jmp 0x403357
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x264]
mov dword [esp + 0xc], eax
jmp 0x402900
xor eax, eax
mov ecx, ebx
or ecx, esi
je 0x401b2c
mov eax, 0xfffffc02
mov dword [esp + 8], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
lea ecx, [edi*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401b59
mov ebx, edx
xor edx, edx
mov dword [esp + 0x4c], edi
cmp edi, 0xf
jl 0x401b66
xor ebx, ebx
xor edx, edx
mov edi, dword [esp + 8]
shld esi, edi, 8
shl edi, 8
add edi, ebx
adc esi, edx
mov edx, dword [esp + 0xc]
movzx ecx, dl
lea eax, [esp + 0x3c]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x3c], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x401c68
mov dword [esp + 8], edi
movzx ecx, byte [section..data]
xor cl, 0x99
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x14], eax
mov edi, edx
cmp edx, 0xd
mov ebx, dword [esp + 0x2c]
mov ecx, edx
jb 0x401be0
mov edi, 0xd
mov eax, ecx
sub eax, edi
mov dword [esp + 0x1c], eax
jg 0x401bf2
mov dword [esp + 0x1c], 0
mov edx, edi
and edx, 3
je 0x401dbd
mov dword [esp + 0xc], edi
xor ebx, ebx
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x10]
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + ebx + 0xa6], al
shl edi, 4
inc ebx
cmp edx, ebx
jne 0x401c10
mov dword [esp + 8], edi
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov edi, dword [esp + 0xc]
sub edi, ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
cmp ecx, 4
jae 0x401dcd
lea esi, [esp + 0xa6]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
jmp 0x401e49
lea edx, [esp + 0xa5]
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [esp + 0x10], edx
jmp 0x401e45
mov byte [esp + 0x32], 0x2d
mov esi, 1
sub esi, edi
cmp esi, 0x64
mov edi, 4
sbb edi, 0xffffffff
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, edi
mov byte [esp + 0x30], dl
mov byte [esp + edi + 0x30], bl
add al, 0x30
mov byte [esp + edi + 0x2f], al
cmp esi, 0x64
jb 0x401d36
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 + 0x30]
mov byte [edi + eax - 2], dl
mov esi, dword [esp + 0x1c]
lea eax, [esi - 1]
mov edx, dword [esp + 0x2c]
xor eax, edx
neg esi
and esi, edx
add esi, esi
sub esi, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], 0x3000001
mov edx, dword [esp + 8]
jmp 0x402854
mov edx, ecx
add dword [esp + 0x24], 8
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
jl 0x401d91
cmp ecx, edi
jg 0x401d91
test ecx, ecx
jle 0x401fb7
mov edi, eax
sub edi, ecx
jg 0x402345
xor edi, edi
jmp 0x402345
cmp edx, eax
jle 0x401da3
dec eax
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x10]
jmp 0x401397
mov dword [esp + 0x2c], 0
sub edx, 1
jb 0x401db4
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x10]
jmp 0x401397
lea edx, [esp + 0xa6]
cmp ecx, 4
jb 0x401c54
mov ebx, esi
mov eax, edi
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 2], al
shld ebx, edi, 0x10
shl edi, 0x10
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ecx + esi]
mov byte [edx + 3], al
mov eax, dword [esp + 0xc]
add edx, 4
mov esi, ebx
add eax, 0xfffffffc
jne 0x401de0
lea esi, [esp + 0xa6]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x31], al
test ebx, ebx
js 0x401e66
mov byte [esp + 0x32], 0x2b
jmp 0x401e6d
mov byte [esp + 0x32], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp + 8], edx
ja 0x401e90
cmp ebx, 0x63
jbe 0x401f97
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 5
jmp 0x401e9c
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 6
mov dword [esp + 0x2c], 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, ebx
mov edi, 0x66666667
imul edi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul edi
mov eax, ebx
sub eax, esi
mov edi, ebx
mov ebx, dword [esp + 0xc]
mov byte [esp + 0x30], bl
or al, 0x30
mov byte [esp + ebx + 0x30], 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 + 0x2f], cl
cmp byte [esp + 0x2c], 0
mov ecx, 0x51eb851f
mov esi, dword [esp + 0x1c]
jne 0x40271b
mov eax, edi
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 + 0x30]
mov edx, dword [esp + 0xc]
mov byte [edx + 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 + 0x30]
mov edx, dword [esp + 0xc]
mov byte [edx + eax - 3], cl
jmp 0x40271b
cmp ebx, 9
jbe 0x40270f
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 4
mov al, 1
mov dword [esp + 0x2c], eax
jmp 0x401ea4
cmp edx, eax
jl 0x401fbd
mov edx, eax
sub edx, ecx
mov edi, edx
jmp 0x402345
mov edx, dword [esp + 4]
jmp 0x401ff6
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edi
mov edx, dword [esp + 4]
jmp 0x401ff4
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
jmp 0x401ff6
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edi
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
mov ecx, eax
mov dword [esp + 4], edx
test edx, 0x100
jne 0x402160
mov dword [esp + 0x10], ecx
mov esi, 0x200
xor edx, edx
movzx eax, byte [0x44a001]
mov byte [esp + 0xc], al
nop
nop
nop
nop
mov ebx, dword [esp + 0x10]
cmp ebx, 0x5f5e100
mov edi, dword [esp + 0x1c]
mov eax, edi
sbb eax, 0
mov dword [esp + 0x2c], edx
jb 0x402060
push 0
push 0x5f5e100
push edi
push ebx
call fcn.0040ca60
mov dword [esp + 0x1c], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x10], eax
jmp 0x402070
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x5c]
lea ecx, [eax + esi]
test byte [esp + 4], 0x40
jne 0x4020c0
mov dword [esp + 0x4c], ecx
mov edi, 0x51eb851f
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
mul edi
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 0x402090
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
jmp 0x402120
test ebx, ebx
mov edx, dword [esp + 0x2c]
jne 0x4020f7
jmp 0x402120
inc edx
mov edi, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov ebx, edx
mov edx, edi
test ebx, ebx
je 0x402120
test byte [esp + 4], 0x40
je 0x4020d1
cmp edx, 3
jne 0x4020d0
mov edx, ecx
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x4020f7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x1c]
jne 0x402137
jmp 0x4021dc
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402020
test byte [esp + 4], 0x40
je 0x402131
cmp edx, 3
jne 0x402130
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x402137
mov eax, 1
cmp esi, 0xffffffff
je 0x40216c
mov eax, esi
xor edx, edx
mov esi, ecx
cmp ecx, 0x400
mov ecx, dword [esp + 0x1c]
sbb ecx, 0
jb 0x402181
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 4]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x447550]
cmp ecx, 0x3ffffff
ja 0x4021d5
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40227a
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40227a
fstp st(0)
fstp st(0)
jmp 0x4022ff
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
js 0x402212
mov dl, 0x20
test byte [esp + 4], 4
jne 0x402212
mov dl, 0x2b
test byte [esp + 4], 2
je 0x40221b
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], 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 + 0x20], edx
cmp esi, 0x200
jne 0x402250
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x20], 1
mov ecx, 1
jmp 0x402252
mov ecx, edx
mov dword [esp + 0xc], eax
xor esi, esi
cmp dword [esp + 8], 0
jg 0x402267
mov dword [esp + 8], 0
add ecx, 0x3000000
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 8]
jmp 0x402904
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x4022f7
fucom st(2)
fnstsw ax
sahf
jbe 0x40229f
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4022f7
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x4022f7
fucom st(2)
fnstsw ax
sahf
jbe 0x4022c4
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4022f7
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x4022f7
fucom st(2)
fnstsw ax
sahf
jbe 0x4034f9
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4034f9
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov edi, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x40230f
mov edi, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
call fcn.00403560
add esp, 0x18
test eax, eax
je 0x402345
or dword [esp + 4], 0x80
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x40236a
mov al, 0x20
test byte [esp + 4], 4
jne 0x40236a
mov al, 0x2b
test byte [esp + 4], 2
je 0x402373
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x402394
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jmp 0x402900
test ecx, ecx
mov dword [esp + 0x1c], edi
jle 0x402429
xor edi, edi
test byte [esp + 4], 0x40
je 0x4023c0
mov edi, 0x258
sub edi, ecx
mov eax, edi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
cmp ecx, dword [esp + 0x20]
jae 0x40255d
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], ecx
jmp 0x402402
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x4025b6
test byte [esp + 4], 0x40
je 0x4023e0
inc edi
cmp edi, 4
jne 0x4023e0
mov edi, dword [esp + 4]
and edi, 0x40
shr edi, 6
movzx ecx, byte [0x44a001]
mov edx, dword [esp + 0x10]
mov byte [edx], cl
inc edx
jmp 0x4023e4
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
test edi, edi
je 0x402453
movzx eax, byte [section..data]
xor al, 0x99
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov ebx, edi
cmp edi, ecx
jl 0x40245d
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x40249a
mov eax, edx
and eax, 3
je 0x40249a
mov esi, edx
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x40247a
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040cb50
mov edx, dword [esp + 0x14]
add esp, 0xc
sub ebx, esi
add edx, esi
inc edx
mov edi, dword [esp + 0x1c]
cmp ebx, 4
jl 0x4024db
mov eax, ebx
cmp ebx, 7
jl 0x4024ab
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edx
mov dword [esp + 0x14], edx
call fcn.0040cb50
mov edx, dword [esp + 0x14]
add esp, 0xc
add edx, esi
add edx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x1c]
test ebx, ebx
je 0x4024f1
push ebx
push 0x30
push edx
mov esi, edx
call fcn.0040cb50
mov edx, esi
add esp, 0xc
add edx, ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
lea ecx, [ebx + eax]
cmp ecx, edi
jle 0x40250a
mov ebx, edi
sub ebx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4027ba
mov esi, edi
cmp edi, ecx
jl 0x40251a
mov esi, ecx
mov ecx, ebx
and ecx, 3
je 0x40275a
mov dword [esp + 0x10], esi
mov edi, ebx
xor esi, esi
nop
nop
nop
mov ebx, dword [esp + 0x14]
mov eax, edx
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
mov edx, eax
inc esi
cmp ecx, esi
jne 0x402530
add edx, esi
mov eax, edx
mov ebx, edi
mov ecx, edi
sub ecx, esi
mov esi, dword [esp + 0x10]
jmp 0x40275e
xor ebx, ebx
mov esi, 0xffffffff
lea edx, [esp + 0xa4]
jmp 0x402589
mov ecx, edx
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + ebx]
inc edx
mov byte [ecx], al
inc ebx
dec esi
cmp ebx, dword [esp + 0x20]
jae 0x402641
test byte [esp + 4], 0x40
je 0x402570
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, 4
jne 0x402570
mov edi, dword [esp + 4]
and edi, 0x40
shr edi, 6
movzx eax, byte [0x44a001]
mov byte [edx], al
inc edx
jmp 0x402570
mov esi, dword [esp + 0x10]
mov dword [esp + 8], esi
cmp dword [esp + 0x1c], 0
je 0x4025dd
movzx ecx, byte [section..data]
xor cl, 0x99
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
mov edi, dword [esp + 0x1c]
cmp esi, edi
jbe 0x4025f4
lea edx, [ecx + edi]
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x40261c
mov esi, dword [esp + 8]
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 + 0x20]
cmp eax, edx
jb 0x402600
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0x10]
sub esi, eax
mov eax, esi
add eax, 0x3000000
sub edi, edx
add edi, ecx
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 8]
jmp 0x4027c9
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x38]
mov ecx, eax
sub ecx, ebx
jbe 0x4026de
test byte [esp + 4], 0x40
jne 0x402870
cmp eax, ebx
je 0x40348b
mov dword [esp + 0x10], eax
mov eax, edx
and eax, 3
je 0x40348b
mov ecx, 2
sub ecx, dword [esp + 0xc]
and ecx, 3
not ebx
mov eax, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
mov ecx, dword [esp + 8]
jb 0x40269b
mov ecx, eax
mov dword [esp + 8], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040cb50
add esp, 0xc
add esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x4026bc
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [eax + ecx]
add edx, 2
mov eax, dword [esp + 0x10]
sub eax, esi
add ebx, eax
jmp 0x40348d
mov eax, edx
jmp 0x402889
mov ecx, dword [esp + 0x1c]
mov esi, edx
lea eax, [esp + 0xa4]
sub edx, eax
mov eax, edx
add eax, 0x3000000
test ecx, ecx
je 0x40274e
mov ecx, eax
movzx eax, byte [section..data]
xor al, 0x99
mov byte [esi], al
mov eax, ecx
inc esi
mov edx, esi
jmp 0x4027c9
mov byte [esp + 0x30], 3
or bl, 0x30
mov byte [esp + 0x33], bl
add dword [esp + 0x24], 8
mov ecx, dword [esp + 8]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x20], ecx
xor edx, edx
mov dword [esp + 0x10], 0x3000001
mov dword [esp + 0xc], eax
jmp 0x402904
mov dword [esp + 0x1c], 0
mov edx, esi
jmp 0x4027c9
mov eax, edx
mov ecx, ebx
mov edx, dword [esp + 0xc]
sub edx, esi
cmp edx, 0xfffffffc
mov edx, eax
ja 0x4027ba
mov eax, edx
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
mov edx, eax
add edx, 4
add ecx, 0xfffffffc
jne 0x40276b
mov eax, dword [esp + 0xc]
add eax, ebx
sub dword [esp + 0x1c], eax
mov eax, 0x3000001
mov dword [esp + 0x10], eax
mov esi, dword [esp + 4]
test esi, 0x100
je 0x4027f2
mov eax, esi
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp esi, 0x1000000
jae 0x4027f8
mov esi, dword [esp + 0x1c]
jmp 0x402854
mov dword [esp + 8], edx
mov ecx, esi
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x40282c
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
jmp 0x402848
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x30], cl
test esi, 0x1000
jne 0x402848
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov byte [esp + 0x30], al
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0xc], eax
jmp 0x402904
mov edi, edx
jmp 0x4028db
mov eax, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
test ebx, ebx
jne 0x4034ce
jmp 0x4026e2
mov ebx, eax
mov eax, esi
mov esi, ebx
mov dword [esp + 0x1c], eax
nop
mov edi, eax
mov ecx, esi
cmp esi, 4
jb 0x4028ba
mov eax, dword [edi]
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
lea eax, [edi + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, dword [esp + 0xc]
je 0x402890
jmp 0x4028be
test ecx, ecx
je 0x4028db
mov eax, dword [esp + 0x1c]
add eax, ebx
xor edx, edx
cmp byte [edi + edx], 0
je 0x4028d5
inc edx
cmp ecx, edx
jne 0x4028c6
mov edi, eax
jmp 0x4028d7
add edi, edx
mov edx, dword [esp + 0xc]
add dword [esp + 0x24], 4
sub edi, edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x20]
cmp edx, ecx
jg 0x402912
mov edx, ecx
movsx eax, byte [esp + 0x3c]
mov edi, edx
movsx esi, byte [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edi
add edx, edi
add edx, eax
add edx, esi
mov esi, dword [esp + 0x44]
cmp esi, edx
jg 0x402936
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 8], ecx
mov ecx, dword [esp + 4]
test cl, 1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
jne 0x40295c
test cl, 0x10
jne 0x402960
mov dword [esp + 4], 0
mov ecx, edx
jmp 0x402970
mov ecx, dword [esp + 8]
cmp edx, ecx
jg 0x40296a
mov edx, ecx
mov dword [esp + 8], edx
xor ecx, ecx
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
je 0x402e76
test byte [esp + 4], 1
jne 0x402acc
mov ecx, dword [esp + 0x44]
test ecx, ecx
jg 0x4029b6
jmp 0x402acc
mov esi, eax
mov edi, eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
sub ecx, edx
test ecx, ecx
jle 0x402ac3
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x4029cf
mov eax, edi
sub eax, esi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x4029cf
mov edx, eax
test edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], edi
je 0x402a40
mov eax, esi
and eax, 3
je 0x402a40
mov ecx, esi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x4029f6
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
sub ebx, esi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp ebx, 4
jge 0x402a49
test ebx, ebx
je 0x402a88
push ebx
push 0x20
mov esi, ecx
push ecx
call fcn.0040cb50
mov edx, dword [esp + 0x34]
add esp, 0xc
add esi, ebx
cmp dword [ebp + 8], 0
jne 0x402a94
jmp 0x4029a8
mov ecx, esi
mov ebx, edx
cmp ebx, 4
jl 0x402a1a
mov eax, ebx
cmp ebx, 7
jl 0x402a55
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
test ebx, ebx
jne 0x402a1e
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x4029a8
mov eax, esi
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4029a8
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4029a0
jmp 0x40353e
mov dword [esp + 0x44], ecx
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x14], ecx
jmp 0x402ae9
mov esi, eax
mov edi, eax
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402c2d
movsx edx, al
mov eax, edi
not eax
mov ebx, edx
cmp dword [ebp + 8], 0
je 0x402b18
mov ebx, esi
not ebx
and ebx, edi
mov ecx, eax
and ecx, esi
sub ebx, ecx
add ebx, 0x200
cmp ebx, edx
jl 0x402b18
mov ebx, edx
mov dword [esp + 0x28], eax
mov eax, esi
mov esi, ebx
xor esi, edx
mov ecx, ebx
not ecx
and ecx, edx
add ecx, ecx
sub ecx, esi
mov byte [esp + 0x3c], cl
test ebx, ebx
je 0x402b80
mov edx, ebx
and edx, 3
je 0x402b90
mov dword [esp + 0x18], edi
xor esi, esi
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx]
mov byte [edi + esi], al
inc esi
cmp edx, esi
jne 0x402b50
add edi, esi
mov eax, edi
mov edx, ebx
sub edx, esi
mov edi, dword [esp + 0x18]
jmp 0x402b92
mov esi, eax
jmp 0x402beb
mov edx, ebx
cmp ebx, 4
mov esi, eax
jb 0x402beb
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add edx, 0xfffffffc
jne 0x402ba0
cmp dword [ebp + 8], 0
je 0x402ae4
mov eax, esi
not eax
and eax, edi
mov ecx, dword [esp + 0x28]
and ecx, esi
sub ecx, eax
lea eax, [ecx + 1]
cmp eax, 0x200
jl 0x402ae4
add dword [esp + 0x48], ecx
push ecx
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ae0
jmp 0x40353e
mov dword [esp + 0x18], edi
mov edi, esi
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x28], ecx
xor esi, esi
test byte [esp + 4], 0x40
je 0x402c5f
and eax, 0xffffff
add eax, dword [esp + 8]
mov esi, dword [esp + 0x28]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
cmp dword [esp + 8], 0
jle 0x40347a
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x402c90
mov ebx, dword [esp + 8]
sub ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x402e6b
mov eax, dword [esp + 0x18]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ebx
cmp ebx, eax
jl 0x402d10
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], 0
je 0x402d16
test byte [esp + 4], 0x40
jne 0x402d25
cmp dword [esp + 0x10], 0
je 0x402d30
mov eax, edi
and eax, 3
je 0x402d30
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 0x10]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402cdc
mov ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040cb50
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 0xc]
cmp ebx, 4
jge 0x402d39
jmp 0x402d74
cmp dword [ebp + 8], 0
jne 0x402cb3
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
test byte [esp + 4], 0x40
je 0x402cba
mov ebx, dword [esp + 0x10]
jmp 0x402d74
mov ebx, dword [esp + 0x10]
cmp ebx, 4
jl 0x402d74
mov eax, ebx
cmp ebx, 7
jl 0x402d45
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x2c], eax
add eax, 4
push eax
push 0x30
push edi
call fcn.0040cb50
add esp, 0xc
mov eax, dword [esp + 0x2c]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x402dc0
test bl, 1
jne 0x402d90
mov eax, ebx
cmp ebx, 1
jne 0x402e1f
jmp 0x402dc0
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402dab
cmp esi, dword [esp + 0x28]
je 0x402da2
inc esi
jmp 0x402dab
xor esi, esi
movzx eax, byte [0x44a001]
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402e1f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402c80
mov eax, edi
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c80
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40353e
mov edi, eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0xc]
jmp 0x402c80
mov edx, dword [esp + 0xc]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402dc0
mov cl, 0x30
test byte [esp + 4], 0x40
je 0x402e2f
cmp esi, dword [esp + 0x28]
je 0x402e40
inc esi
mov dl, 0x30
jmp 0x402e49
xor esi, esi
movzx edx, byte [0x44a001]
mov byte [edi], dl
test byte [esp + 4], 0x40
je 0x402e10
cmp esi, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
je 0x402e60
inc esi
jmp 0x402e14
xor esi, esi
movzx ecx, byte [0x44a001]
jmp 0x402e14
movzx eax, byte [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x14], ecx
jmp 0x402e8d
mov esi, eax
mov edi, eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402f9d
movsx edx, al
mov ecx, edi
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x402ea8
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402eb0
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402f5b
mov eax, ecx
and eax, 3
je 0x402f90
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edi
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 ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402ee0
add esi, edx
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x18]
cmp ecx, 4
jb 0x402f5b
nop
nop
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 0x402f10
cmp dword [ebp + 8], 0
je 0x402e84
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x402e84
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402e80
jmp 0x40353e
mov eax, ecx
cmp ecx, 4
jae 0x402f10
jmp 0x402f5b
mov dword [esp + 0x18], edi
mov edi, esi
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x4030fa
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov esi, edi
jne 0x40322c
lea eax, [esp + 0x31]
mov dword [esp + 0x14], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x30]
test cl, cl
je 0x403346
movsx edx, cl
mov eax, dword [esp + 0x18]
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x402ff1
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x402ff9
mov eax, edx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x40309b
mov ecx, eax
and ecx, 3
je 0x4030e0
mov dword [esp + 0x28], eax
xor edx, edx
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 0x403020
add esi, edx
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, edx
cmp eax, 4
jb 0x40309b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [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 0x403050
cmp dword [ebp + 8], 0
je 0x402fd0
mov eax, esi
sub eax, dword [esp + 0x18]
cmp eax, 0x1ff
jl 0x402fd0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x20]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40353e
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x402fd0
mov ecx, eax
cmp eax, 4
jae 0x403050
jmp 0x40309b
sub ebx, dword [esp + 0x28]
je 0x402faf
mov eax, dword [esp + 0x18]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x40310d
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x403115
mov ecx, ebx
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp ecx, 4
jl 0x40313b
mov ecx, dword [edx]
mov dword [edi], ecx
add edi, 4
add edx, 4
mov ecx, eax
xor ecx, 4
and eax, 0xfffffffb
add eax, eax
sub eax, ecx
cmp eax, 3
jg 0x403120
test eax, eax
je 0x4031c1
mov ecx, eax
and ecx, 7
je 0x403210
mov dword [esp + 0xc], ebx
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403160
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov ebx, dword [esp + 0xc]
cmp eax, 8
jb 0x4031c1
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]
mov byte [edi + 7], al
add edi, 8
add edx, 8
add ecx, 0xfffffff8
jne 0x403180
cmp dword [ebp + 8], 0
je 0x4030f0
mov eax, edi
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4030f0
mov esi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40353e
mov edi, eax
mov dword [esp + 0x18], eax
mov edx, esi
jmp 0x4030f0
mov ecx, eax
cmp eax, 8
jae 0x403180
jmp 0x4031c1
mov ecx, dword [esp + 0x1c]
sub ecx, edi
je 0x402fbd
mov eax, dword [esp + 0x18]
sub eax, esi
add eax, 0x200
mov edi, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x403243
mov edi, eax
cmp dword [ebp + 8], 0
jne 0x40324d
mov edi, dword [esp + 0x1c]
test edi, edi
mov dword [esp + 0x28], edi
je 0x4032c0
mov eax, esi
and eax, 3
je 0x4032c0
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edi - 1]
cmp ebx, esi
jb 0x40326e
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x28]
cmp esi, 4
jge 0x4032c9
test esi, esi
je 0x403304
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x28]
cmp dword [ebp + 8], 0
jne 0x403310
jmp 0x403220
mov ecx, esi
mov esi, edi
cmp esi, 4
jl 0x40328e
mov eax, esi
cmp esi, 7
jl 0x4032d5
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.0040cb50
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x28]
test esi, esi
jne 0x403292
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x403220
mov eax, esi
sub eax, dword [esp + 0x18]
cmp eax, 0x1ff
jl 0x403220
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x20]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40353e
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x403220
test byte [esp + 4], 1
je 0x403357
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x403357
jne 0x403378
mov edi, dword [esp + 0x50]
inc edi
jmp 0x40103f
mov ecx, dword [esp + 0x44]
sub ecx, edi
je 0x403357
mov eax, dword [esp + 0x18]
sub eax, esi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x40338b
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x403393
mov edx, ecx
test edx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x44], ecx
je 0x4033f0
mov eax, esi
and eax, 3
je 0x4033f0
mov ecx, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4033b8
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
cmp esi, 4
jge 0x4033f9
test esi, esi
je 0x403430
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
add edi, esi
mov esi, edi
jmp 0x403432
mov ecx, esi
mov esi, edx
cmp esi, 4
jl 0x4033d4
mov eax, esi
cmp esi, 7
jl 0x403405
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040cb50
add esp, 0xc
sub esi, ebx
add esi, 0xfffffffc
lea ecx, [ebx + edi]
add ecx, 4
test esi, esi
jne 0x4033d8
mov esi, ecx
mov edi, dword [esp + 4]
cmp dword [ebp + 8], 0
je 0x403370
mov eax, esi
sub eax, dword [esp + 0x18]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403370
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x20]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40353e
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x403370
lea eax, [esp + 0x3d]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xc]
jmp 0x402fa3
mov ebx, ecx
cmp ebx, 4
jb 0x4034b4
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push edx
mov dword [esp + 0x18], ebx
mov ebx, edx
call fcn.0040cb50
mov edx, ebx
mov ebx, dword [esp + 0x18]
add esp, 0xc
add edx, esi
and ebx, 3
mov ecx, dword [esp + 0x1c]
test ebx, ebx
jne 0x4034ce
jmp 0x4026e2
mov byte [edx], 0x30
dec ebx
inc edx
test ebx, ebx
je 0x4026e2
test byte [esp + 4], 0x40
je 0x4034c1
inc edi
cmp edi, 4
jne 0x4034c1
movzx eax, byte [0x44a001]
mov byte [edx], al
xor edi, edi
inc edx
test ebx, ebx
jne 0x4034ce
jmp 0x4026e2
mov ecx, esi
mov edi, esi
jmp 0x4028db
fstp st(1)
fdivp st(1)
or dword [esp + 4], 0x4000000
jmp 0x4022ff
cmp dword [ebp + 8], 0
je 0x40354a
mov eax, esi
sub eax, dword [esp + 0x18]
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x40354d
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x20]
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x40354d
xor esi, esi
mov dword [esp + 0x18], 0
jmp 0x40354d
mov byte [esi], 0
mov eax, dword [esp + 0x48]
add eax, esi
sub eax, dword [esp + 0x18]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret