joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409e34
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x484843
call fcn.0045ae1e
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401b39
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409ec8
push eax
jmp 0x409eb7
call fcn.0040210e
push eax
lea ecx, [ebp - 0x14]
call fcn.004018d5
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c55d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040cdda
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004021b2
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409eaa
push esi
call fcn.0046b328
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.004021b2
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00409e00
mov edi, eax
cmp edi, 0xffffffff
jne 0x409e5d
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004021b2
call fcn.0045ade7
ret

Function at 0x409ed9
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x4844c5
call fcn.0045ae1e
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0040210e
push eax
lea ecx, [ebp - 0x10]
call fcn.004018d5
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.00401cb3
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ca11
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x409f3c
push 0x49c5d0
mov ecx, edi
call fcn.00401b39
lea ecx, [esi - 0x10]
jmp 0x409f97
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.0040c747
cmp ax, 0x5c
je 0x409f62
mov esi, 0x49cd00
push esi
call fcn.00401a02
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00401632
mov esi, str.6789Zip_
push esi
call fcn.00401a02
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00401632
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x409f86
mov ecx, esi
call fcn.00409e34
add esi, 0xfffffff0
push esi
call fcn.004012d8
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.004021b2
mov eax, edi
call fcn.0045ade7
ret
Function at 0x40bd05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x484a13
call fcn.0045aec0
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40bd82
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40bd82
call fcn.0040a815
mov esi, eax
jmp 0x40be79
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40bda5
call fcn.0040a815
jmp 0x40be6c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x40bd9b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x40bdd8
mov esi, 0x8007000e
jmp 0x40be6e
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.0040aca4
cmp eax, 0x400
jbe 0x40bdf9
push eax
lea ecx, [ebp - 0x418]
call fcn.0040a7f0
jmp 0x40be1b
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40be1b
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x40bdce
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40bd9b
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040bbb0
mov esi, eax
test edi, edi
je 0x40be79
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40be92
lea ecx, [ebp - 0x418]
call fcn.0040a7db
mov eax, esi
call fcn.0045ae0d
ret 0x10
Function at 0x40c5ca
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x484aca
call fcn.0045ae1e
push 0x66
pop edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b39
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str._startby_d
call fcn.00401b39
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c55d
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x40c63b
cmp dword [eax - 0xc], 0
jl 0x40c63b
push ecx
push eax
call fcn.0045bedb
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
test ecx, ecx
jne 0x40c640
or ecx, 0xffffffff
jmp 0x40c644
sub ecx, eax
sar ecx, 1
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c44c
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cdda
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004021b2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004021b2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0040c5a5
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
test eax, eax
cmove esi, edi
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esi
call fcn.004021b2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021b2
mov eax, esi
call fcn.0045ade7
ret

Function at 0x40c932
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4a8404]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x40c9fe
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.0045c240
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40c9fe
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40c9be
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0045fbd1
pop ecx
pop ecx
test eax, eax
je 0x40c9c4
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40c99d
jmp 0x40c9f3
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x40ca00
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459f73
leave
ret 8
Function at 0x40ca42
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40ca54
push 0xd
pop eax
jmp 0x40ca86
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40ca5d
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x40d2a4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4a8404]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x118], 0x114
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x11c], esi
push esi
push eax
mov ebx, esi
mov dword [ebp - 0x120], esi
mov edi, esi
call fcn.0045c240
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40d30f
cmp dword [ebp - 0x114], 6
jae 0x40d30f
mov eax, 0x3000
jmp 0x40d3c5
lea eax, [ebp - 0x11c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40d3c5
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push 0x19
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x40d353
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40d392
push dword [ebp - 0x120]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x40d392
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
push edi
push 0x19
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40d392
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ebx, eax
cmp dword [ebp - 0x11c], esi
je 0x40d3ac
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x11c], esi
test edi, edi
je 0x40d3bd
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x120], esi
test ebx, ebx
je 0x40d3c3
mov esi, dword [ebx]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459f73
leave
ret

Function at 0x40d5dc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.0040d62d
mov ecx, dword [esi + 0x6d8]
push 1
push 2
call fcn.0041c767
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x40e0de
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6bc], eax
test eax, eax
je 0x40d629
push edi
push 0x64
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x40d7dd
Capabilities:
Read file on windows

Disassembly:
push 0x598
mov eax, 0x484c3f
call fcn.0045ae52
mov esi, ecx
mov dword [ebp - 0x5a4], esi
xor eax, eax
mov dword [ebp - 0x5a4], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 8
pop ecx
push 0x49dcbc
stosd dword es:[edi], eax
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.0046b5ca
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40d832
push 0x49c5d0
mov ecx, esi
call fcn.00401b39
jmp 0x40d8f1
lea eax, [ebp - 0x49c]
push eax
call fcn.00402219
push edi
mov ebx, 0x400
lea eax, [ebp - 0x444]
push ebx
push 1
push eax
call fcn.0046ce0d
add esp, 0x14
jmp 0x40d87f
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.00402adf
push edi
push ebx
lea eax, [ebp - 0x444]
push 1
push eax
call fcn.0046ce0d
add esp, 0x1c
test eax, eax
jne 0x40d858
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.00402b85
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ed44
push edi
call fcn.0046b3c8
add esp, 0xc
lea eax, [ebp - 0x59c]
mov dword [ebp - 0x5a0], eax
lea ecx, [ebp - 0x5a0]
lea eax, [ebp - 0x44]
push 3
push eax
call fcn.0040156a
and dword [ebp - 4], 0
mov ecx, esi
push dword [ebp - 0x5a0]
call fcn.00401b39
lea eax, [ebp - 0x59c]
cmp dword [ebp - 0x5a0], eax
je 0x40d8f1
push dword [ebp - 0x5a0]
call fcn.0045fb49
pop ecx
mov eax, esi
call fcn.0045adfc
ret

Function at 0x40db5a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 0x4aa14c
push 0x4aa194
push ebx
lea esi, [edi + 0x30]
push str.tab_main
mov ecx, esi
call fcn.0041515f
push eax
call fcn.0045e265
add esp, 0x14
mov dword [edi + 0x6d8], eax
test eax, eax
je 0x40dc61
push 1
push ebx
mov ecx, eax
call fcn.0041c767
push ebx
push 0x4aa14c
push 0x4aa194
push ebx
push str.tab_check_status
mov ecx, esi
call fcn.0041515f
push eax
call fcn.0045e265
add esp, 0x14
mov dword [edi + 0x6dc], eax
test eax, eax
je 0x40dc61
push 1
push ebx
mov ecx, eax
call fcn.0041c767
push ebx
push 0x4aa14c
push 0x4aa194
push ebx
push str.tab_update_status
mov ecx, esi
call fcn.0041515f
push eax
call fcn.0045e265
add esp, 0x14
mov dword [edi + 0x6e0], eax
test eax, eax
je 0x40dc61
push 1
push ebx
mov ecx, eax
call fcn.0041c767
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x40df81
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x6b8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0040ecd7
mov esi, eax
lea ecx, [edi + 0x2c]
lea eax, [ebp - 4]
mov dword [ebp - 4], ecx
push eax
lea ecx, [esi + 4]
call fcn.0040ec55
lea ecx, [edi + 0x34c]
lea eax, [ebp - 4]
mov dword [ebp - 4], ecx
push eax
lea ecx, [esi + 0x10]
call fcn.0040ec55
xor eax, eax
jmp 0x40dc64
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40dc6b
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x6b8]
test eax, eax
je 0x40dcb8
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40dca9
push 0x5b4
push dword [esi + 0x6b8]
call ebx
push dword [esi + 0x6b8]
call edi
and dword [esi + 0x6b8], 0
mov eax, dword [esi + 0x6bc]
test eax, eax
je 0x40dcf1
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40dce2
push 0x5b4
push dword [esi + 0x6bc]
call ebx
push dword [esi + 0x6bc]
call edi
and dword [esi + 0x6bc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0040ecd7
mov edi, eax
lea ebx, [esi + 0x2c]
xor ecx, ecx
mov edx, dword [edi + 8]
test edx, edx
jle 0x40dd1a
mov eax, dword [edi + 4]
cmp dword [eax], ebx
je 0x40dd1d
inc ecx
add eax, 4
cmp ecx, edx
jl 0x40dd0e
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x40dd57
test ecx, ecx
js 0x40dd57
cmp ecx, edx
jge 0x40dd57
lea eax, [edx - 1]
cmp ecx, eax
je 0x40dd51
mov eax, dword [edi + 4]
sub edx, ecx
shl edx, 2
lea ecx, [eax + ecx*4]
lea eax, [edx - 4]
push eax
lea eax, [ecx + 4]
push eax
push edx
push ecx
call fcn.00401482
mov edx, dword [edi + 8]
add esp, 0x10
lea eax, [edx - 1]
mov dword [edi + 8], eax
mov edx, dword [edi + 0x14]
add esi, 0x34c
xor ecx, ecx
test edx, edx
jle 0x40dd75
mov eax, dword [edi + 0x10]
cmp dword [eax], esi
je 0x40dd78
inc ecx
add eax, 4
cmp ecx, edx
jl 0x40dd69
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x40ddb2
test ecx, ecx
js 0x40ddb2
cmp ecx, edx
jge 0x40ddb2
lea eax, [edx - 1]
cmp ecx, eax
je 0x40ddac
mov eax, dword [edi + 0x10]
sub edx, ecx
shl edx, 2
lea ecx, [eax + ecx*4]
lea eax, [edx - 4]
push eax
lea eax, [ecx + 4]
push eax
push edx
push ecx
call fcn.00401482
mov edx, dword [edi + 0x14]
add esp, 0x10
lea eax, [edx - 1]
mov dword [edi + 0x14], eax
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10
Function at 0x40e466
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a8404]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, ecx
push 4
pop eax
test esi, esi
mov dword [ebp - 0x18], esi
lea ebx, [esi - 0x350]
cmove ebx, eax
push dword [ebx]
call edi
test eax, eax
je 0x40e53f
push dword [esi + 8]
call edi
test eax, eax
je 0x40e53f
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40e534
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x40e534
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e534
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 8]
add esi, 0x350
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
sub edx, dword [ebp - 0x28]
sub esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
sub eax, esi
add eax, dword [ebp - 0x1c]
sub ecx, edx
add ecx, dword [ebp - 0xc]
cmp dword [ebp + 8], 0
je 0x40e51e
push 1
push eax
mov eax, dword [ebp - 0x18]
push ecx
push esi
push edx
push dword [eax + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x40e53f
push 0x50
push eax
mov eax, dword [ebp - 0x18]
push ecx
push esi
push edx
push dword [ebx]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x40e53f
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459f73
leave
ret 4

Function at 0x40eaf0
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x4844c5
call fcn.0045ae1e
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0040210e
push eax
lea ecx, [ebp - 0x10]
call fcn.004018d5
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.00401cb3
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ca11
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x40eb51
push 0x49c5d0
mov ecx, edi
call fcn.00401b39
lea ecx, [esi - 0x10]
jmp 0x40eba8
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.0040c747
cmp ax, 0x5c
je 0x40eb77
mov esi, 0x49cd00
push esi
call fcn.00401a02
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00401632
mov esi, str.6789Zip_
push esi
call fcn.00401a02
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00401632
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00409e34
add esi, 0xfffffff0
push esi
call fcn.004012d8
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.004021b2
mov eax, edi
call fcn.0045ade7
ret
Function at 0x40f016
Capabilities:
Create thread

Disassembly:
push 0x408
mov eax, 0x484ddf
call fcn.0045ae52
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
xor ebx, ebx
push ebx
push eax
call fcn.0045c240
add esp, 0xc
cmp dword [esi + 0xc], ebx
jne 0x40f04e
xor eax, eax
inc eax
jmp 0x40f190
mov dword [esi + 0xc], ebx
cmp dword [esi + 8], ebx
jne 0x40f046
push edi
push str..GlobalPipe_s
lea eax, [ebp - 0x410]
push 0x3ff
push eax
call fcn.0040edeb
add esp, 0x10
lea eax, [ebp - 0x410]
push ebx
push 0x40000000
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
test eax, eax
je 0x40f184
cmp eax, 0xffffffff
je 0x40f184
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xc4], eax
test eax, eax
je 0x40f187
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xec], eax
test eax, eax
je 0x40f187
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x114], eax
test eax, eax
je 0x40f187
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x40fb92
push ebx
push ebx
call edi
mov dword [esi + 0xc0], eax
test eax, eax
je 0x40f187
push ebx
push ebx
push esi
push 0x40fc58
push ebx
push ebx
call edi
mov dword [esi + 0xe8], eax
test eax, eax
je 0x40f187
push ebx
push ebx
push esi
push 0x40fd4f
push ebx
push ebx
call edi
mov dword [esi + 0x110], eax
test eax, eax
je 0x40f187
push ebx
push ebx
push esi
push 0x40f9cd
push ebx
push ebx
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x40f187
mov dword [ebp - 0x414], ebx
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call fcn.00410a54
push eax
push str.MethodSupport
lea ecx, [ebp - 0x414]
call fcn.00410649
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.0040f3e3
push dword [ebp - 0x414]
call fcn.00483ce0
pop ecx
jmp 0x40f046
mov dword [esi + 8], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
call fcn.0045adfc
ret 4
Function at 0x4138e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4aa228], 0
push esi
mov esi, dword [ebp + 8]
jne 0x4139eb
push 0x4aa22c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4139d9
test esi, esi
jne 0x4139ce
push ebx
push edi
push str.advapi32.dll
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x4139ae
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptAcquireContextA
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x4139ae
push str.CryptGenRandom
push esi
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4139ae
push str.CryptReleaseContext
push esi
call edi
mov edi, eax
test edi, edi
je 0x4139ae
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp + 8]
push eax
call ebx
test eax, eax
je 0x4139ae
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 8]
call dword [ebp - 8]
push 0
push dword [ebp + 8]
mov esi, eax
call edi
test esi, esi
je 0x4139ae
mov eax, dword [ebp - 4]
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
movzx eax, byte [ebp - 2]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 1]
shl esi, 8
or esi, eax
jmp 0x4139c2
push 0
call fcn.0046b1e9
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
test esi, esi
mov eax, 1
pop edi
cmove esi, eax
pop ebx
mov dword [0x4aa228], esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_SwitchToThread]
nop
call esi
cmp dword [0x4aa228], 0
je 0x4139e0
pop esi
mov esp, ebp
pop ebp
ret