joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4300d0]
jne 0x401a1e
repz ret
jmp fcn.00402776

Function at 0x40db8d
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.00404a91
and dword [ebp - 4], 0
cmp dword [0x4390bc], 0
mov ebx, eax
jne 0x40dc3e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dcef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dcef
push eax
call fcn.00404a1f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4390bc], eax
call esi
push eax
call fcn.00404a1f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4390c0], eax
call esi
push eax
call fcn.00404a1f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4390c4], eax
call esi
push eax
call fcn.00404a1f
pop ecx
mov dword [0x4390cc], eax
test eax, eax
je 0x40dc3e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a1f
pop ecx
mov dword [0x4390c8], eax
mov eax, dword [0x4390c8]
cmp eax, ebx
je 0x40dc96
cmp dword [0x4390cc], ebx
je 0x40dc96
push eax
call fcn.00404a9a
push dword [0x4390cc]
mov esi, eax
call fcn.00404a9a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40dc96
test edi, edi
je 0x40dc96
call esi
test eax, eax
je 0x40dc8d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40dc8d
test byte [ebp - 0xc], 1
jne 0x40dc96
or dword [ebp + 0x10], 0x200000
jmp 0x40dccf
mov eax, dword [0x4390c0]
cmp eax, ebx
je 0x40dccf
push eax
call fcn.00404a9a
pop ecx
test eax, eax
je 0x40dccf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40dccf
mov eax, dword [0x4390c4]
cmp eax, ebx
je 0x40dccf
push eax
call fcn.00404a9a
pop ecx
test eax, eax
je 0x40dccf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4390bc]
call fcn.00404a9a
pop ecx
test eax, eax
je 0x40dcef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dcf1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a061
Capabilities:
Create pipe
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x4395a4]
push edi
push dword [eax]
mov edi, dword [0x4394ec]
call fcn.00429f96
cmp dword [0x4395a4], 0x2f
pop ecx
jne 0x42a0e3
push esi
push 0x42d820
push str.Covevokit
push str.Fug_yovejinofodek_xuhuroz_zemobu_konitit
lea eax, [ebp - 4]
push eax
push str.Paginipalitefap_niwewudag
push str.Somizul_hurecavaxen_jitokibikegah_wugoraz
xor esi, esi
push esi
push esi
push esi
push esi
push str.Yevefo_howaxe_zikupiminonasum_luyukuxivo_momopimut
push str.Xamayelivom_rukodobakawixud_dekej_fosucode
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
pop esi
push edi
call fcn.00429fd8
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x42a421
Capabilities:
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x4395a4], 0xbf9
jne 0x42a444
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x4395a4], 0x3dc
mov dword [0x439598], 0x8e55ceaa
jne 0x42a473
push esi
push 0x42da88
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.canofepusofijinufuj_vil_jacuvopagaruvahobidorojofutove
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x42a431
xor ebx, ebx
cmp ebx, 0x8465cd
jne 0x42a48f
mov eax, dword [0x438564]
add eax, 0xa231
mov dword [0x4395a4], eax
cmp dword [0x4395a4], 0x141
jne 0x42a4d5
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
or dword [0x43926c], 0xffffffff
mov dword [0x439268], 0xec58acac
inc ebx
cmp ebx, 0x125483c
jl 0x42a478
call fcn.0042a0ee
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7f50506e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7b0d4e77
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x414dd2
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], ebx
mov esi, 0x7c15d205
add edi, ecx
add edx, 4
and edi, edi
sub esp, 4
mov dword [esp], 0xec21d7b8
mov ecx, dword [esp]
add esp, 4
cmp edx, eax
jne fcn.00414dd2
or ecx, ecx
sub edi, esi
ret
Function at 0x401a22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4410d0]
jne 0x401a2c
repz ret
jmp fcn.004028c6

Function at 0x40f8a8
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.0040344a
and dword [ebp - 4], 0
cmp dword [0x44a100], 0
mov ebx, eax
jne 0x40f959
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fa0a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40fa0a
push eax
call fcn.004033d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44a100], eax
call esi
push eax
call fcn.004033d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44a104], eax
call esi
push eax
call fcn.004033d8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44a108], eax
call esi
push eax
call fcn.004033d8
pop ecx
mov dword [0x44a110], eax
test eax, eax
je 0x40f959
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004033d8
pop ecx
mov dword [0x44a10c], eax
mov eax, dword [0x44a10c]
cmp eax, ebx
je 0x40f9b1
cmp dword [0x44a110], ebx
je 0x40f9b1
push eax
call fcn.00403453
push dword [0x44a110]
mov esi, eax
call fcn.00403453
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f9b1
test edi, edi
je 0x40f9b1
call esi
test eax, eax
je 0x40f9a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f9a8
test byte [ebp - 0xc], 1
jne 0x40f9b1
or dword [ebp + 0x10], 0x200000
jmp 0x40f9ea
mov eax, dword [0x44a104]
cmp eax, ebx
je 0x40f9ea
push eax
call fcn.00403453
pop ecx
test eax, eax
je 0x40f9ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9ea
mov eax, dword [0x44a108]
cmp eax, ebx
je 0x40f9ea
push eax
call fcn.00403453
pop ecx
test eax, eax
je 0x40f9ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44a100]
call fcn.00403453
pop ecx
test eax, eax
je 0x40fa0a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fa0c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c1f5
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x44a5ac]
push esi
push dword [eax]
mov esi, dword [0x44a4f4]
call fcn.0043c12c
cmp dword [0x44a5ac], 0x2f
pop ecx
jne 0x43c254
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [ebp - 8], edi
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
pop edi
push esi
call fcn.0043c16e
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x43c586
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x44a5ac], 0xbf9
jne 0x43c5a1
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
cmp dword [0x44a5ac], 0x3dc
mov dword [0x44a5a0], 0x8e55ceaa
jne 0x43c5d0
push esi
push 0x43f878
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.xafecelocixupapedahesofunezodicexegenogexepumawojuyagon
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x43c58f
cmp esi, 0x8465cb
jne 0x43c5ea
mov eax, dword [0x449564]
add eax, 0xa231
mov dword [0x44a5ac], eax
cmp dword [0x44a5ac], 0x141
jne 0x43c607
or dword [0x44a274], 0xffffffff
mov dword [0x44a270], 0xec58acac
inc esi
cmp esi, 0x123c19c
jl 0x43c5d3
call fcn.0043c25f
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.e642axfx]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.e642axfx]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.e642axfx]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.e642axfx]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.e642axfx]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.e642axfx]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401b7e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, 0
mov dword [esp], 0
call sub.msvcrt.dll_malloc
mov esi, eax
mov dword [esp + 4], 0x40e000
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov edi, eax
mov eax, 0
test edi, edi
je 0x401c23
jmp 0x401bc1
mov eax, 0
jmp 0x401c23
test byte [edi + 0xc], 0x10
jne 0x401c00
inc ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_realloc
mov esi, eax
test eax, eax
je 0x401bba
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [eax + ebx - 1]
mov dword [esp], eax
call sub.msvcrt.dll_fread
test byte [edi + 0xc], 0x10
je 0x401bc7
lea eax, [ebx - 1]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00401b44
mov ebx, eax
mov dword [esp], esi
call sub.msvcrt.dll_free
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401030
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x657a68
push 0x66
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x401058
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 1
push 2
push 0
push 7
push 0x40000000
push str.C:Program_FilesFonsdkxgl.rar
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4010c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x657a8c
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4010e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 1
push 2
push 0
push 7
push 0x40000000
push str.C:Program_FilesFonsdRar.exe
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401150
Capabilities:
Create directory
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push esi
nop
nop
lea esp, [esp]
xor esi, esi
cmp esi, 6
jg 0x401182
push esi
push str.TestGoto
push str._s_:_i___d_n
call fcn.005d4a10
inc esi
add esp, 0xc
cmp esi, 0xa
jl 0x401162
jmp 0x401160
push str.test_goto_end_
call fcn.005d4a10
add esp, 4
push 0
push str.C:Program_FilesFonsd
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.00401030
call fcn.004010c0
push 1
push 0
push str._y_x__pq121__C:Program_FilesFonsdkxgl.rar___C:Program_FilesFonsd_
push str.C:Program_FilesFonsdRar.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push str.C:Program_FilesFonsdTigerTrade.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401b4b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401b82
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401b7e
jmp 0x401b70
cmp esi, eax
jae 0x401b82
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401b70
cmp esi, eax
jb 0x401b89
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x413240
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x413265
push 0x8d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00425be0
test eax, eax
je 0x413265
int3
cmp dword [ebp + 0xc], 0
jne 0x41327f
push 0x8e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00425be0
test eax, eax
je 0x41327f
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x58], 0
je 0x413321
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00413190
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4132ab
mov eax, dword [ebp + 0x10]
jmp 0x413357
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x41331a
cmp dword [ebp - 4], 4
je 0x4132fb
push 0x9c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00425be0
test eax, eax
je 0x4132fb
int3
cmp dword [ebp - 0xc], 4
je 0x413315
push 0x9d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00425be0
test eax, eax
je 0x413315
int3
mov eax, dword [ebp - 0x14]
jmp 0x413357
mov eax, dword [ebp + 0x10]
jmp 0x413357
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], 0
jne 0x41333e
push 0xa4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00425be0
test eax, eax
je 0x41333e
int3
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.004163c0
mov dword [ebp - 8], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x414998
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4149b2
push 0x113
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.00425be0
test eax, eax
je 0x4149b2
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004149f0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00405320
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x41e870
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x41e8f8
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41e8b8
push str.hAdvAPI32___0
push 0
push 0x28c
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.005d4d00
add esp, 0x14
cmp eax, 1
jne 0x41e8b8
int3
cmp dword [ebp - 8], 0
jne 0x41e8c5
mov eax, 1
jmp 0x41e916
push str.RegDeleteKeyTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41e8f6
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
jmp 0x41e916
jmp 0x41e911
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x41e911
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41e916
mov eax, 1
mov esp, ebp
pop ebp
ret 8