joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f4b
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x405f65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4

Function at 0x405f6b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x409780
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov word [ebp - 0x20], 1
mov dword [ebp - 0x10], 0x409770
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x405fd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405fe3
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
je 0x405fdd
xor eax, eax
jmp 0x405fe3
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret 4
Function at 0x4062cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
lea eax, [ebp - 0x23c]
push esi
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
ja 0x406305
test eax, eax
je 0x406305
add eax, eax
cmp word [ebp + eax - 0x23e], 0x5c
je 0x406307
mov ecx, 0x4092b0
jmp 0x40630c
xor eax, eax
mov ecx, 0x4092b2
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x23c]
add eax, ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x40636a
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40638d
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406433
pop ecx
pop ecx
inc dword [0x435af0]
ret 8

Function at 0x406433
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebx, 0x400
mov dword [0x4319d0], 0x55004e
mov ebp, 0x4319d0
mov dword [0x4319d4], 0x4c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
je 0x406489
push 1
push 0
push esi
call fcn.00406a48
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
push esi
call edi
test eax, eax
je 0x406569
cmp eax, ebx
jg 0x406569
push ebx
mov esi, 0x4311d0
push esi
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x406569
cmp eax, ebx
jg 0x406569
push esi
push ebp
push str._ls_ls_r_n
push 0x430dd0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x435a30]
add esp, 0x10
mov ebp, eax
push dword [ecx + 0x128]
push esi
call fcn.00405fe7
push 4
push 0xc0000000
push esi
call fcn.00406a48
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406569
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [ebp + 0xa]
add ecx, esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x406562
push esi
push edi
push ebx
call fcn.00406a75
test eax, eax
je 0x406562
push str._Rename__r_n
push edi
call fcn.00406c63
test eax, eax
jne 0x40656e
push str._Rename__r_n
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa
mov ecx, esi
push ebp
push 0x430dd0
lea eax, [ecx + edi]
push eax
call fcn.004067e1
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + ebp]
push eax
push edi
push ebx
call fcn.00406b38
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x4099a4
add eax, 0xa
push eax
call fcn.00406c63
mov ecx, eax
test ecx, ecx
je 0x406533
lea edx, [edi + esi]
jmp 0x40658d
mov al, byte [edx]
mov byte [edx + ebp], al
dec edx
cmp edx, ecx
ja 0x406587
sub ecx, edi
inc ecx
jmp 0x406535
Function at 0x4066b2
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.00406cca
mov edi, eax
cmp edi, 0xffffffff
je 0x4066f5
test byte [ebp + 0xc], 1
push dword [ebp + 8]
je 0x4066d6
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4066dc
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4066e5
xor eax, eax
inc eax
jmp 0x4066f7
test byte [ebp + 0xc], 4
jne 0x4066f5
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop ebp
ret 8

Function at 0x406765
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov ebx, 0x4305d0
push ebx
call fcn.00406c47
push ebx
call fcn.00406cf2
mov esi, eax
test esi, esi
je 0x4067da
push esi
call fcn.00406e6a
test byte [0x435a2c], 0x80
je 0x40679e
movzx eax, word [esi]
test ax, ax
je 0x4067da
cmp eax, 0x5c
je 0x4067da
sub esi, ebx
sar esi, 1
jmp 0x4067b8
call fcn.004066fc
test eax, eax
je 0x4067b2
test byte [eax], 0x10
je 0x4067da
push ebx
call fcn.00406e3d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
cmp eax, esi
jg 0x4067a4
call fcn.00406683
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4067da
xor eax, eax
inc eax
jmp 0x4067dc
xor eax, eax
pop esi
pop ebx
ret 4

Function at 0x406803
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x42fd88], 0x44
lea eax, [ebp - 0x10]
push eax
push 0x42fd88
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406842
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x406846
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x268]
push esi
mov esi, dword [esp + 0x268]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.00406765
mov dword [esp + 0x14], eax
test bl, 8
je 0x406888
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x435ae8], eax
jmp 0x406a07
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x14], ebp
je 0x4068a5
test eax, eax
je 0x4069f6
test bl, 2
je 0x4069bf
push esi
push 0x42fdd0
call fcn.00406c47
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x4068c8
push str..
push 0x42fdd0
call ebp
jmp 0x4068ce
push esi
call fcn.00406e3d
xor eax, eax
cmp word [esi], ax
jne 0x4068df
cmp word [0x42fdd0], 0x5c
jne 0x4068e7
push 0x4092b0
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
push 0x42fdd0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4069a8
push 0x2e
pop eax
cmp word [esp + 0x48], ax
jne 0x406931
cmp word [esp + 0x4a], 0
je 0x40698a
cmp word [esp + 0x4a], ax
jne 0x406931
cmp word [esp + 0x4c], 0
je 0x40698a
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call fcn.00406c47
test byte [esp + 0x1c], 0x10
je 0x406958
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x40698a
push ebx
push esi
call fcn.00406846
jmp 0x40698a
push edi
push esi
call fcn.004066b2
test eax, eax
jne 0x406982
test edi, edi
je 0x40697a
push esi
push 0xfffffffffffffff1
call fcn.00405e67
xor eax, eax
push eax
push esi
call fcn.0040636a
jmp 0x40698a
inc dword [0x435ae8]
jmp 0x40698a
push esi
push 0xfffffffffffffff2
call fcn.00405e67
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406913
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x14], 0
je 0x406a06
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [eax - 2], cx
cmp dword [esp + 0x18], ecx
je 0x4069f6
push esi
call fcn.004066fc
test eax, eax
je 0x406a06
push esi
call fcn.00406683
mov eax, edi
or eax, 1
push eax
push esi
call fcn.004066b2
test eax, eax
jne 0x4069fe
test edi, edi
je 0x4069f6
push esi
push 0xfffffffffffffff1
call fcn.00405e67
xor eax, eax
push eax
push esi
call fcn.0040636a
jmp 0x406a06
inc dword [0x435ae8]
jmp 0x406a06
push esi
push 0xffffffffffffffe5
call fcn.00405e67
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x25c
ret 8

Function at 0x406a48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
push eax
push dword [esp + 0x14]
push ecx
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc
Function at 0x406aa4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x800
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406405
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x406b16
push esi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
mov word [edi + 0x7fe], ax
pop esi
jne 0x406b16
cmp dword [ebp + 0x18], 1
je 0x406b1b
cmp dword [ebp + 0x18], 2
je 0x406b1b
xor eax, eax
mov word [edi], ax
pop edi
leave
ret 0x14

Function at 0x406b20
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x406b83
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp - 8], 0x73006e
mov dword [ebp - 4], 0x61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add word [ebp - 4], dx
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x406bcd
test edi, edi
jne 0x406b90
mov word [esi], ax
jmp 0x406bcf
mov eax, esi
pop edi
pop esi
leave
ret 8

Function at 0x406cca
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406cec
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406f69
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x432424], 0
push esi
jne 0x406fa3
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x406f7a
mov dword [ecx*4 + 0x432420], edx
inc ecx
cmp ecx, 0x100
jl 0x406f75
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x406fcd
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x432420]
inc esi
sub edx, 1
jne 0x406fb5
not ecx
mov eax, ecx
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40265f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402693
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x402707
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4026b5
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x25c
call fcn.0045d5c0
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0045d5d0
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x402711
mov eax, 0
jmp 0x402711
mov esp, ebp
pop ebp
ret 4

Function at 0x40275e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0045d5f0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4027c6
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x402804
cmp dword [ebp - 4], 0
je 0x4027ff
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4027ff
push 6
call fcn.00458737
add esp, 4
jmp 0x40280c
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x40281d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x406cfe
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 8
call fcn.0045872b
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0045872b
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.0045872b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x406dad
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.0045cea0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x406e06
push 6
call fcn.00458737
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
push str.SeDebugPrivilege
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406e51
push 6
call fcn.00458737
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406e61
push ebx
call fcn.00458731
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x406ef5
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x406f1a
push 6
call fcn.00458737
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x406f22
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00458731
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00458731
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00458731
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40d6a6
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40d6e7
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
sete al
jmp 0x40d6fb
mov esp, ebp
pop ebp
ret 8
Function at 0x41097a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x677d77]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4109c7
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4109de
mov eax, 0x48139d
jmp 0x410adc
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x677d77]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410a06
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410a1d
mov eax, 0x48139d
jmp 0x410adc
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410a3f
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x410a56
mov eax, 0x48139d
jmp 0x410adc
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0045d7e0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410a89
push ebx
call fcn.00458731
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410aa0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410abd
push 6
call fcn.00458737
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410ad7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0045872b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x410adc
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410aed
push ebx
call fcn.00458731
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4117f2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x677d5f]
mov dword [ebp - 4], ebx
push 0x4812d5
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401e1d
add esp, 8
cmp eax, 0
je 0x4118c3
mov ebx, dword [0x677d5f]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4118a3
push 6
call fcn.00458737
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4118b3
push ebx
call fcn.00458731
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4118c3
push ebx
call fcn.00458731
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x42177a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4217aa
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x4217be
mov esp, ebp
pop ebp
ret 4

Function at 0x42180e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [0x677e33], 0
jle 0x421846
cmp dword [0x677e1f], 0
jle 0x421846
mov eax, 1
jmp 0x421848
xor eax, eax
test eax, eax
je 0x421920
push 1
push dword [0x677e33]
call fcn.00421926
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x421907
push 0x677e2f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 8]
push eax
call fcn.00407552
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push dword [0x677e1f]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4218ad
push 6
call fcn.00458737
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4218f3
mov dword [ebp - 0xc], esp
push dword [0x677e1f]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4218df
push 6
call fcn.00458737
add esp, 4
mov dword [0x677e1f], 0
mov dword [0x677e33], 0
push 0x677e2f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x421920
cmp dword [ebp - 4], 0
jne 0x421920
push 0x677eff
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4229eb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.0045cec0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422a30
push ebx
call fcn.00458731
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040d55d
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x200
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x422a6f
push 6
call fcn.00458737
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x422a8b
push eax
mov ebx, eax
call fcn.0040106a
inc eax
push eax
call fcn.0045872b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x422a90
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422aa1
push ebx
call fcn.00458731
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4