joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458b78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x458b9e
mov eax, esp
push eax
push 0x458b40
call sub.user32.dll_EnumWindows
jmp 0x458bb1
mov eax, esp
push eax
push 0x458b20
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x458c3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x458c90]
test si, 4
je 0x458c51
or bl, 1
test si, 8
je 0x458c5b
or bl, 4
test si, 1
je 0x458c65
or bl, 8
test si, 2
je 0x458c6f
or bl, 0x10
test si, 0x10
je 0x458c79
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458c88
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458c94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x458cd0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458cae
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458cbd
or bl, 4
test esi, 0x20000000
je 0x458cc8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460d58
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x460d6a
add esp, 0xfffffff0
call fcn.00403f40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e180
mov eax, dword [0x473a3c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4610fc
mov eax, dword [0x473a48]
mov dword [eax + 4], ebx
mov dword [eax], 0x461108
mov eax, ebx
call fcn.00461114
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45c5a0
push eax
push 0
push 0
mov eax, dword [0x473bb0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4221b8]
call fcn.004239d4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4221b8]
call fcn.004239d4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4221b8]
call fcn.004239d4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046158c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46145c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46145c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46145c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460ea7
call fcn.00403f98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461240
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4613eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4613cc
mov dl, 1
mov eax, dword [0x416354]
call fcn.00403bec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a48
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4613bb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00452978
test al, al
je 0x4613ae
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4613fc
lea eax, [ebp - 0x254]
call fcn.00409d58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4613ae
xor eax, eax
push ebp
push 0x4613a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x461434
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461390
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cb8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461390
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4613ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4612b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041a02c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4613f2
lea eax, [ebp - 0x260]
call fcn.00404a48
ret

Function at 0x461d64
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x478c98]
cmp byte [eax + 0xad], 0
jne 0x461dd5
cmp dword [0x478cb4], 0
jne 0x461d96
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461d20
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478cb4], eax
cmp dword [0x478cb0], 0
jne 0x461db1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x478cb0], eax
cmp dword [0x478cb8], 0
jne 0x461dd5
push esp
push 0
push 0
push 0x461cc4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x478cb8], eax
pop edx
ret
Function at 0x461fd8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461fef
add esp, 0xfffffff0
call fcn.00403f40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e180
mov eax, dword [0x473b9c]
cmp word [eax + 2], 0
jne 0x462017
mov eax, dword [0x473b9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463cc8
mov eax, dword [0x473c58]
cmp word [eax + 2], 0
jne 0x462031
mov eax, dword [0x473c58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463ed4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415f30]
call fcn.00403bec
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422c90]
call fcn.0042a8d8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4621e8
mov eax, dword [0x473aac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042acac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464598
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x473aac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d698
test eax, eax
je 0x462138
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409710
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d6cc
test eax, eax
je 0x46214c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404cb8
mov byte [ebx + 0xd4], 0
push ebx
push 0x463754
call fcn.0041f2fc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x473980]
cmp byte [eax], 0
jne 0x46219d
mov eax, ebx
call fcn.0046232c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004647ac
mov eax, ebx
call fcn.00465310
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4621dd
call fcn.00403f98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4625ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46264b
cmp dword [ebx + 0x94], 0
jne 0x462645
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462534
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462645
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46260b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462645
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004182d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46261a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462864
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x478c98]
cmp dword [eax + 0x30], 0
je 0x4629c1
test bl, bl
jne 0x462912
cmp dword [esi + 0x9c], 0
jne 0x462907
mov eax, esi
call fcn.0046518c
push eax
push 0x462790
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4628d8
mov eax, dword [0x478c98]
call fcn.0046586c
test al, al
je 0x4628d8
mov eax, dword [0x478cbc]
call fcn.00405b8c
mov edi, eax
cmp edi, 0
jl 0x4628d8
push 0
mov eax, dword [0x478cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4628c2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x462907
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004182d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4628e7
inc dword [esi + 0x9c]
jmp 0x4629c1
cmp dword [esi + 0x9c], 0
jle 0x4629c1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4629c1
cmp dword [esi + 0x44], 0
je 0x46296d
mov eax, dword [0x478c98]
call fcn.0046586c
test al, al
je 0x46296d
mov eax, dword [0x478cbc]
call fcn.00405b8c
mov edi, eax
cmp edi, 0
jl 0x46296d
push 5
mov eax, dword [0x478cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x462957
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46299c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004182d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46297c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x478cbc
mov ecx, 1
mov edx, dword [0x462770]
call fcn.00405d40
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4634a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x463512
mov eax, ebx
call fcn.0046586c
test al, al
jne 0x463512
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b38
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4634ff
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46351f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a9c
jmp 0x46351f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a9c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x464990
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4649fe
mov eax, esi
call fcn.0044d5a8
test al, al
je 0x4649fe
mov eax, dword [ebx + 0x84]
call fcn.0044d208
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4649fe
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4649f2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d208
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445040
jmp 0x4649fe
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004647cc
pop esi
pop ebx
ret
Function at 0x465f48
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40775c]
call fcn.0040548c
xor eax, eax
push ebp
push 0x4660e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47382c], 0
jne 0x465fa3
mov ecx, dword [0x473990]
mov dl, 1
mov eax, dword [0x407d40]
call fcn.0040c8e8
call fcn.00404490
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403550
mov eax, ebx
call fcn.0040535c
mov dword [ebp - 0x24], eax
mov esi, 0x4660f8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406424
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0040536c
test eax, eax
jle 0x46608c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x466078
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404cb8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46601e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404cd0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x466034
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404cd0
mov eax, dword [ebp - 0x54]
call fcn.00404ed8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404cb8
mov eax, dword [ebp - 0x58]
call fcn.00404ed8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46607a
xor eax, eax
test al, al
je 0x466085
mov ebx, 0x15
jmp 0x466091
mov ebx, 0x10
jmp 0x466091
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47382c]
call fcn.00465dc8
mov eax, dword [ebp - 4]
call fcn.00465dc8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.0040643c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4660f0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404a6c
lea eax, [ebp - 0xc]
mov edx, dword [0x40775c]
call fcn.0040555c
ret

Function at 0x46ead4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x46eb31
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x1f
mov eax, dword [ebp - 8]
call fcn.00402ed8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46eb18
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eb38
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402ef4
ret
Function at 0x41755f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4175aa
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004176fe
test al, al
jne 0x4175a4
sub edx, 2
cmp edx, edi
jne 0x41758a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4175cc
lea eax, [edi + 2]
cmp edx, eax
je 0x4175cc
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004174ab
add esp, 0x10
jmp 0x4176c6
push esi
lea ecx, [ebp - 0x255]
call fcn.004176fe
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41760f
push dword [ebp - 0x25c]
jmp 0x4175bc
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41764c
cmp word [ebp - 0x226], 0
je 0x41766d
cmp word [ebp - 0x226], ax
jne 0x41764c
cmp word [ebp - 0x224], 0
je 0x41766d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004174ab
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4176b9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x417626
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4176a1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4176c6
push 0x4172db
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041b3c0
add esp, 0x10
jmp 0x417696
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c93
leave
ret

Function at 0x41d220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d24d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d24d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5b195e8f
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x709b43aa
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4016e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0
lea ecx, [ebp + 8]
call fcn.004077a0
push eax
call fcn.00480a5f
add esp, 8
cmp eax, 0xffffffff
jne 0x401749
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 8]
call fcn.004077a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x401749
mov dword [ebp - 0x24], 0
lea ecx, [ebp + 8]
call fcn.00408680
mov eax, dword [ebp - 0x24]
jmp 0x40175b
mov dword [ebp - 0x28], 1
lea ecx, [ebp + 8]
call fcn.00408680
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x407ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret

Function at 0x40cd00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x574
mov eax, dword [0x4e7950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x580], ecx
mov ecx, dword [ebp - 0x580]
call fcn.00466170
call fcn.00469cf6
call fcn.00469b3b
mov dword [eax + 0x7c], 0
push str.YXGStart
mov ecx, dword [ebp - 0x580]
call fcn.00466d2e
push 0
mov eax, dword [ebp - 0x580]
add eax, 0xa8
push eax
mov ecx, dword [ebp - 0x580]
add ecx, 0xa4
push ecx
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.00467bab
add esp, 4
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x570], eax
mov dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x580]
add ecx, 0xb8
call fcn.0040cba0
mov dword [ebp - 0x574], 1
jmp 0x40cde1
mov eax, dword [ebp - 0x574]
add eax, 1
mov dword [ebp - 0x574], eax
mov ecx, dword [ebp - 0x574]
cmp ecx, dword [ebp - 0x10]
jge 0x40ce36
mov edx, dword [ebp - 0x574]
mov eax, dword [ebp - 0x570]
mov ecx, dword [eax + edx*4]
push ecx
lea ecx, [ebp - 0x578]
call fcn.00401e40
push 0x4ce19c
lea edx, [ebp - 0x578]
push edx
call fcn.00402440
add esp, 8
movzx eax, al
test eax, eax
je 0x40ce29
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x578]
call fcn.00408680
jmp 0x40cdd2
push 0
lea ecx, [ebp - 0x56c]
call fcn.0040e760
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x580]
lea edx, [ebp - 0x56c]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0x56c]
call fcn.00468f35
mov dword [ebp - 0x57c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x56c]
call fcn.0040f240
mov eax, dword [ebp - 0x57c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret