joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4a95d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.0046f380
test eax, eax
je 0x43882c
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call fcn.0041f22d
lea eax, [ebp - 0x108]
push eax
call fcn.00439c10
mov edi, eax
cmp byte [edi], 0x5c
jne 0x43882b
push ebx
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp - 0x108]
mov byte [edi], bl
push eax
push dword [ebp - 0x120]
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43882a
mov eax, dword [esi + 0xc]
sub eax, ebx
je 0x4387f0
dec eax
je 0x4387d0
dec eax
je 0x4387b4
dec eax
jne 0x43881e
mov dword [ebp - 0x110], ebx
inc ebx
push ebx
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push eax
push edi
push dword [ebp - 0x10c]
call fcn.0046f2f5
test eax, eax
je 0x43881e
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push dword [ebp - 0x110]
push eax
push eax
call edi
mov dword [ebp - 0x114], eax
add eax, eax
push eax
mov dword [ebp - 0x124], eax
call fcn.0044a635
mov dword [esi + 4], eax
test eax, eax
je 0x43879e
push dword [ebp - 0x114]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x110]
push 0
push 0
call edi
mov eax, dword [ebp - 0x124]
mov dword [esi + 8], eax
mov dword [esi], ebx
cmp dword [ebp - 0x110], 0
je 0x43881e
push dword [ebp - 0x110]
call fcn.0044a645
jmp 0x43881e
push 3
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push edi
push dword [ebp - 0x10c]
call fcn.0046f2f5
test eax, eax
je 0x43881e
jmp 0x438818
xor ebx, ebx
inc ebx
push ebx
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push edi
push dword [ebp - 0x10c]
call fcn.0046f2f5
test eax, eax
je 0x43881e
mov dword [esi], ebx
jmp 0x43881e
lea eax, [ebp - 0x118]
push eax
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x118], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43881e
mov dword [esi], 1
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045cd7f
leave
ret 8
Function at 0x438a1a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x4a95d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x438af3
call fcn.0043714c
test eax, eax
je 0x438a5c
push 0x404be4
call fcn.00439586
push esi
call fcn.00439586
push 0x403fe0
call fcn.00439586
cmp dword [0x4b22d4], 0
jne 0x438a6f
push esi
call fcn.00438959
test eax, eax
je 0x438a79
push esi
call fcn.0043cb69
test eax, eax
jne 0x438af3
push 0x824
lea eax, [ebp - 0x828]
push eax
push esi
call fcn.0041f22d
cmp dword [ebp + 0xc], 0
je 0x438a9f
lea eax, [ebp - 0x828]
push eax
call fcn.00438bca
jmp 0x438af3
push 0x38
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.0045d10c
lea eax, [ebp - 0x828]
mov dword [ebp - 0x854], eax
add esp, 0xc
lea eax, [ebp - 0x864]
push eax
mov dword [ebp - 0x864], 0x3c
mov dword [ebp - 0x848], 0xa
mov dword [ebp - 0x860], 0x100
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x438af3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045cd7f
leave
ret 8

Function at 0x438bca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
call fcn.0042025c
lea esi, [eax + 1]
push esi
call fcn.0044a635
mov edi, eax
test edi, edi
je 0x438c06
push esi
push edi
push dword [ebp + 8]
call fcn.0041f22d
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push edi
push 0x438b61
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret 4

Function at 0x438f71
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor edi, edi
call fcn.0041f203
push dword [ebp + 0x10]
mov esi, eax
call fcn.0041f203
mov ebx, dword [ebp + 0x18]
add eax, 0xb
add eax, esi
cmp eax, ebx
jl 0x438f9e
xor eax, eax
jmp 0x439021
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push dword [ebp + 0x14]
mov esi, eax
push dword [ebp + 0xc]
call fcn.0042027c
push ebx
push dword [ebp + 0x14]
push 0x4032d0
call fcn.0043e61b
push 0x10
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.0041f203
mov ecx, ebx
sub ecx, eax
push ecx
push esi
call fcn.0041f203
lea eax, [esi + eax*2]
push eax
call fcn.0043ec86
push ebx
push esi
push dword [ebp + 0x10]
call fcn.0043e61b
push 1
push 0
push 0x100
push 1
push dword [ebp + 0x20]
push 0
push dword [ebp + 0x1c]
push esi
call fcn.004403fb
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x43901e
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x32
jmp 0x438f95
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43940e
xor eax, eax
jmp 0x439411
and eax, 0x10
pop ebp
ret 4
Function at 0x439415
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
test esi, esi
jne 0x43942f
xor eax, eax
jmp 0x4394f0
push ebx
push esi
call fcn.0041f203
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.0042023c
test eax, eax
je 0x4394fb
push ebx
mov ebx, dword [ebp - 4]
push ebx
push esi
mov dword [ebp + 8], edi
call fcn.0042027c
mov esi, dword [ebp - 8]
add esi, 0xfffffffe
push ebx
add esi, ebx
call fcn.004393f9
test eax, eax
jne 0x4394e4
push ebx
mov dword [ebp - 8], esi
call fcn.00439c38
mov esi, eax
cmp dword [ebp + 8], edi
je 0x43948a
mov eax, dword [ebp - 8]
push 0x5c
pop ecx
mov word [eax], cx
push ebx
cmp esi, ebx
jbe 0x4394f6
xor eax, eax
mov word [esi], ax
mov dword [ebp + 8], 1
call fcn.004393f9
test eax, eax
je 0x439471
push 0x5c
pop eax
mov word [esi], ax
add esi, 2
mov dword [ebp + 8], edi
cmp word [esi], ax
je 0x4394c7
cmp word [esi], di
je 0x4394c2
add esi, 2
cmp word [esi], ax
jne 0x4394b5
cmp word [esi], ax
jne 0x4394d3
xor eax, eax
mov dword [ebp + 8], 1
mov word [esi], ax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4394e7
cmp dword [ebp + 8], edi
jne 0x4394a4
xor edi, edi
inc edi
push ebx
call fcn.0044a645
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 4
call fcn.0044a645
xor eax, eax
jmp 0x4394ef

Function at 0x4394ff
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ebx
push 1
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call fcn.004403fb
mov esi, eax
cmp esi, 0xffffffff
jne 0x439555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x20
je 0x439542
cmp eax, 0x21
je 0x439542
cmp eax, 0x36
jne 0x43957f
inc edi
cmp edi, 5
jge 0x43957f
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43950a
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0042025c
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x439cc8
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x4a95d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x96c]
push 0
push eax
mov dword [ebp - 0x930], 0x824
call fcn.0045d10c
add esp, 0xc
lea eax, [ebp - 0x108]
mov dword [ebp - 0x96c], edi
mov dword [ebp - 0x95c], eax
mov dword [ebp - 0x958], 0x104
test esi, esi
je 0x439e60
mov edi, 0x10000000
push edi
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0x92c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
je 0x439e60
lea eax, [ebp - 0x96c]
push eax
push edi
push dword [ebp - 0x930]
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x439e60
cmp dword [ebp - 0x960], 3
je 0x439d80
cmp dword [ebp - 0x960], 4
jne 0x439e60
push dword [ebp - 0x95c]
call fcn.0042025c
mov esi, 0x404a88
push esi
mov edi, eax
call fcn.0042025c
push eax
lea eax, [ebp - 0x92c]
push esi
push eax
call fcn.0045d9d7
add esp, 0xc
test eax, eax
je 0x439dd1
mov esi, 0x404a90
push esi
call fcn.0042025c
push eax
lea eax, [ebp - 0x92c]
push esi
push eax
call fcn.0045d9d7
add esp, 0xc
test eax, eax
jne 0x439e60
push esi
call fcn.0042025c
lea eax, [ebp + eax - 0x92c]
jmp 0x439de5
test cl, cl
je 0x439e60
inc eax
mov cl, byte [eax]
cmp cl, 0x2f
jne 0x439de0
test cl, cl
je 0x439e60
mov esi, dword [ebp - 0x95c]
mov ebx, 0x404f48
push ebx
add esi, edi
call fcn.0042025c
cmp edi, eax
jl 0x439e1f
push eax
mov ecx, esi
sub ecx, eax
push ebx
push ecx
call fcn.0045d9d7
add esp, 0xc
test eax, eax
jne 0x439e1f
xor eax, eax
inc eax
jmp 0x439e62
mov ebx, 0x404f58
push ebx
call fcn.0042025c
cmp edi, eax
jl 0x439e3f
push eax
sub esi, eax
push ebx
push esi
call fcn.0045d9d7
add esp, 0xc
test eax, eax
je 0x439e1a
mov esi, 0x404f64
push esi
call fcn.0042025c
cmp edi, eax
jne 0x439e60
push esi
push dword [ebp - 0x95c]
call fcn.0045d8ae
pop ecx
pop ecx
test eax, eax
je 0x439e1a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045cd7f
leave
ret 4

Function at 0x43a3b6
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
Function at 0x43a523
Capabilities:
Get common file path
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4a95d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x43a564
lea eax, [ebp - 0x108]
push eax
push 0x404f9c
call esi
push 0
push 0
push 0x404fa8
call fcn.0042f58a
mov ebx, eax
test ebx, ebx
je 0x43a626
push 0x404fb8
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43a61a
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call edi
test eax, eax
jne 0x43a5b4
lea eax, [ebp - 0x108]
push eax
push 0x404fcc
call esi
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x2b
push eax
call edi
test eax, eax
jne 0x43a5d6
lea eax, [ebp - 0x108]
push eax
push 0x404fd8
call esi
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call edi
test eax, eax
jne 0x43a5f8
lea eax, [ebp - 0x108]
push eax
push 0x404fe4
call esi
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 5
push eax
call edi
test eax, eax
jne 0x43a61a
lea eax, [ebp - 0x108]
push eax
push 0x404fec
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x404ff8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a6bc
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push 0x40502c
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43a6b0
lea eax, [ebp - 0x108]
push eax
call fcn.0042025c
cmp byte [ebp + eax - 0x109], 0x5c
jne 0x43a6a2
lea eax, [ebp - 0x108]
push eax
call fcn.0042025c
dec eax
cmp eax, edi
jae 0x43a6cb
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
push eax
push 0x405034
call esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045cd7f
leave
ret
call fcn.0045d56f
int3
Function at 0x43a7c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x43a863
cmp dword [ebp + 8], esi
je 0x43a863
mov ebx, 0x8000
push ebx
call fcn.0044a635
mov edi, eax
test edi, edi
je 0x43a863
push ebx
push esi
push edi
call fcn.0045d10c
add esp, 0xc
push ebx
push edi
push dword [ebp + 8]
call fcn.0043a768
test eax, eax
je 0x43a89b
push 1
push esi
push esi
push 1
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call fcn.004403fb
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43a86c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x20
je 0x43a841
cmp eax, 0x21
je 0x43a841
cmp eax, 0x36
jne 0x43a85d
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 5
jge 0x43a858
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x32
jl 0x43a80d
push edi
call fcn.0044a645
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push edi
call fcn.0042025c
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
push edi
call fcn.0044a645
mov eax, esi
jmp 0x43a865

Function at 0x43aa07
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x43aab0
cmp dword [ebp + 8], esi
je 0x43aab0
mov ebx, 0x10000
push ebx
call fcn.0044a635
mov edi, eax
test edi, edi
je 0x43aab0
push ebx
push esi
push edi
call fcn.0045d10c
add esp, 0xc
push 0x8000
push edi
push dword [ebp + 8]
call fcn.0043d246
test eax, eax
je 0x43aaea
push 1
push esi
push esi
push 1
push dword [ebp + 0x10]
push esi
push 0x40000000
push dword [ebp + 0xc]
call fcn.004403fb
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43aab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x20
je 0x43aa8e
cmp eax, 0x21
je 0x43aa8e
cmp eax, 0x36
jne 0x43aaaa
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 5
jge 0x43aaa5
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x32
jl 0x43aa58
push edi
call fcn.0044a645
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push edi
call fcn.0041f203
add eax, eax
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
push edi
call fcn.0044a645
mov eax, esi
jmp 0x43aab2
Function at 0x43b075
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
jne 0x43b084
xor eax, eax
jmp 0x43b0e5
cmp dword [ebp + 0x10], 0
push esi
je 0x43b0aa
push dword [ebp + 0x10]
call fcn.0044a635
mov esi, eax
test esi, esi
je 0x43b0e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0045cdc1
add esp, 0xc
jmp 0x43b0ad
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push esi
push dword [ebp + 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43b0cd
push esi
call dword [ebp + 8]
jmp 0x43b0e1
mov ecx, dword [0x4b2308]
test ecx, ecx
je 0x43b0e4
lea eax, [ebp - 4]
push eax
push ecx
call fcn.0043d976
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc

Function at 0x43b108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push ebx
mov esi, ebx
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], 0x44
call fcn.0045d10c
add esp, 0xc
push 0xfa0
push dword [0x4b501c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp + 8]
test edi, edi
je 0x43b18d
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push dword [0x4b22c4]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebx
lea esi, [eax + 1]
lea ecx, [esi + esi]
push ecx
lea eax, [ebp - 4]
push eax
call fcn.0042023c
test eax, eax
je 0x43b1cb
push esi
mov esi, dword [ebp - 4]
push esi
push 0xffffffffffffffff
push edi
push 0
push dword [0x4b22c4]
call ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push esi
push 0x4b524c
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test esi, esi
je 0x43b1b7
push esi
call fcn.0044a645
test edi, edi
je 0x43b1cb
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43c20f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4a95d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43c3c2
test byte [ebp + 0xc], 8
je 0x43c3c2
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.004323af
test eax, eax
je 0x43c3c1
push esi
lea eax, [ebp - 0x118]
push eax
push 0x4053f4
call fcn.0043e5e1
push esi
lea eax, [ebp - 0x118]
push eax
push 0x405404
call fcn.0043e5e1
push 0x22
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0042f58a
mov esi, eax
test esi, esi
je 0x43c3c1
push ebx
push 0x40540c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x43c3c0
sub ebx, esi
push edi
mov dword [ebp - 0x120], ebx
xor ebx, ebx
push ebx
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43c3c0
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push esi
mov dword [ebp - 0x11c], ebx
call dword [0x4c0640]
push dword [ebp - 0x11c]
call fcn.0044a635
mov edi, eax
test edi, edi
je 0x43c3b9
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
push edi
push esi
call dword [0x4c0640]
test eax, eax
je 0x43c3b3
test dword [ebp - 0x11c], 0xfffffffc
jbe 0x43c3b3
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [edi + ebx*4]
push esi
call dword [0x4c064c]
test eax, eax
jle 0x43c367
lea eax, [ebp - 0x14]
push 0x405404
push eax
call fcn.0045d8ae
pop ecx
pop ecx
test eax, eax
jne 0x43c367
push 0xc
lea eax, [ebp - 0x12c]
push eax
push dword [edi + ebx*4]
push esi
call dword [0x4c0648]
test eax, eax
jne 0x43c377
mov eax, dword [ebp - 0x11c]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x43c328
jmp 0x43c3b3
mov eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x120]
push ecx
push 0
push 0
push eax
push 0x10000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x43c3b3
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0044a645
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0045cd7f
leave
ret 8
Function at 0x43c9bc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x404a54
call fcn.0046f380
test eax, eax
jne 0x43c9da
leave
ret
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43ca33
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x43ca2a
mov eax, dword [ebp - 8]
inc eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042023c
test eax, eax
jne 0x43ca3a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43cac8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], ebx
jbe 0x43cab4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43cad9
push edi
call fcn.00439bbb
test eax, eax
je 0x43caae
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43caae
push 3
push 0x478258
push 0x478254
push 0x4787e0
push dword [ebp - 0xc]
call fcn.0046f2f5
push dword [ebp - 0xc]
test eax, eax
jne 0x43cacb
call esi
inc ebx
cmp ebx, dword [ebp - 0x10]
jb 0x43ca4a
push edi
call fcn.0044a645
push dword [ebp - 4]
call esi
cmp ebx, dword [ebp - 0x10]
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [0x478250], 1
call esi
jmp 0x43cab4
push dword [ebp - 4]
call esi
push edi
call fcn.0044a645
xor eax, eax
jmp 0x43cac6

Function at 0x43cc71
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp dword [edi], ebx
jne 0x43cc84
xor eax, eax
jmp 0x43ccea
push esi
xor esi, esi
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 0xc], eax
cmp eax, ebx
je 0x43ccdd
test eax, eax
je 0x43ccdd
push esi
push eax
push esi
push 8
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 4], eax
test eax, eax
je 0x43ccdd
push esi
push esi
push esi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 8], eax
test eax, eax
jne 0x43ccd8
push dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi]
and dword [edi + 4], 0
call esi
jmp 0x43cce5
xor eax, eax
inc eax
jmp 0x43cce9
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x43ccf0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x43cd7e
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43cd7d
push ebx
push esi
call fcn.00439c38
mov ebx, eax
cmp ebx, esi
je 0x43cd7c
push edi
xor eax, eax
push eax
push eax
push eax
push eax
sub ebx, esi
sar ebx, 1
push ebx
push esi
push eax
push dword [0x4b22c4]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [eax + 1]
push edi
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], edi
call fcn.0042023c
test eax, eax
je 0x43cd7b
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
call fcn.0045d10c
add esp, 0xc
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push edi
push ebx
push esi
push eax
push dword [0x4b22c4]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x43cd75
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push edi
call fcn.0044a645
pop edi
pop ebx
pop esi
leave
ret 8

Function at 0x43d03a
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
cmp word [0x4c0438], 0
je 0x43d088
push esi
push 0x4c0438
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x43d087
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.0041f203
add eax, eax
push eax
push dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
push 0
push dword [ebp + 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
pop ebp
ret 0x14