joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a20
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x9c
mov ecx, dword [0x41bcf4]
mov eax, dword [0x41bcf8]
mov edi, dword [esp + 0xac]
test eax, eax
jne 0x410b15
test ecx, ecx
jne 0x410b15
cmp dword [0x417b44], 0
je 0x410b57
lea esi, [esp + 0x18]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x80
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleFileNameA
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0x5c
call fcn.004107b4
test eax, eax
jne 0x410aa2
mov dword [esp], esi
mov dword [esp + 4], 0x3a
call fcn.004107b4
test eax, eax
je 0x410aa5
inc eax
mov esi, eax
mov dword [esp + 0x98], 0
call sub.KERNEL32.DLL_GetVersion
mov ecx, 0x12010
test eax, eax
jns 0x410af5
call sub.KERNEL32.DLL_GetCurrentThreadId
lea ecx, [esp + 0x98]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x410c20
call sub.USER32.DLL_EnumThreadWindows
sub esp, 0xc
mov ecx, 0x12010
cmp dword [esp + 0x98], 0
jne 0x410af5
mov ecx, 0x11010
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.USER32.DLL_MessageBoxA
sub esp, 0x10
jmp 0x410be1
test ecx, ecx
je 0x410b2c
cmp ecx, 0xffffffff
je 0x410be1
mov dword [esp], edi
call ecx
mov eax, dword [0x41bcf8]
test eax, eax
je 0x410be1
cmp eax, 0xffffffff
je 0x410be1
cmp byte [eax], 0
je 0x410be1
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004108ec
jmp 0x410be1
mov dword [esp], 0xfffffff4
call sub.KERNEL32.DLL_GetStdHandle
sub esp, 4
mov esi, eax
lea ebx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x417994
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
mov dword [esp], edi
call fcn.0040a504
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x417994
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
add esp, 0x9c
pop esi
pop edi
pop ebx
ret
Function at 0x411a6c
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x41fd28]
test eax, eax
je 0x411ab3
mov ecx, dword [eax]
xor edi, edi
test ecx, ecx
je 0x411b3e
add eax, 4
xor edi, edi
nop word cs:[eax + eax]
cmp byte [ecx], 1
sbb ecx, ecx
lea edi, [edi + ecx + 1]
mov ecx, dword [eax]
add eax, 4
test ecx, ecx
jne 0x411a9c
jmp 0x411b3e
mov esi, dword [0x41fd64]
test esi, esi
jne 0x411ae0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov esi, eax
mov dword [0x41fd64], esi
test esi, esi
jne 0x411ae0
mov dword [esp], str.GetEnvironmentStrings_failed
call fcn.00410c00
mov esi, dword [0x41fd64]
mov dword [esp], esi
call fcn.0040a504
xor ebx, ebx
mov ebp, 1
xor edi, edi
test eax, eax
je 0x411b14
mov ebp, esi
nop dword [eax + eax]
lea ebp, [ebp + eax + 1]
mov dword [esp], ebp
lea ebx, [eax + ebx + 1]
inc edi
call fcn.0040a504
test eax, eax
jne 0x411afc
inc ebx
mov ebp, ebx
mov dword [esp], ebp
call fcn.00407ce0
mov ecx, eax
mov dword [0x41fd24], ecx
xor eax, eax
test ecx, ecx
je 0x411be9
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.0040a224
lea eax, [edi + 4]
mov dword [0x41fd2c], eax
add edi, 5
mov dword [esp], edi
mov dword [esp + 4], 4
call fcn.00407cc8
mov esi, eax
xor eax, eax
test esi, esi
je 0x411be9
mov edi, dword [0x41fd28]
test edi, edi
je 0x411b9b
mov edx, dword [edi]
test edx, edx
je 0x411bd6
lea eax, [edi + 4]
xor ecx, ecx
nop
cmp byte [edx], 0
jne 0x411b8c
dec ecx
jmp 0x411b8f
mov dword [esi + ecx*4], edx
inc ecx
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x411b7c
jmp 0x411bd2
mov ebx, dword [0x41fd24]
mov dword [esp], ebx
call fcn.0040a504
test eax, eax
je 0x411bde
mov ebp, esi
nop word cs:[eax + eax]
mov dword [ebp], ebx
lea ebx, [eax + ebx + 1]
mov dword [esp], ebx
add ebp, 4
call fcn.0040a504
test eax, eax
jne 0x411bbc
test edi, edi
je 0x411bde
mov dword [esp], edi
call fcn.00407cf0
mov dword [0x41fd28], esi
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405e03
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a3f8]
jne 0x405e0d
repz ret
jmp fcn.0040b886

Function at 0x406a3c
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.004031a5
and dword [ebp - 4], 0
cmp dword [0x41ba10], 0
mov ebx, eax
jne 0x406aed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406b9e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406b9e
push eax
call fcn.00403133
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41ba10], eax
call esi
push eax
call fcn.00403133
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41ba14], eax
call esi
push eax
call fcn.00403133
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41ba18], eax
call esi
push eax
call fcn.00403133
pop ecx
mov dword [0x41ba20], eax
test eax, eax
je 0x406aed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403133
pop ecx
mov dword [0x41ba1c], eax
mov eax, dword [0x41ba1c]
cmp eax, ebx
je 0x406b45
cmp dword [0x41ba20], ebx
je 0x406b45
push eax
call fcn.004031ae
push dword [0x41ba20]
mov esi, eax
call fcn.004031ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406b45
test edi, edi
je 0x406b45
call esi
test eax, eax
je 0x406b3c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406b3c
test byte [ebp - 0xc], 1
jne 0x406b45
or dword [ebp + 0x10], 0x200000
jmp 0x406b7e
mov eax, dword [0x41ba14]
cmp eax, ebx
je 0x406b7e
push eax
call fcn.004031ae
pop ecx
test eax, eax
je 0x406b7e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406b7e
mov eax, dword [0x41ba18]
cmp eax, ebx
je 0x406b7e
push eax
call fcn.004031ae
pop ecx
test eax, eax
je 0x406b7e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41ba10]
call fcn.004031ae
pop ecx
test eax, eax
je 0x406b9e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406ba0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4155e0
Capabilities:
Encrypt data using rc4 ksa
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + 0x41c798], al
inc eax
cmp eax, 0x100
jne 0x4155f0
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov edi, dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov dword [0x455cec], ecx
mov dword [0x455cf0], ecx
cmp ecx, 0x219e
jae 0x41562e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov ecx, dword [0x455cf0]
xor edx, edx
mov eax, ecx
div dword [ebp + 8]
movsx eax, byte [edx + 0x41aff0]
movzx edx, byte [ecx + 0x41c798]
add edx, dword [0x455cec]
add edx, eax
mov dword [0x455cec], edx
cmp ecx, 0x9e4
jae 0x415687
push 0
push 0
push 0
call esi
lea eax, [esp + 0x20]
push eax
push 0
call edi
push str.viximubici_milu_vekuxatahodowifirakebe_wojogogize_yasuxatojeneyamokexezocolawe
push str.vojusifoce_hajeriraxogunewoniceze_casovekuvurahedelivofozoleku
push str.Ho_calokijafiyofagicudunomi_zenahudibufufozagaye_zejuhavasolobokazituvosunovi_kulerowusavujurowipa
push 0
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
mov ecx, dword [0x455cf0]
mov eax, dword [0x455cec]
mov bl, byte [ecx + 0x41c798]
and eax, 0xff
mov dl, byte [eax + 0x41c798]
mov dword [0x455cec], eax
mov byte [ecx + 0x41c798], dl
cmp ecx, 0x33f
jae 0x4156c7
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ecx, dword [0x455cf0]
mov edx, dword [0x455cec]
inc ecx
mov byte [edx + 0x41c798], bl
mov dword [0x455cf0], ecx
cmp ecx, 0x100
jne 0x415616
pop edi
xor eax, eax
pop esi
mov dword [0x455cec], eax
mov dword [0x455cf0], eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4269c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426a08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426a08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426a08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426a08
cmp dword [ecx + 0x74], 0xe
jbe 0x426a08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438db0
Capabilities:
Parse pe header

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

Function at 0x40103c
Capabilities:
Terminate process

Disassembly:
mov dword [0x402475], eax
mov edx, eax
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edi, edi
call dword [sym.imp.kernel32.dll_GetVersion]
xor esi, esi
push dword [0x403587]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401075
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret

Function at 0x4033a3
Capabilities:
Get graphical window text

Disassembly:
add esi, dword [0x56db2108]
mov ecx, dword [eax + ecx*2]
jnp 0x4033d1
call 0xf35c641c
mov esi, dword [eax]
sbb al, 0xf3
inc ebp
clc
mov esi, esp
cwde
inc ebp
clc
jmp 0x40338d
jnp 0x4033c0
jns 0x403381
jnp 0x403405
cld
mov eax, ecx
mov ecx, dword [ebx + 0x1c]
or dword [ebx + 0x84b8b0b], 0x24491d79
xor byte [eax], al
pop eax
add al, 0x23
inc eax
invalid
push 0xfffffffffffffff0
push 0xfffffffffffffff0
push 0x303303
out dx, eax
adc eax, 0x30358c
inc eax
push 0x30327f
xor byte [eax], al
inc eax
inc dword [0xf0403100]
mov dword [0x303594], eax
dec eax
push 0x3032d8
inc eax
inc dword [0xf0403100]
mov dword [0x303598], eax
mov bl, 0xf
je 0x4033e4
pcmpeqb mm3, mm4
invalid

Function at 0x403462
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x4025b0
mov ecx, dword [0x403222]
shr ecx, 1
dec ecx
mov bl, byte [0x403226]
rdtsc
push eax
mov bh, byte [esi]
inc esi
mov byte [edi], bh
inc edi
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
loop 0x403482
rdtsc
pop edx
sub eax, edx
sub esp, 0x18
push 0
push dword [0x40245d]
call dword [sym.imp.Msacm32.dll_acmStreamOpen]
pop edx
sub edx, eax
push edx
push 0
push 0
push 0x4032fa
call dword [fcn.0040359c]
push 0x4032b5
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [fcn.00403590], eax
push 0
push 2
push 0x4032f8
push 0x4032c4
call dword [fcn.00403590]
pop edx
sub edx, eax
ret
Function at 0x40124f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x403100], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x40136e
push 1
push dword [0x403100]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x403108], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x403108]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x40136e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x401351
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40e29a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e2a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e290
mov eax, 1
add ebx, ebx
jne 0x40e2b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e2a8
jne 0x40e2c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2a8
xor ecx, ecx
sub eax, 3
jb 0x40e2d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e34a
mov ebp, eax
add ebx, ebx
jne 0x40e2e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e2f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e314
inc ecx
add ebx, ebx
jne 0x40e300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e2f5
jne 0x40e311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e334
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e325
jmp 0x40e296
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e334
add edi, ecx
jmp 0x40e296
pop esi
mov edi, esi
mov ecx, 0xa8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e352
cmp byte [edi], 5
jne 0x40e352
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40e357
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e3c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10810]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10838]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e384
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1083c]
or eax, eax
je 0x40e3c0
mov dword [ebx], eax
add ebx, 4
jmp 0x40e3a1
call dword [esi + 0x1084c]
mov ebp, dword [esi + 0x10840]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40e3fa
sub esp, 0xffffff80
jmp 0x401d5b
Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x907d60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4aa000]
push edi
jmp 0x907d7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x907d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x907d70
mov eax, 1
add ebx, ebx
jne 0x907d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x907da4
jne 0x907dc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x907dc3
dec eax
add ebx, ebx
jne 0x907db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x907d88
add ebx, ebx
jne 0x907dbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x907e15
xor ecx, ecx
sub eax, 3
jb 0x907ddb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x907e4a
sar eax, 1
mov ebp, eax
jmp 0x907de6
add ebx, ebx
jne 0x907de6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x907db4
inc ecx
add ebx, ebx
jne 0x907df4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x907db4
add ebx, ebx
jne 0x907e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x907df6
jne 0x907e12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x907df6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x907e34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x907e26
jmp 0x907d76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x907e34
add edi, ecx
jmp 0x907d76
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x907e52
cmp byte [edi], 0x11
jne 0x907e52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x907e57
lea edi, [esi + 0x500000]
mov eax, dword [edi]
or eax, eax
je 0x907ecf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x92a1c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92a340]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x907e84
mov ecx, edi
jns 0x907eb3
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 + 0x92a344]
or eax, eax
je 0x907ec9
mov dword [ebx], eax
add ebx, 4
jmp 0x907ea1
call dword [esi + 0x92a354]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x907f00
cmp al, 0xef
ja 0x907ef3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x907ed5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x907ee2
mov ebp, dword [esi + 0x92a348]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x907f34
sub esp, 0xffffff80
jmp 0x420577
Function at 0x1000a260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000a2b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000a2b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000a2aa
cmp esi, edx
jae 0x1000a2b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000a298
cmp esi, edx
jae 0x1000a2b9
cmp word [esi], 0
je 0x1000a2b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10011850
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa4b1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10145fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0xf
lea ecx, [edi + 4]
mov byte [edi + 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [edi], 0
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], 0
jb 0x100118ba
mov ecx, dword [edi + 4]
mov byte [ecx], 0
mov ebx, dword [ebp + 0xc]
mov ecx, esi
push ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.1009bab0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1001194a
cmp eax, 8
je 0x100118eb
cmp eax, 7
jne 0x10011a1a
sub esp, 0x18
lea eax, [esi + 0x20048]
mov ecx, esp
push eax
call fcn.10007a20
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10011a1a
push ebx
mov ecx, esi
call fcn.1009bab0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1001194a
sub esp, 0x18
mov ecx, esp
push 0x14
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.rpc_client_send_fail
mov byte [ecx], 0
call fcn.1000af60
mov ecx, esi
call fcn.1009c260
jmp 0x10011a1a
xorps xmm0, xmm0
mov dword [ebp - 0x24], 1
movups xmmword [ebp - 0x20], xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.1009b890
cmp dword [esi + 0xc], 0
je 0x1001197d
lea ecx, [ebp - 0x24]
call fcn.10008d60
jmp 0x10011a1a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
test eax, eax
jle 0x100119ed
push 4
call fcn.100b21dc
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 4
mov edx, dword [ebp - 0x14]
sub ecx, eax
cmp edx, ecx
jae 0x100119c4
mov ecx, dword [edx + eax]
mov dword [ebx], ecx
add dword [ebp - 0x14], 4
cmp dword [ebp - 0x24], 0
jne 0x100119c0
lea eax, [ebx + 4]
push eax
push ebx
call fcn.10073d1f
add esp, 8
mov eax, dword [ebx]
mov dword [edi], eax
push ebx
call fcn.100b21e5
add esp, 4
lea eax, [edi + 4]
lea ecx, [ebp - 0x24]
push eax
call fcn.100058f0
cmp dword [edi], 0
jne 0x100119ea
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100058f0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10011a1a
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10011a10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011a35
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov ecx, dword [esi + 0xc]
mov eax, edi
mov dword [edi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.100d129a
int3