joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408080
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0xc8
push 0xffffffffffffffff
push 0x41750b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x41d1a0]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [0x420088], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp]
push 0x40
push eax
call fcn.0040938b
add esp, 0x14
lea edx, [ebp]
push edx
push 1
xor ecx, ecx
push esi
mov word [ebp + 0x80], cx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
je 0x40826d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40811e
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e
lea ecx, [ebp + 0x86]
xor eax, eax
push esi
mov dword [ebp - 4], esi
push ecx
mov word [ebp + 0x84], ax
call fcn.0040d0d0
add esp, 0xc
push 0x1f
lea edx, [ebp + 0x84]
push edx
call fcn.00407d70
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x408185
lea edx, [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp + eax*2 + 0x84], cx
lea eax, [ebp + 0x84]
push 0x41ad40
push eax
call fcn.00408f0c
add esp, 0xc
cmp eax, 1
jne 0x408185
mov eax, dword [ebp - 0x14]
mov dword [0x420088], eax
jmp 0x408255
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40819f
push 0x5c0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x4081b3
push ebx
push esi
call fcn.004084d0
jmp 0x4081b5
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x420088], eax
test eax, eax
jne 0x4081d7
push 0x41ba70
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.0040d082
push eax
lea edx, [ebp + 0x84]
push 0x41ad40
push edx
mov edi, 1
call fcn.0040945e
add esp, 0xc
lea esi, [ebp + 0x84]
call fcn.00407eb0
test eax, eax
jne 0x40824e
push 0x41ba70
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 3
call fcn.0040d082
call fcn.00407f50
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x420088]
test esi, esi
je 0x40823f
call fcn.004085b0
mov dword [0x420088], 0
jmp 0x408246
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x40824c
ret
mov eax, dword [0x420088]
xor esi, esi
inc dword [eax + 0x5bc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
jne 0x40826d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x420088
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.0040875a
add ebp, 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x4082a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4174b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x41d1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x420088]
xor edi, edi
cmp ecx, edi
jne 0x4082eb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x4082f8
mov dword [ebp - 0x14], edi
jmp 0x408310
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4083a6
mov ecx, dword [0x420088]
mov eax, dword [ecx]
cmp eax, edi
je 0x4082d7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4082d7
mov ebx, 0x420088
mov dword [ebp - 4], edi
call fcn.004083c0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x40834e
push 0x41ba70
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0040d082
mov ecx, dword [0x420088]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x408368
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x408392
push 0x41ba70
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0040d082
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x408389
call fcn.004086d0
mov eax, 0x40838f
ret
mov eax, dword [0x420088]
mov eax, dword [eax]
test eax, eax
je 0x4083a4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4083c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x4083ed
xor ecx, ecx
jmp 0x4083f9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x4084ad
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x408420
mov dword [esp + 0xc], esi
jmp 0x408480
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x408479
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40846c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x408480
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x408480
push 0x41ad48
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x408480
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x4084a3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x408412
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x4084c1
mov ecx, dword [ebx]
add ecx, 8
call fcn.00408600
test eax, eax
je 0x4084c1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x4084d0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4174db
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x41d1a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0040d0d0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x408568
push 0x41ba70
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0040d082
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x40875a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d1a0]
jne 0x408764
repz ret
jmp fcn.00409c9d
Function at 0x41093c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ac07
and dword [ebp - 4], 0
cmp dword [0x41f2e4], 0
mov ebx, eax
jne 0x4109ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410a9e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x410a9e
push eax
call fcn.0040ab95
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41f2e4], eax
call esi
push eax
call fcn.0040ab95
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41f2e8], eax
call esi
push eax
call fcn.0040ab95
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41f2ec], eax
call esi
push eax
call fcn.0040ab95
pop ecx
mov dword [0x41f2f4], eax
test eax, eax
je 0x4109ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ab95
pop ecx
mov dword [0x41f2f0], eax
mov eax, dword [0x41f2f0]
cmp eax, ebx
je 0x410a45
cmp dword [0x41f2f4], ebx
je 0x410a45
push eax
call fcn.0040ac10
push dword [0x41f2f4]
mov esi, eax
call fcn.0040ac10
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410a45
test edi, edi
je 0x410a45
call esi
test eax, eax
je 0x410a3c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410a3c
test byte [ebp - 0xc], 1
jne 0x410a45
or dword [ebp + 0x10], 0x200000
jmp 0x410a7e
mov eax, dword [0x41f2e8]
cmp eax, ebx
je 0x410a7e
push eax
call fcn.0040ac10
pop ecx
test eax, eax
je 0x410a7e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410a7e
mov eax, dword [0x41f2ec]
cmp eax, ebx
je 0x410a7e
push eax
call fcn.0040ac10
pop ecx
test eax, eax
je 0x410a7e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41f2e4]
call fcn.0040ac10
pop ecx
test eax, eax
je 0x410a9e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410aa0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434c33
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4050f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403010
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 4
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 1
mov dword [ebp - 0x28], 1
jmp 0x434d04
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xac]
jo 0x434eed
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xb0]
jg 0x434e81
mov dword [ebp - 4], 6
push dword [0x4592a0]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0xa0], ax
mov word [ebp - 0x9c], 1
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004381e9
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 8
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x70], 0x4592a0
mov dword [ebp - 0x78], 0x4008
lea eax, [ebp - 0x38]
push eax
movsx eax, word [ebp - 0xa4]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 7
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 8
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 9
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xa
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
jmp 0x434cf2
mov dword [ebp - 4], 0xc
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
call fcn.0040ee08
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0x434ed9
jmp 0x434ed8
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x10022da
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov cx, word [eax]
cmp cx, 0x22
push 2
pop edx
jne 0x100229a
add eax, edx
mov cx, word [eax]
test cx, cx
je 0x1002292
cmp cx, 0x22
jne 0x1002282
cmp word [eax], 0x22
jne 0x10022b2
jmp 0x10022b0
cmp cx, 0x20
jbe 0x10022b2
add eax, edx
cmp word [eax], 0x20
ja 0x10022a0
jmp 0x10022b2
cmp cx, 0x20
ja 0x10022ba
add eax, edx
mov cx, word [eax]
test cx, cx
jne 0x10022aa
push 0xa
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.01001f41
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.01002e8c
jmp 0x1002270

Function at 0x100294f
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [0x1004024]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100298d
push dword [0x1004028]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x1334a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x135b010]
push edi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x3b0377
nop
push eax
nop
call 0x77dee026
mov ebx, eax
push 0x13649e8
mov dword [ebp - 4], ebx
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
mov byte [ebx + edi], 0
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x1334b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call 0x75a643d3
nop
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x13649e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x1334b06
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
push 0x13649e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x3b037c
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1336ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x1336f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
nop
call 0x75a59910
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x1336fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1336fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x1336f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x75a59910
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x1336fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x1336fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x1336fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.015690f4]
push eax
call dword [fcn.01569088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x1336f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.01337590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x182eaf0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x15690e0]
test esi, esi
jne 0x182eb08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x182eb01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x182eb01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x182eb6a
jmp 0x182eb50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x1568bf0]
add eax, esi
call fcn.0182c610
test eax, eax
je 0x182eb73
inc edi
cmp edi, dword [ebp - 4]
jb 0x182eb50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1b1e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01b1e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1b1e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b1e06a
add dl, dl
jne 0x1b1e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b1e0dc
xor eax, eax
add dl, dl
jne 0x1b1e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b1e17d
add dl, dl
jne 0x1b1e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b1e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b1e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b1e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1b1e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1b1e075
mov eax, 1
add dl, dl
jne 0x1b1e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b1e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b1e0e1
sub eax, ebx
mov ebx, 1
jne 0x1b1e128
mov ecx, 1
add dl, dl
jne 0x1b1e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b1e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b1e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b1e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1b1e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b1e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b1e136
cmp eax, 0x7d00
jae 0x1b1e16d
cmp eax, 0x500
jb 0x1b1e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b1e075
cmp eax, 0x7f
ja 0x1b1e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b1e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1b1e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1b1e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40646f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406493
xor eax, eax
test eax, eax
je 0x4064a5
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4064a5
xor ecx, ecx
jmp 0x4064a8
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x7a1afc], 0
push esi
jne 0x4065cb
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065a5
mov dword [ecx*4 + 0x7a1af8], eax
inc ecx
cmp ecx, 0x100
jl 0x4065a0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065fc
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1af8]
xor eax, esi
inc ecx
dec edx
jne 0x4065de
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x12ccfc74
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12ccfc7e
pushal
call 0x12ccfc84
pop ebp
sub ebp, 0x10
sub ebp, 0x2ccfc74
mov al, byte [esp + 0x28]
cmp al, 1
je 0x12ccfca8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x12ccfcb1
mov eax, 0x2ccfc74
add eax, ebp
add eax, 0x63
mov ecx, 0x5dd
mov edx, 0x1ee896c1
xor byte [eax], dl
inc eax
dec ecx
jne 0x12ccfcc8
jmp 0x12ccfcdb
dec edx
or al, 0x4a
dec eax
std
rol ecx, 0xc1
inc eax
add byte [ecx], bh
rol ecx, 0xc1
ret 0x790c