joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca328
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
push ebx
lea ecx, [ebp - 0x60]
call sub.mfc120.dll_Ordinal_362
mov edx, dword [ebx + 0x394]
lea edi, [ebx + 0x394]
lea eax, [ebx + 0x364]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call dword [edx + 0x30]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
push edi
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetTextMetrics]
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, dword [ebp - 0x48]
mov ecx, edi
mov dword [ebx + 0x100], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xfc], eax
mov eax, dword [edi]
push esi
call dword [eax + 0x30]
mov eax, dword [ebx + 0xfc]
mov edi, dword [ebx + 0x38c]
mov ecx, dword [ebx + 0x390]
mov edx, dword [ebx + 0x100]
add ecx, 2
imul edi, eax
lea esi, [eax + eax*4]
imul ecx, edx
push 0
push esi
mov dword [ebx + 0xec], edi
mov dword [ebx + 0xf0], ecx
lea eax, [esi + edi]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
mov dword [ebx + 0xf4], eax
lea edi, [ebx + 0xdc]
lea eax, [ecx + edx]
mov dword [ebx + 0xf8], eax
movdqu xmm0, xmmword [ebx + 0xec]
push edi
movdqu xmmword [edi], xmm0
call esi
mov ecx, dword [ebx + 0xfc]
push 0
lea eax, [ecx + ecx*8]
add eax, dword [edi]
mov dword [ebx + 0xe4], eax
lea eax, [ecx + ecx*4]
movdqu xmm0, xmmword [edi]
add ebx, 0xcc
add eax, eax
push eax
push ebx
movdqu xmmword [ebx], xmm0
call esi
mov edx, dword [ebp - 0x4c]
movdqu xmm0, xmmword [edi]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, edx
push 6
mov eax, dword [edx + 0xfc]
movdqu xmmword [edi + 0xbc], xmm0
lea ecx, [eax*8]
sub ecx, eax
add ecx, dword [ebx]
mov dword [edx + 0xd4], ecx
call esi
mov ecx, dword [edi + 0x100]
push 6
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*2]
add eax, dword [edi + 0xc0]
mov dword [edi + 0xc8], eax
call esi
movdqu xmm0, xmmword [ebx]
sub dword [edi + 0xc0], eax
push 6
movdqu xmmword [edi + 0xac], xmm0
call esi
imul ecx, dword [edi + 0x100], 0x1a
push 6
add eax, ecx
add eax, dword [edi + 0xb0]
mov dword [edi + 0xb8], eax
call esi
sub dword [edi + 0xb0], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call sub.mfc120.dll_Ordinal_1063
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret
Function at 0x4624c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x462515
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x462515
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004c6016
mov esp, ebp
pop ebp
ret 4
Function at 0x470bc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 1
xor esi, esi
cmp byte [ebx], 0
mov dword [ebp - 4], edi
je 0x470c86
nop
movzx eax, byte [esi + ebx]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x470bf7
add esi, 2
jmp 0x470c7c
cmp byte [esi + ebx], 0x5c
jne 0x470c7b
lea eax, [esi + 4]
push eax
call sub.mfc120.dll_Ordinal_265
mov edi, eax
add esp, 4
xor eax, eax
test esi, esi
jle 0x470c32
mov ecx, edi
mov dword [ebp - 8], esi
sub ebx, edi
mov edx, esi
mov edi, edi
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x470c20
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov word [eax + edi], 0x5c
cmp byte [edi + 1], 0x3a
jne 0x470c5f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470c43
sub ecx, edx
cmp ecx, 3
jne 0x470c5f
push edi
call sub.mfc120.dll_Ordinal_266
mov edi, dword [ebp - 4]
add esp, 4
jmp 0x470c7b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
mov dword [ebp - 4], eax
call sub.mfc120.dll_Ordinal_266
mov edi, dword [ebp - 4]
add esp, 4
test edi, edi
je 0x470c8f
inc esi
cmp byte [esi + ebx], 0
jne 0x470be0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4710e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf5d4
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x140
lea eax, [ebp - 0x150]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x158]
push str.C:ymwM8YdataRUNREC
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str.CND.cbd
push eax
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
push eax
call fcn.00411be0
add esp, 0xc
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4711f9
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 0x18c
test byte [ebp - 0x150], 0x10
jne 0x4711e4
lea eax, [ebp - 0x124]
add esi, 4
push eax
mov ecx, esi
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 0
push 0x2e
mov ecx, esi
call dword [sym.imp.mfc120.dll_Ordinal_4612]
push eax
lea eax, [ebp - 0x15c]
mov ecx, esi
push eax
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea eax, [ebp - 0x150]
push eax
push edi
call ebx
test eax, eax
jne 0x471190
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret
Function at 0x473130
Capabilities:
Capture webcam image

Disassembly:
push esi
push 0x52d5c0
push 0x419
mov esi, ecx
call fcn.00473a90
push 0x52d5c4
push 0x41a
mov ecx, esi
call fcn.00473a90
push 0x52d5c8
push 0x41b
mov ecx, esi
call fcn.00473a90
push 0x52d5cc
push 0x41c
mov ecx, esi
call fcn.00473a90
push 0x52d5d4
push 0x41d
mov ecx, esi
call fcn.00473a90
push 0x52d5d8
push 0x41e
mov ecx, esi
call fcn.00473a90
push 0x52d5dc
push 0x41f
mov ecx, esi
call fcn.00473a90
push 0x52d5e0
push 0x420
mov ecx, esi
call fcn.00473a90
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc120.dll_Ordinal_4827
push 0
push 0
push 0x46c
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
ret

Function at 0x4738c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf6cc
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x140
lea eax, [ebp - 0x150]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x158]
push str.C:ymwM8YdataRUNREC
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str.CND.cbd
push eax
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
push eax
call fcn.00411be0
add esp, 0xc
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x4739a2
test byte [ebp - 0x150], 0x10
mov eax, 1
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmove esi, eax
lea eax, [ebp - 0x150]
push eax
push edi
call ebx
test eax, eax
je 0x47399b
test byte [ebp - 0x150], 0x10
jne 0x47398d
inc esi
lea eax, [ebp - 0x150]
push eax
push edi
call ebx
test eax, eax
jne 0x473983
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret
Function at 0x476c00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf9e9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x52bdd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x12c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [ebx + 0x114]
mov esi, dword [ebx + 0x10c]
mov edi, esi
mov dword [ebp - 0x2c], eax
shl edi, 4
lea eax, [ecx + ecx*4]
mov ecx, dword [ebx + 0x110]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
imul eax, ecx, 0x1d
add eax, 7
mov dword [ebp - 0x20], eax
mov eax, ecx
shl eax, 5
add ecx, 7
add eax, ecx
mov ecx, dword [ebx + 0x178]
mov dword [ebp - 0x1c], eax
imul eax, esi, 0x52
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
imul eax, esi, 0x56
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x170]
mov eax, dword [ebx + eax*4 + 0x184]
add eax, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], eax
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [edi + 2]
xor esi, esi
mov dword [ebp - 0x18], eax
lea eax, [edi + 2]
mov dword [ebp - 0x14], eax
push dword [ebp + esi*4 - 0x34]
lea eax, [ebp - 0x10]
push str._02d:00
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
push 0x8e5
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
add esp, 0x14
mov edi, dword [ebx]
test eax, eax
je 0x476d0d
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
jmp 0x476d24
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, ebx
call dword [edi + 0x64]
mov eax, dword [ebp - 0x24]
inc esi
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x18], eax
cmp esi, 2
jl 0x476cc1
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x2c]
call dword [eax + 0x30]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47c920
Capabilities:
Create process on windows

Disassembly:
push 0
push str.PLCRel
call dword [sym.imp.Y747WINSYS.dll_YWSFindWindow]
add esp, 8
test eax, eax
je 0x47c93f
push eax
call dword [sym.imp.Y747UTLSTD.dll_YUSSetForegroundWindow]
add esp, 4
ret
push 1
push 0
push 0
push str.M8PLCRel.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x489a50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0f12
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
movdqu xmmword [ebp - 0x34], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov esi, dword [sym.imp.mfc120.dll_Ordinal_4764]
lea eax, [ebp - 0x3c]
push str.PLCAXISNAME.INI
push str.C:ymwM8YMPLC
push 0x4d7914
push eax
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp + 8]
movsx eax, al
inc eax
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x38]
push str._dAXIS
push eax
call esi
add esp, 0x1c
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 8
lea eax, [ebp - 0x24]
push eax
push 0x4e5534
push str.ENABLE
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 0x4e5540
lea ecx, [ebp - 0x24]
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x489b30
test dl, dl
je 0x489b2c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x489b30
add ecx, 2
add eax, 2
test dl, dl
jne 0x489b10
xor eax, eax
jmp 0x489b35
sbb eax, eax
or eax, 1
mov esi, dword [sym.imp.MSVCR120.dll_strcpy_s]
test eax, eax
jne 0x489b75
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0xb
lea eax, [ebp - 0x34]
push eax
push 0x4e5534
push str.NAME_SCREEN
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x34]
push eax
push 0xb
push edi
call esi
add esp, 0xc
cmp byte [ebp - 0x34], 0
jne 0x489bad
push dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
mov word [ebp - 0x14], 0
push str.AXIS__d
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
push 0xb
push eax
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.MSVCR120.dll_sprintf_s]
lea eax, [ebp - 0x1c]
push eax
push 0xb
push edi
call esi
add esp, 0x1c
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret 8
Function at 0x48d6d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d13e2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x52bdd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xffffffffffffffff
call sub.IMM32.dll_ImmDisableIME
push dword [esi + 0x64]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48d73d
mov dword [esi + 0xcc], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x9f28d8
push 0
call dword [sym.imp.Y747WINSYS.dll_YWSGetYTable]
mov dword [0x52ec00], eax
call dword [sym.imp.Y747WINSYS.dll_YWSGetPciTable]
push 0x8e5
push dword [0x52ec00]
mov dword [0x52ec04], eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
test eax, eax
mov edx, 0x511244
mov ecx, 0x51127c
cmove ecx, edx
mov dword [0x52ec08], ecx
call fcn.004744c0
call fcn.00473b50
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x52ec10
call dword [sym.imp.m8ysdg.dll_MIFGetSdgAtAddress]
add esp, 0x18
mov ecx, esi
push str.M747
call sub.mfc120.dll_Ordinal_13690
push 0x8c
call sub.mfc120.dll_Ordinal_1502
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x48d7ec
call fcn.0048dea0
push eax
call fcn.00495a00
push eax
call fcn.0048dc60
push eax
push 0x80
mov ecx, edi
call sub.mfc120.dll_Ordinal_950
jmp 0x48d7ee
xor eax, eax
push eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call sub.mfc120.dll_Ordinal_1818
lea ecx, [ebp - 0x40]
call sub.mfc120.dll_Ordinal_366
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call sub.mfc120.dll_Ordinal_11847
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call sub.mfc120.dll_Ordinal_12064
neg eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
sbb esi, esi
neg esi
call sub.mfc120.dll_Ordinal_1067
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x41da2671
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x424f2076
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4050de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40901c]
jne 0x4050e8
repz ret
jmp fcn.00405461
Function at 0xa4b370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xa4b38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa74074
push ecx
mov edi, eax
call fcn.00a5f198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa4b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a5f02e
push esi
call fcn.00a5efb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xa4e850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xa4e8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa79720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa4e8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00a5f1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xa4e8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa79720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa4e92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00a60082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xa4e957
mov word [eax], si
add eax, 2
push eax
call fcn.00a60030
add esp, 4
jmp 0xa4e959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xa4e8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xa4e8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xa4eff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xa4f080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xa4f0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xa74458
push ecx
call fcn.00a5f1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00a5f1e1
add esp, 0x10
jmp 0xa4f0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00a5f20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00a5edff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00a4f050
mov eax, dword [0xa79728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xa4f13b
push esi
call fcn.00a4efb0
add esp, 4
mov dword [0xa79728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xa4f14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00a4eff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xa52440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xa524b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xa5248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xa52471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xa5247e
add edx, ecx
cmp ebx, edx
jb 0xa5248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xa52467
xor ecx, ecx
jmp 0xa524a2
test eax, eax
jne 0xa52492
xor ecx, ecx
jmp 0xa524a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00a523c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xa528f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xa52921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xa52946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xa5296e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xa52993
push ecx
push esi
call fcn.00a524c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret