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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edx
push ecx
push 0x1000179c
push ecx
push 0x3a
mov esi, ecx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xa0]
pop edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], 0x3f
call fcn.1000287e
test eax, eax
js 0x1000351b
push 0x27
lea eax, [ebp - 0x8c]
push eax
push esi
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
test eax, eax
js 0x1000351b
push 0x100017b4
push 0x3a
pop edx
lea ecx, [ebp - 0xa0]
call fcn.10002815
mov esi, eax
test esi, esi
js 0x1000351b
lea eax, [ebp - 0xa4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x80000000
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003519
lea eax, [ebp - 0xa8]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1000350d
lea eax, [ebp - 0xac]
mov dword [edi], ebx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xac], 0x28
push eax
push ebx
push ebx
push 0x100017c8
push dword [ebp - 0xa4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1000350b
push 0x10
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
movzx ecx, ax
add esp, 0xc
mov eax, dword [ebp - 0xb0]
cmp word [eax], 0x2e
jne 0x1000350b
mov edx, dword [ebp - 0xb4]
add eax, 2
push 0x10
push ebx
push eax
mov word [edx], cx
call dword [sym.imp.msvcrt.dll_wcstoul]
mov ecx, dword [ebp - 0xb8]
add esp, 0xc
mov word [ecx], ax
mov dword [edi], 1
mov esi, ebx
push dword [ebp - 0xa4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005bd0
leave
ret 0x10

Function at 0x10003532
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1000354d
push 0x10
lea eax, [ebp - 0x48]
sub esi, ecx
push eax
push edi
sar esi, 1
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
lea ecx, [edi + esi*2]
pop edi
pop esi
cmp dword [ebp - 0x48], ecx
jne 0x10003591
push 0x20
lea ecx, [ebp - 0x44]
push ecx
push 0x80000001
push eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
jle 0x10003591
xor eax, eax
inc eax
jmp 0x10003593
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005bd0
leave
ret
Function at 0x10004073
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
push edi
push 0x10001b5c
push 0x32
mov word [eax], cx
mov ecx, dword [ebp + 0x10]
pop edx
call fcn.100027e0
mov eax, dword [ebp + 0x18]
xor ecx, ecx
push 0x10001c24
mov word [eax], cx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x100041bd
xor edi, edi
push edi
push 1
push 0x10
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0x100041bd
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0x100041bd
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x100041bd
movzx esi, word [ebx]
mov eax, esi
shr eax, 1
add eax, esi
call fcn.10006220
mov eax, esp
push esi
push ebx
push eax
mov dword [ebp - 0xc], eax
call sub.msvcrt.dll_memcpy
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
push 0x10001b74
push esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x10004157
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp ax, word [edi*8 + 0x100010b8]
je 0x10004145
inc edi
cmp edi, 0x27
jb 0x10004133
jmp 0x10004157
push dword [edi*8 + 0x100010bc]
mov ecx, dword [ebp + 8]
push 5
pop edx
call fcn.100027e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x10001854
push esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x100041bd
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0xffffffff
je 0x100041a1
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x10001ba8
push 0x32
push dword [ebp + 0x10]
call fcn.10003bb7
mov ecx, dword [ebp - 8]
add esp, 0x1c
test byte [ecx + 0x1c], 1
mov eax, 0x10001bc0
jne 0x100041b1
mov eax, 0x10001bc8
mov ecx, dword [ebp + 0x18]
push eax
push 5
pop edx
call fcn.100027e0
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005bd0
leave
ret 0x14
Function at 0x10004265
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
mov dword [ebp - 0xc], ecx
mov eax, ebx
mov dword [ebp - 8], ebx
shr eax, 0x1e
push esi
push edi
cmp eax, 1
jbe 0x1000428e
push 2
pop edi
cmp eax, edi
je 0x10004291
xor edi, edi
inc edi
jmp 0x10004291
push 4
pop edi
mov esi, dword [0x10008d5c]
test esi, esi
je 0x100042f4
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, esi
call dword [0x1000a18c]
call esi
test eax, eax
js 0x100042f4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100042f1
mov esi, dword [ebx]
xor eax, eax
push eax
push dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
push eax
push 1
push eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, ax
push eax
movzx eax, di
push eax
push ebx
call dword [0x1000a18c]
call dword [esi + 0xc]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1000a18c]
call esi
jmp 0x10004325
mov ebx, dword [ebp - 8]
push 0x10001c3c
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x10004325
xor eax, eax
push eax
push dword [ebp + 0x14]
push eax
push 1
push eax
mov eax, dword [ebp - 0xc]
push ebx
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10004332
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x634]
push edi
push eax
mov ebx, edx
mov esi, ecx
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x42c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x250
lea eax, [ebp - 0x884]
push edi
push eax
call sub.msvcrt.dll_memset
push esi
push ebx
push 0x10001c48
lea eax, [ebp - 0x634]
push 0x104
push eax
call fcn.10003bb7
add esp, 0x44
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000441e
inc edi
cmp word [ebp - 0x42c], 0
je 0x100043f3
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jle 0x1000440c
push ecx
lea eax, [ebp - 0x858]
mov edx, 0x105
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.1000287e
lea eax, [ebp - 0x884]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x100043ce
cmp edi, dword [ebp + 8]
jb 0x100044b2
lea eax, [ebp - 0x42c]
push eax
push ebx
push 0x10001c60
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.10003bb7
add esp, 0x14
lea eax, [ebp - 0x21c]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x100044b2
xor ecx, ecx
mov edx, 0x105
mov word [eax], cx
lea ecx, [ebp - 0x21c]
push 0x10001c6c
call fcn.10002815
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
cmp esi, 0xffffffff
je 0x100044be
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005bd0
leave
ret 4
Function at 0x100044d5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov edx, 0x208
mov word [ebp - 0x414], ax
mov word [ebp - 6], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x414]
call fcn.10003cb2
test eax, eax
js 0x100045cb
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x46c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x81
push 6
pop eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push edi
push edi
push 8
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x100045b8
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push dword [ebp - 0x424]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [ebp - 0x418]
jmp 0x100045be
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x100045ca
movzx eax, ax
or eax, 0x80070000
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005bd0
leave
ret
Function at 0x10004b8f
Capabilities:
Print debug messages

Disassembly:
push 0x18
push 0x100063f0
call fcn.10005f68
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov dword [ebp - 0x20], edi
cmp dword [0x10009074], ebx
je 0x10004bbc
push 0x1000905c
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
inc edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], ebx
xor eax, eax
mov word [0x10007348], ax
cmp dword [ebp + 0x14], eax
je 0x10004bf0
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
mov edx, 0x3fd
mov ecx, 0x10007348
call fcn.10003b80
xor eax, eax
mov word [0x10007b42], ax
mov ax, word [0x10007348]
mov esi, 0x400
test ax, ax
je 0x10004c0b
push 0x10001d70
mov edx, esi
mov ecx, 0x10007348
call fcn.10002815
mov ecx, 0x10007348
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10004c13
sub ecx, edx
sar ecx, 1
sub esi, ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
call fcn.10003da0
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], ebx
je 0x10004c41
lea eax, [ebp - 0x1c]
push eax
call fcn.10003f59
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [esi]
call fcn.10003f97
cmp dword [esi], ebx
jne 0x10004c56
cmp dword [esi + 0x18], ebx
je 0x10004c67
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.10004017
lea eax, [ebp - 0x1c]
push eax
call fcn.100041d7
movzx ecx, word [esi + 4]
mov dword [ebp - 0x28], 0x10007348
lea eax, [ebp - 0x28]
push eax
sub esp, 0xc
mov edx, dword [esi + 8]
call fcn.10004265
mov eax, dword [esi + 8]
mov ecx, 0xc0000000
and eax, ecx
cmp eax, ecx
jne 0x10004c9f
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.10004d42
cmp dword [esi + 0x18], ebx
je 0x10004d2a
cmp dword [esi + 0x1c], ebx
je 0x10004d18
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
jne 0x10004cc7
cmp byte [0x7ffe02d4], al
je 0x10004d18
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push eax
push 0x10001d78
push 0x3ff
mov esi, 0x10007d58
push esi
call fcn.10003bb7
add esp, 0x20
push 0x10001e20
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
push esi
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
push 0x10001eb0
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], ebx
je 0x10004d2a
push ecx
push dword [esi + 0x1c]
push dword [ebp - 0x24]
push ecx
call fcn.10004af8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004e76
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xf8]
push edi
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf8], pe_nt_image_headers32
push eax
push 0
push 0
mov ebx, edx
mov edi, ecx
push ebx
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x10004ee8
cmp dword [ebp - 0xf8], 2
jb 0x10004f19
mov eax, dword [ebp - 0xf4]
and eax, 0xffdf
cmp eax, 0x4e
je 0x10004ee3
cmp eax, 0x59
jne 0x10004f19
mov dword [esi], 1
jmp 0x10004f19
and dword [esi], 0
jmp 0x10004f19
mov eax, dword [esi]
neg eax
push 4
sbb eax, eax
and eax, 0xb
add eax, 0x4e
mov word [ebp - 0xf4], ax
xor eax, eax
mov word [ebp - 0xf2], ax
lea eax, [ebp - 0xf4]
push eax
push 1
push 0
push ebx
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005bd0
leave
ret 4
Function at 0x1000504b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
jne 0x1000506d
push eax
push eax
push 0x1000220c
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov dword [esi], eax
test eax, eax
je 0x100051d4
push 0x10002224
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x100051d4
push 0x10002234
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
je 0x100051d4
push 0x10002244
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
je 0x100051d4
push 0x10002250
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x100051d4
push 0x10002264
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
je 0x100051d4
push 0x10002274
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x18], eax
test eax, eax
je 0x100051d4
push 0x10002284
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100051d4
push 0x10002294
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
je 0x100051d4
push 0x100022a4
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x24], eax
test eax, eax
je 0x100051d4
push 0x100022bc
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x28], eax
test eax, eax
je 0x100051d4
push 0x100022d4
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x100051d4
push 0x100022e8
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x30], eax
test eax, eax
je 0x100051d4
push 0x100022fc
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x34], eax
test eax, eax
je 0x100051d4
push 0x10002310
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x38], eax
test eax, eax
je 0x100051d4
push 0x10002324
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x3c], eax
test eax, eax
je 0x100051d4
push 0x10002334
push dword [esi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [esi + 0x40], eax
test eax, eax
je 0x100051d4
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x10005d60
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10005d9e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10005d96
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10005da0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10005d86
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10005e80
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10005eb1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10005eb1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10005eb1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1003b014
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1003b023
pop dword [ebp - 0x48]
mov eax, 0x1003b023
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x6a5c5059
add dword [ebp - 0x58], 0xe3f5f4f2
mov dword [ebp - 0x54], 0xe4c56a5f
add dword [ebp - 0x54], 0x4d6de1e6
mov dword [ebp - 0x50], 0x4917073
add dword [ebp - 0x50], 0x47bad3bb
mov dword [ebp - 0x4c], 0xad281d27
sub dword [ebp - 0x4c], 0xad281d27
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xeaa6e0f8
sub dword [ebp - 0x58], 0x763477a2
mov dword [ebp - 0x54], 0x58be7814
add dword [ebp - 0x54], 0xe8ade961
mov dword [ebp - 0x50], 0xd19eb
add dword [ebp - 0x50], 0x63625281
mov dword [ebp - 0x4c], 0xe0ea00ab
add dword [ebp - 0x4c], 0x1f15ff55
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xc0849682
sub eax, 0xb080b5fe
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3eaa4
push 0
call eax
mov ecx, 0x44ddefc6
sub ecx, 0x44dda3cc
xor edi, edi
add edi, eax
mov ebx, 0xac8075ad
add ebx, 0x63869c53
add ebx, dword [ebp - 0x48]
mov esi, 0x8284b243
sub dword [ebp - 0x10], ecx
mov edx, dword [ebx]
sub dword [ebp - 0x34], edx
xor edx, esi
mov dword [edi], edx
add dword [ebp - 0x20], ecx
add edi, 0x10db5596
sub edi, 0x10db5592
add ebx, 4
loop 0x1003b137
add eax, 0xdea55afb
add eax, 0x215bc7c0
xor ebx, ebx
add ebx, eax
add eax, 0xa5285258
sub eax, 0xa5285253
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40c249
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43181c], esi
push edi
jne 0x40c283
mov ecx, 0x431818
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40c25f
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x431c18
jl 0x40c25a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40c2b8
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431818]
xor eax, esi
inc ecx
dec edx
jne 0x40c29b
pop edi
pop esi
not eax
ret 0xc
Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa

Function at 0x7aee30
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7aee3a
pushal
call 0x7aee40
pop ebp
sub ebp, 0x10
sub ebp, 0x3aee30
jmp 0x7aee56
mov eax, 0x3aee30
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0x6ae134e8
xor byte [eax], dl
inc eax
dec ecx
jne 0x7aee6d
jmp 0x7aee80
arpl word [0xe8d46163], sp
call 0x10a45873
call 0x2666d778
push eax
in eax, dx
call 0xc0cdd77f
call 0xa9ad784
jmp 0x7aeebe
call 0xe963b0c4
call 0xccff5485
call 0xe95b5c30
call 0xe4f852ba
call 0x65ded7bf
clc
call 0x1a4d7c5
ljmp 0xa1ec