Function at 0x4027c0
Capabilities:
Encode data using base64
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3b8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0
call fcn.00401e90
test eax, eax
je 0x402f27
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push 0
push 0
push 0
push 0
call fcn.00408480
mov eax, dword [ebp + 0x334]
test eax, eax
jl 0x40282e
shl eax, 4
push 0
push 0x3f800000
mov cx, word [eax + 0x41323c]
mov dx, word [eax + 0x413238]
mov ax, word [ebp + 0x334]
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edx
push eax
push 1
call fcn.00408480
mov eax, dword [ebp + 0x33c]
cmp eax, 3
jne 0x4029f7
mov cx, word [0x4134bc]
mov dx, word [0x4134b8]
push 1
push 0x3f800000
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edx
xor ebx, ebx
push 5
push ebx
call fcn.00408480
mov ax, word [0x4134bc]
mov cx, word [0x4134b8]
push ebx
push 0x3f800000
push eax
push ecx
mov ecx, dword [ebp + 0x1bb0]
push 3
push ebx
call fcn.00408480
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 9
mov dword [esp + 0x5c], 6
lea edi, [esp + 0x38]
mov esi, 0x413378
mov eax, dword [ebp + 0x338]
mov dx, word [esi + 4]
cmp eax, ebx
push 0
push 0x3f800000
jne 0x402905
add dx, word [0x4134bc]
mov ax, word [esi]
add ax, word [0x4134b8]
push edx
jmp 0x40291d
add dx, word [0x4134bc]
mov ax, word [esi]
add ax, word [0x4134b8]
sub edx, 3
push edx
sub eax, 3
mov cx, word [edi]
push eax
push ecx
mov ecx, dword [ebp + 0x1bb0]
push 4
call fcn.00408480
add esi, 0x10
inc ebx
add edi, 4
cmp esi, 0x413408
jl 0x4028dc
mov edx, dword [0x4134bc]
mov eax, dword [0x4134b8]
mov ecx, dword [ebp + 0x1bb0]
push 0
add edx, 0x3d
push 0x3f800000
add eax, 0x9d
push edx
push eax
push 6
push 4
call fcn.00408480
mov eax, dword [ebp + 0x3d0]
mov ecx, dword [0x4134b8]
shl eax, 4
sub esp, 0x10
mov edx, dword [eax + 0x413398]
lea esi, [edx + ecx - 5]
mov edx, dword [eax + 0x4133a0]
lea edi, [edx + ecx + 1]
mov edx, dword [eax + 0x41339c]
mov ecx, dword [0x4134bc]
mov eax, dword [eax + 0x4133a4]
lea ebx, [edx + ecx - 5]
lea eax, [eax + ecx + 1]
mov ecx, esp
push 0xa96fa
mov dword [esp + 0x48], eax
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x1bb0]
call fcn.00408840
sub esp, 0x10
mov eax, dword [esp + 0x44]
mov edx, esp
dec esi
inc edi
mov ecx, dword [ebp + 0x1bb0]
mov dword [edx], esi
dec ebx
inc eax
push 0xa96fa
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
call fcn.00408840
jmp 0x402f20
test eax, eax
jne 0x402a3a
mov ecx, dword [ebp + 0x1bb0]
push 1
push 0x3f800000
push 0x6e
push 0x82
push 2
push 0
call fcn.00408480
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push 0x6e
push 0x82
push 3
push 0
call fcn.00408480
jmp 0x402f20
cmp eax, 4
jne 0x402aca
mov ecx, dword [ebp + 0x1bb0]
push 1
push 0x3f800000
push 0x6e
push 0x82
push 2
push 0
call fcn.00408480
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push 0x6e
push 0x82
push 3
push 0
call fcn.00408480
mov eax, dword [ebp + 0x3d0]
cmp eax, 5
jg 0x402a8c
test eax, eax
jge 0x402a96
mov dword [ebp + 0x3d0], 0
mov eax, dword [0x4134bc]
mov ecx, dword [0x4134b8]
mov dx, word [ebp + 0x3d0]
push 0
add eax, 0x64
push 0x3f800000
add ecx, 0x28
push eax
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edx
push 5
call fcn.00408480
jmp 0x402f20
cmp eax, 8
jne 0x402d87
lea eax, [esp + 0x14]
lea ecx, [esp + 0x240]
push eax
push ecx
mov ecx, ebp
call fcn.00403850
mov ecx, dword [esp + 0x14]
test ecx, ecx
jge 0x402afe
mov dword [ebp + 0x33c], 0xffffffff
jmp 0x402f20
mov eax, dword [ebp + 0x60]
mov ebx, 9
mov edx, eax
shl edx, 5
sub edx, eax
add edx, ecx
mov eax, dword [ebp + edx*4 + 0xc8]
cmp eax, 0xa
jl 0x402b22
mov ebx, 8
jmp 0x402b2c
cmp eax, 5
jl 0x402b2c
mov ebx, 7
mov edx, dword [ebp + 0x1ba8]
inc edx
mov eax, edx
mov dword [ebp + 0x1ba8], edx
cmp eax, 0x15
jge 0x402bf9
mov ax, dx
mov ecx, 0x262
imul ax, ax, 0x19
push 0
push 0x3f800000
sub ecx, eax
push 0x82
push ecx
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0xa
call fcn.00408480
mov dx, word [ebp + 0x1ba8]
mov ecx, dword [ebp + 0x1bb0]
imul dx, dx, 0x19
mov eax, 0x262
push 0
push 0x3f800000
sub eax, edx
push 0x96
push eax
push 0
push 0xa
call fcn.00408480
mov ax, 0x22
push 0
sub ax, word [ebp + 0x1ba8]
push 0x3f800000
push 0xa5
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
push ecx
mov ecx, dword [ebp + 0x1bb0]
push 1
push 0xa
call fcn.00408480
mov dx, word [ebp + 0x1ba8]
mov ecx, dword [ebp + 0x1bb0]
imul dx, dx, 0x19
mov eax, 0x334
push 0
push 0x3f800000
sub eax, edx
push 0x7d
push eax
push 7
push 2
call fcn.00408480
jmp 0x402f20
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push 0x82
push 0x55
cmp eax, 0x1f
push 0
push 0xa
jge 0x402c87
call fcn.00408480
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push 0x96
push 0x55
push 0
push 0xa
call fcn.00408480
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push 0xa5
push 0x145
push 1
push 0xa
call fcn.00408480
mov ax, word [ebp + 0x1ba8]
push 0
add ax, 0xc
push 0x3f800000
lea ecx, [eax + eax*4]
push ecx
mov ecx, dword [ebp + 0x1bb0]
push 0x127
push 1
push 2
call fcn.00408480
jmp 0x402f20
call fcn.00408480
mov eax, dword [ebp + 0x1ba8]
cmp eax, 0x43
jge 0x402ca3
add eax, 0xffffffe1
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x402ca8
mov edi, 0x12
xor esi, esi
test edi, edi
jle 0x402cd5
mov edx, esi
mov ecx, dword [ebp + 0x1bb0]
shl edx, 4
push 0
add edx, 0x8c
push 0x3f800000
push edx
push 0x56
push esi
push ebx
call fcn.00408480
inc esi
cmp esi, edi
jl 0x402cae
shl edi, 4
mov ecx, dword [ebp + 0x1bb0]
push 0
lea eax, [edi + 0x96]
push 0x3f800000
push eax
push 0x55
push 0
push 0xa
call fcn.00408480
mov ecx, dword [ebp + 0x1bb0]
lea esi, [edi + 0xa5]
push 0
push 0x3f800000
push esi
push 0x145
push 1
push 0xa
call fcn.00408480
cmp dword [ebp + 0x1ba8], 0x43
jge 0x402d43
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push esi
push 0x145
push 8
push 2
call fcn.00408480
jmp 0x402f20
mov eax, dword [ebp + 0x338]
push 0
push 0x3f800000
cmp eax, 0x13
push 0xa5
push 0x226
jne 0x402d73
mov ecx, dword [ebp + 0x1bb0]
push 3
push 0xa
call fcn.00408480
jmp 0x402f20
mov ecx, dword [ebp + 0x1bb0]
push 2
push 0xa
call fcn.00408480
jmp 0x402f20
cmp eax, 5
je 0x4029fb
cmp eax, 6
jne 0x402e66
mov cx, word [0x4134bc]
mov dx, word [0x4134b8]
push 0
push 0x3f800000
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edx
push 0
push eax
call fcn.00408480
mov edi, 9
mov esi, 0x413408
mov eax, dword [ebp + 0x338]
push 0
cmp eax, edi
mov ax, word [esi + 4]
push 0x3f800000
jne 0x402df1
add ax, word [0x4134bc]
mov cx, word [esi]
add cx, word [0x4134b8]
push eax
jmp 0x402e09
add ax, word [0x4134bc]
mov cx, word [esi]
add cx, word [0x4134b8]
sub eax, 3
push eax
sub ecx, 3
lea edx, [edi - 8]
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edx
push 6
call fcn.00408480
add esi, 0x10
inc edi
cmp esi, str._9T_Up_q
jl 0x402dc8
mov eax, dword [ebp + 0x60]
push 0
shl eax, 4
push 0x3f800000
mov cx, word [eax + 0x41345c]
mov dx, word [eax + str._9T_Up_q]
add cx, word [0x4134bc]
add dx, word [0x4134b8]
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edx
push 6
push 6
call fcn.00408480
jmp 0x402f20
test eax, eax
jle 0x402f20
mov ax, word [0x4134bc]
mov cx, word [0x4134b8]
push 1
push 0x3f800000
push eax
push ecx
mov ecx, dword [ebp + 0x1bb0]
push 4
push 0
call fcn.00408480
mov dx, word [0x4134bc]
mov ax, word [0x4134b8]
mov ecx, dword [ebp + 0x1bb0]
push 0
push 0x3f800000
push edx
push eax
push 3
push 0
call fcn.00408480
xor edi, edi
mov esi, 0x4132f8
mov eax, dword [ebp + 0x338]
push 0
cmp eax, edi
push 0x3f800000
jne 0x402ee9
mov cx, word [esi + 4]
mov dx, word [esi]
add cx, word [0x4134bc]
add dx, word [0x4134b8]
push ecx
push edx
jmp 0x402f06
mov ax, word [esi + 4]
mov cx, word [esi]
add ax, word [0x4134bc]
add cx, word [0x4134b8]
sub eax, 5
sub ecx, 5
push eax
push ecx
mov ecx, dword [ebp + 0x1bb0]
push edi
push 3
call fcn.00408480
add esi, 0x10
inc edi
cmp esi, 0x413378
jl 0x402ebf
mov ecx, ebp
call fcn.00401f00
mov eax, dword [ebp + 0x33c]
test eax, eax
jl 0x4037ea
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.004012e0
test eax, eax
je 0x4037ea
mov ecx, dword [0x4130dc]
mov eax, dword [str.Developer.txt]
mov edx, dword [0x4130e0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [str.NewMark.txt]
mov dword [esp + 0x38], eax
mov ax, word [0x4130e4]
mov dword [esp + 0x48], ecx
mov ecx, dword [str.LoadMark.txt]
mov dword [esp + 0x40], edx
mov edx, dword [0x4130d0]
mov word [esp + 0x44], ax
mov eax, dword [0x4130d4]
mov dword [esp + 0x58], ecx
mov cl, byte [0x4130c8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x4130c0]
mov dword [esp + 0x50], eax
mov eax, dword [0x4130c4]
mov byte [esp + 0x64], cl
mov ecx, dword [0x4130b0]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov eax, dword [str.ProcMark.txt]
xor edx, edx
mov dword [esp + 0x6c], ecx
xor ecx, ecx
mov word [esp + 0x65], dx
mov dword [esp + 0x68], eax
mov al, byte [0x4130b8]
mov word [esp + 0x75], cx
mov byte [esp + 0x67], dl
mov edx, dword [0x4130b4]
mov byte [esp + 0x74], al
mov eax, dword [0x4130a4]
mov byte [esp + 0x77], cl
mov ecx, dword [0x4130a8]
mov dword [esp + 0x70], edx
mov edx, dword [str.WinLose.txt]
mov dword [esp + 0x7c], eax
mov eax, dword [0x413098]
mov dword [esp + 0x80], ecx
mov cl, byte [0x41309c]
mov dword [esp + 0x78], edx
mov edx, dword [str.process_]
mov dword [esp + 0x140], eax
mov byte [esp + 0x144], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x145]
mov dword [esp + 0x13c], edx
mov edx, dword [ebp + 0x33c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
shl edx, 4
stosb byte es:[edi], al
xor ebx, ebx
lea edi, [esp + edx + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x46], bx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x84], ebx
lea edx, [esp + 0x13c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x344]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x140]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
je 0x4030fb
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ebx
push edi
call esi
push 0
push 0
push 0
push edi
mov ebx, eax
call esi
lea edx, [ebx + 1]
push edx
call fcn.00408ed9
add esp, 4
mov esi, eax
lea eax, [esp + 0xb8]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov byte [esi + ebx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x403102
mov esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x10]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp + 0x33c]
cmp eax, 4
jne 0x403223
lea edx, [esp + 0x14]
lea eax, [esp + 0x240]
push edx
push eax
mov ecx, ebp
call fcn.00403850
mov eax, dword [0x4134b8]
mov dword [esp + 0x38], 0x1e
mov dword [esp + 0x3c], 0x14
mov dword [esp + 0x40], 0x13
lea ecx, [eax + 0xa0]
add eax, 0x168
mov dword [esp + 0x20], eax
mov eax, dword [0x4134bc]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x3d8]
lea edx, [eax + 0x50]
add eax, 0x154
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x240]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x3d0]
lea edx, [ecx + ecx*4]
shl edx, 1
shl eax, 3
push edx
mov dword [esp + 0x4c], 0xe
mov dword [esp + 0x50], 0xd
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x58], 9
mov dword [esp + 0x5c], 7
mov dword [esp + 0x60], 6
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], 1
mov edx, dword [esp + eax + 0x40]
push ecx
mov ecx, dword [esp + eax + 0x48]
lea eax, [esp + 0xc8]
push ecx
push edx
push esi
push eax
call fcn.00408f37
add esp, 0x1c
lea ecx, [esp + 0x18]
lea edi, [esp + 0xbc]
xor eax, eax
push 0x10
push ecx
or ecx, 0xffffffff
lea edx, [esp + 0xc4]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
push ecx
push edx
push eax
jmp 0x4037d8
cmp eax, 8
jne 0x40358f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x240]
push ecx
push edx
mov ecx, ebp
call fcn.00403850
mov eax, dword [esp + 0x14]
cmp eax, ebx
jl 0x4037de
mov ecx, dword [ebp + 0x1ba8]
mov esi, dword [sym.imp.USER32.dll_DrawTextA]
cmp ecx, 0x2d
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x20], 0x1f4
jle 0x4032c5
mov eax, dword [ebp + 0x60]
lea edx, [ebp + 0x15a8]
add eax, 5
mov dword [esp + 0x1c], 0xe2
mov dword [esp + 0x24], 0xf2
lea eax, [eax + eax*4]
lea ecx, [ebp + eax*4]
lea eax, [esp + 0x38]
push ecx
push edx
push eax
call fcn.00408f37
add esp, 0xc
lea ecx, [esp + 0x18]
lea edi, [esp + 0x38]
xor eax, eax
push 0x10
push ecx
or ecx, 0xffffffff
lea edx, [esp + 0x40]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
push ecx
push edx
push eax
call esi
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0x1ba8], 0x31
jle 0x403329
mov ecx, dword [ebp + 0x3d0]
lea eax, [ebp + 0x1628]
shl ecx, 7
mov dword [esp + 0x1c], 0x102
mov dword [esp + 0x24], 0x112
lea edx, [ecx + ebp + 0x12a8]
lea ecx, [esp + 0x38]
push edx
push eax
push ecx
call fcn.00408f37
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x18]
push 0x10
dec ecx
push edx
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
push ecx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1ba8]
mov ebx, 0x122
cmp ecx, 0x33
jle 0x403380
push eax
lea edx, [ebp + 0x16a8]
lea eax, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x28], 0x112
mov dword [esp + 0x30], ebx
call fcn.00408f37
add esp, 0xc
lea ecx, [esp + 0x18]
lea edi, [esp + 0x38]
xor eax, eax
push 0x10
push ecx
or ecx, 0xffffffff
lea edx, [esp + 0x40]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
push ecx
push edx
push eax
call esi
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0x1ba8], 0x35
jle 0x403417
mov ecx, dword [ebp + 0x60]
mov dword [esp + 0x1c], ebx
mov edx, ecx
mov dword [esp + 0x24], 0x132
shl edx, 5
sub edx, ecx
add edx, eax
mov ecx, dword [ebp + edx*4 + 0xc8]
cmp ecx, 0xa
jl 0x4033c2
push eax
lea eax, [ebp + 0x1728]
push 0xa
lea ecx, [esp + 0x40]
push eax
push ecx
jmp 0x4033e9
cmp ecx, 5
push eax
jl 0x4033d8
lea edx, [ebp + 0x1728]
push 5
lea eax, [esp + 0x40]
push edx
push eax
jmp 0x4033e9
lea ecx, [ebp + 0x17a8]
push 0x414358
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.00408f37
add esp, 0x10
lea eax, [esp + 0x18]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
push 0x10
push eax
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x44]
push ecx
push edx
call esi
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0x1ba8], 0x37
jle 0x403494
mov ecx, dword [ebp + 0x60]
mov dword [esp + 0x1c], 0x132
mov edx, ecx
mov dword [esp + 0x24], 0x142
shl edx, 5
sub edx, ecx
add edx, eax
mov ecx, dword [ebp + edx*4 + 0xc8]
cmp ecx, 0xa
jl 0x403451
push eax
lea eax, [ebp + 0x1928]
jmp 0x40345d
cmp ecx, 5
jl 0x403494
push eax
lea eax, [ebp + 0x19a8]
lea ecx, [ebp + 0x17a8]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.00408f37
add esp, 0x10
lea eax, [esp + 0x18]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
push 0x10
push eax
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x44]
push ecx
push edx
call esi
mov eax, dword [ebp + 0x1ba8]
mov ebx, 0x162
cmp eax, 0x3b
jle 0x4034d2
lea eax, [esp + 0x18]
lea edx, [ebp + 0x1828]
push 0x10
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], 0x152
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ebx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
call esi
cmp dword [ebp + 0x1ba8], 0x3d
jle 0x4037de
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0x172
call fcn.0040904c
lea edx, [esp + 0xbc]
push edx
call fcn.00408fb3
mov bl, byte [esp + 0xc0]
mov dl, 0x30
add esp, 4
xor ecx, ecx
xor eax, eax
cmp bl, dl
mov byte [esp + 0xbe], 0
mov byte [esp + 0xc1], 0
mov byte [esp + 0xc4], 0
jne 0x40352e
mov ecx, 1
cmp byte [esp + 0xbf], dl
jne 0x40353c
mov eax, 1
lea eax, [esp + eax + 0xbf]
lea ecx, [esp + ecx + 0xbc]
push eax
lea edx, [esp + 0xc6]
push ecx
lea eax, [ebp + 0x18a8]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00408f37
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x18]
push 0x10
dec ecx
push edx
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
push ecx
call esi
jmp 0x4037de
cmp eax, 3
jne 0x40365b
mov eax, dword [0x4134b8]
mov edi, esi
push 0x10
lea edx, [eax + 0x28]
add eax, 0x168
mov dword [esp + 0x24], eax
mov eax, dword [0x4134bc]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
lea ecx, [eax + 0x12]
add eax, 0x154
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
push edx
not ecx
dec ecx
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_DrawTextA]
push eax
call esi
mov ecx, dword [ebp + 0x3d4]
lea edx, [esp + 0xbc]
inc ecx
push ecx
push 0x413090
push edx
call fcn.00408f37
mov eax, dword [0x4134b8]
add esp, 0xc
lea edi, [esp + 0xbc]
lea ecx, [eax + 0xa5]
add eax, 0x168
mov dword [esp + 0x30], eax
mov eax, dword [0x4134bc]
push 0x10
mov dword [esp + 0x2c], ecx
lea edx, [eax + 0x3f]
add eax, 0x154
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], edx
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xc8]
push ecx
push edx
call esi
jmp 0x4037de
cmp eax, 5
jne 0x4036af
mov eax, dword [0x4134b8]
push 0x10
lea ecx, [eax + 0x78]
add eax, 0x168
mov dword [esp + 0x34], eax
mov eax, dword [0x4134bc]
mov dword [esp + 0x2c], ecx
or ecx, 0xffffffff
lea edx, [eax + 0x50]
add eax, 0x154
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
lea eax, [esp + 0x2c]
lea edx, [ebp + 0x728]
push eax
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
jmp 0x4037d8
cmp eax, 6
jne 0x40373b
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x4037de
mov esi, 0x413460
lea ebx, [ebp + 0x64]
mov edx, dword [esi - 8]
mov eax, dword [0x4134b8]
push 0
mov edi, ebx
lea ecx, [edx + eax + 8]
mov edx, dword [esi - 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi]
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [0x4134bc]
lea ecx, [edx + eax + 5]
mov edx, dword [esi + 4]
add edx, eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], edx
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x5c]
inc eax
add ebx, 0x14
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4036cf
jmp 0x4037de
mov edx, 0x168
mov ecx, 0x154
mov ebx, 0x28
mov edi, 0x14
shl eax, 4
mov dword [esp + 0x38], 0x50
mov dword [esp + 0x3c], 0x32
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [esp + eax + 0x38]
mov ecx, dword [0x4134b8]
add edx, ecx
push 0x10
mov dword [esp + 0x2c], edx
mov edx, dword [esp + eax + 0x44]
add edx, ecx
mov ecx, dword [0x4134bc]
mov dword [esp + 0x34], edx
mov edx, dword [esp + eax + 0x40]
mov eax, dword [esp + eax + 0x48]
add edx, ecx
add eax, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], eax
push ecx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], edx
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00401300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3b8
ret