Function at 0x47dee6
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push edi
mov dword [ebp - 0x150], ecx
cmp dword [ebp + 8], 0
jne 0x47df03
xor eax, eax
jmp 0x47e227
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x120089
mov eax, dword [ebp + 8]
push eax
call dword [0x54299c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47df50
jmp 0x47e1e8
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x47df6e
cmp dword [ebp - 0x3c], 0x18ae0
jae 0x47df73
jmp 0x47e1e8
push 0
push 0
push 0x18ae0
mov edx, dword [ebp - 0x10]
push edx
call dword [0x5429a4]
cmp eax, 0xffffffff
jne 0x47df90
jmp 0x47e1e8
mov eax, dword [ebp - 0x3c]
sub eax, 0x18ae0
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x47dfbb
jmp 0x47e1e8
mov edx, dword [ebp - 0x3c]
sub edx, 0x18ae0
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov byte [ebp - 0x28], 0x42
mov byte [ebp - 0x27], 0x4d
mov byte [ebp - 0x26], 0x57
mov byte [ebp - 0x25], 0x21
mov byte [ebp - 0x24], 0x21
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x78
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 2
mov dword [ebp - 0x2c], 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x3c]
sub edx, 0x18ae1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x542984]
test eax, eax
jne 0x47e029
jmp 0x47e1e8
push 0x5c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntdll.dll_strrchr]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x47e046
jmp 0x47e1e8
mov eax, dword [ebp - 0x34]
add eax, 1
push eax
call sub.ntdll.dll_strlen
add esp, 4
add eax, 0x1e
mov dword [ebp - 0x20], eax
push 5
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x20]
push eax
call fcn.0042c6bf
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47e085
jmp 0x47e1e8
mov ecx, dword [ebp - 0xc]
add ecx, 5
mov dword [ebp - 0xc], ecx
push 5
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042c6bf
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47e0ba
jmp 0x47e1e8
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
push 3
push 0x53788c
mov ecx, dword [ebp - 0x14]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov byte [eax - 1], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0x144], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.0041e620
add esp, 0xc
push 0x5c
push 0
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x47e147
jmp 0x47e1e8
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0xc]
push eax
call sub.ntdll.dll_strlen
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0041e620
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 2
push 0x120116
lea eax, [ebp - 0x144]
push eax
call dword [0x54299c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47e19a
jmp 0x47e1e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ntdll.dll_atol]
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [0x542994]
test eax, eax
je 0x47e1d5
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x30]
je 0x47e1d7
jmp 0x47e1e8
mov dword [ebp - 4], 1
xor ecx, ecx
test ecx, ecx
jne 0x47df26
cmp dword [ebp - 8], 0
je 0x47e20d
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x14c]
push eax
call fcn.004a4518
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x47e224
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 4