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

Disassembly:
push 0x14
mov eax, 0x1002ddaf
call fcn.1002b0d2
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002275c
cmp dword [ebp - 0x18], 1
jne 0x1002275c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100130fa
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x1002275c
push dword [ebp - 0x14]
push ebx
push esi
call fcn.100130fa
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10022751
cmp dword [ebp - 0x18], 1
jne 0x10022751
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x14], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100130fa
mov dword [edi], eax
pop ecx
test eax, eax
je 0x10022751
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.100130fa
lea eax, [ebp - 0x20]
push eax
push 0x100333c8
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x10022735
push ebx
call fcn.100130fa
pop ecx
test al, al
je 0x10022735
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x10022751
push dword [edi]
call fcn.1002b601
and dword [edi], 0
pop ecx
jmp 0x10022751
test esi, esi
je 0x1002275c
push esi
call fcn.1002b601
pop ecx
call fcn.1002b030
ret

Function at 0x10022f02
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x10033124
xor esi, esi
call fcn.100130fa
pop ecx
test eax, eax
jne 0x10022f23
push 0x1003313c
call fcn.100130fa
pop ecx
test eax, eax
je 0x10022f26
xor esi, esi
inc esi
cmp byte [0x1003cdfb], 0
jne 0x10022f38
cmp byte [0x1003cdfa], 0
je 0x10022f6e
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x1003d640
push edi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10022f5d
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10022f6d
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x100252bb
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x1003cdfb], 0
jne 0x100252fd
cmp byte [0x1003cdfa], 0
je 0x10025334
movzx eax, bl
mov esi, 0x1003e1a8
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10025324
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10025334
push esi
call fcn.10005eb0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x1003cdfb], 0
jne 0x1002534b
cmp byte [0x1003cdfa], 0
je 0x1002537d
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x1003e1a8
push esi
call fcn.100130fa
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1002536d
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002537d
push esi
call fcn.10005eb0
pop ecx
mov al, 1
pop esi
ret
Function at 0x10028be1
Capabilities:
Print debug messages

Disassembly:
push esi
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x10028bfe
push 8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x1003cdfb], 0
jne 0x10028c14
cmp byte [0x1003cdfa], 0
je 0x10028d53
push edi
push 0x64
push str.sizeof__t_ASMBlock____d
mov edi, 0x1003e5f8
push edi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028c3a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028c53
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028c5c
cmp byte [0x1003cdfa], 0
je 0x10028c7c
push 4
push str.sizeof_Uns32____d
push edi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028c7c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028c95
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028c9e
cmp byte [0x1003cdfa], 0
je 0x10028cbe
push 4
push str.sizeof_HANDLE____d
push edi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028cbe
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028cd7
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028ce0
cmp byte [0x1003cdfa], 0
je 0x10028d00
push 4
push str.sizeof_Handle32____d
push edi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028d00
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028d19
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028d22
cmp byte [0x1003cdfa], 0
je 0x10028d42
push 4
push str.sizeof_void____d
push edi
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028d42
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028d52
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, esi
pop esi
ret

Function at 0x10028dec
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x1002e03a
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, 0x1003e5f8
mov edi, dword [ebp + 8]
jne 0x10028e17
mov al, byte [0x1003cdfa]
test al, al
jne 0x10028e17
lea esi, [edi + 4]
jmp 0x10028e2e
lea esi, [edi + 4]
push esi
push str.ASM_Release__s
push ebx
call fcn.100130fa
mov al, byte [0x1003cdfa]
add esp, 0xc
test al, al
je 0x10028e39
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028e49
push ebx
call fcn.10005eb0
pop ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100130fa
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028d9
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10028e7c
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x28]
call fcn.100031be
and dword [edi + 0x4c], 0
and dword [edi + 0x44], 0
call fcn.1002b045
ret
Function at 0x10028e92
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x1002e067
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x10028ebf
cmp byte [0x1003cdfa], 0
je 0x10028f0e
call fcn.100130fa
test al, al
mov edx, 0x1002fb8c
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x1003e5f8
call fcn.100130fa
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028efa
push 0x1003e5f8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028f0e
push 0x1003e5f8
call fcn.10005eb0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.100130fa
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028d9
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100031be
test ebx, ebx
jne 0x10028f8c
cmp byte [0x1003cdfb], bl
jne 0x10028f58
cmp byte [0x1003cdfa], bl
je 0x10029000
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x1003e5f8
push ebx
call fcn.100130fa
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x10028f7a
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10029000
push ebx
call fcn.10005eb0
pop ecx
jmp 0x10029000
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x10028fbb
cmp byte [0x1003cdfb], al
jne 0x10028fb4
cmp byte [0x1003cdfa], al
je 0x10029000
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x10028f5d
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x10028ff0
cmp byte [0x1003cdfb], al
jne 0x10028fe6
cmp byte [0x1003cdfa], al
je 0x10029000
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x10028f5d
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.1002b045
ret
Function at 0x42fe28
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405228
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42fe76
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405498
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433ef8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43402b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x421ca8]
call fcn.00421da8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x434001
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00421e48
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405498
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x434040
call fcn.00405540
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00421fd0
lea ecx, [ebp - 4]
mov edx, 0x43407c
mov eax, dword [ebp - 0xc]
call fcn.00422248
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e918
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x433fe4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x434088
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4744a4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433feb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4340d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43411f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x434102
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x434113
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43411f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4482ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4754bc]
cmp byte [eax + 0xc], 0
je 0x448419
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448412
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ac5c], 0
jne 0x448300
push 0x448420
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x448428
push ebx
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac5c], eax
cmp dword [0x4745e8], 0
jne 0x4483fb
push 0x448438
call sub.kernel32.dll_LoadLibraryA_1
mov dword [0x4745e8], eax
cmp dword [0x4745e8], 0
je 0x4483fb
push 0x448444
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac60], eax
push 0x448454
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac64], eax
push 0x448468
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac68], eax
push 0x448480
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac6c], eax
push 0x448498
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac70], eax
push 0x4484ac
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac74], eax
push 0x4484c4
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac78], eax
push 0x4484dc
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac7c], eax
push 0x4484f8
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac80], eax
push 0x448504
mov eax, dword [0x4745e8]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x47ac84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448419
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42cb6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x439f2c]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x43d570
mov dword [esp + 0x1c], edi
call fcn.00423e35
lea ecx, [esp + 0xc]
or eax, 0xffffffff
mov dword [esi + 0x10], edi
push ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 8], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.00422c26
lea edx, [esp + 0xc]
push edx
call fcn.00422c26
lea eax, [esp + 0xc]
push eax
call fcn.00422c26
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4010a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42cb90
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
xor ebx, ebx
lea eax, [edi + 0x2c]
mov dword [esp + 0x18], ebx
push eax
push ecx
push edx
call fcn.00423f41
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 1
call fcn.00423de5
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.00423cf8
mov eax, dword [edi]
push 1
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x1c]
push ebx
push ebx
push ecx
call fcn.004148c0
mov ecx, dword [edi + 0x20]
xor ebp, ebp
add eax, ecx
mov dword [esi + 0x30], ebx
adc edx, ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
lea edx, [esi + 0x18]
lea eax, [edi + 4]
push edx
push eax
mov dword [esi + 0x2c], ebx
call fcn.00401170
lea ecx, [esi + 0x1c]
lea edx, [edi + 0xc]
push ecx
push edx
call fcn.00401170
lea eax, [esi + 0x20]
add edi, 0x14
push eax
push edi
call fcn.00401170
mov ecx, dword [esp + 0x40]
add esp, 0x18
mov dword [esi], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.00423cf8
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4028c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42ce11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x439f2c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 4]
mov dword [ebp], eax
mov ecx, dword [0x439f2c]
lea ebx, [esi + 0x2c]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.00401330
mov ecx, ebp
mov byte [esp + 0x1c], 2
mov dword [esi], 0x42f8c4
call fcn.00423c83
mov ebp, 1
mov ecx, ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.00423c83
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x20], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], 0x32
mov dword [esi + 0x58], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42cec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x439f2c]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
lea ebp, [esi + 0x30]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x2c], 1
call fcn.00402330
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push ecx
lea edi, [esi + 4]
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.00423a6d
mov ecx, esi
call fcn.00402e80
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x402e44
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402e44
push 0x4380c0
lea ecx, [esp + 0x10]
call fcn.00424088
push 0x2a
mov ecx, edi
call fcn.00424173
cmp eax, 0xffffffff
jne 0x402e06
push 0x3f
mov ecx, edi
call fcn.00424173
cmp eax, 0xffffffff
jne 0x402e06
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call fcn.00423a6d
mov ecx, ebp
call fcn.00401cc0
jmp 0x402e44
mov esi, dword [esi + 8]
push 0
push 0
push esi
push 0
push esi
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00423a6d
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x44], 2
call fcn.00423a6d
mov ecx, ebp
mov byte [esp + 0x40], 1
call fcn.00401780
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00423cf8
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00423cf8
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x1c
ret
Function at 0x403590
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x42cf88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov eax, dword [0x439f2c]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00422de6
cmp eax, 0xffffffff
je 0x40360c
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00422d6e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.00423de5
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 2
call fcn.00423cf8
push 0x4380c0
lea ecx, [esp + 0xc]
call fcn.004231a1
push 0x5c
lea ecx, [esp + 0x24]
call fcn.00422de6
cmp eax, 0xffffffff
pop esi
je 0x40367d
lea ecx, [esp + 8]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00422d6e
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 4
call fcn.00423de5
lea ecx, [esp + 8]
mov byte [esp + 0x14], 2
call fcn.00423cf8
mov edx, dword [esp]
push 0
push edx
call fcn.00415273
add esp, 8
test eax, eax
jne 0x40367d
mov eax, dword [esp]
mov ecx, dword [esp + 4]
push eax
push ecx
call fcn.00415065
add esp, 8
test eax, eax
je 0x40367d
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.00423cf8
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.00423cf8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00423cf8
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4036c0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x42cfc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x439f2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea esi, [ecx + 4]
mov bl, 2
push 0x5c
mov ecx, esi
mov byte [esp + 0x20], bl
call fcn.00422de6
cmp eax, 0xffffffff
je 0x40372f
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00422d6e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.00423de5
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.00423cf8
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc]
call fcn.00423de5
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edx
call esi
push 0x5c
lea ecx, [esp + 0xc]
call fcn.00422de6
cmp eax, 0xffffffff
je 0x4037c2
push edi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.00422d6e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00423de5
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00423cf8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.00415065
add esp, 8
test eax, eax
je 0x4037b1
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
mov edi, dword [edx - 8]
cmp eax, edi
jle 0x4037b1
push ecx
call esi
push 0x5c
lea ecx, [esp + 0x10]
call fcn.00422de6
cmp eax, 0xffffffff
jne 0x40375b
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00423cf8
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00423cf8
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00423cf8
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x404650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp method.CDialog.virtual_184
mov eax, 0x42e65c
call fcn.00416ab4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0042b2d5
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x425687
call fcn.0042b2d5
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425695
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4256a3
or eax, 0xffffffff
jmp 0x42578b
mov ecx, esi
call fcn.004255be
mov dword [ebp - 0x14], eax
call fcn.004263d1
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4256da
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4256da
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00426385
push dword [ebp - 0x14]
call fcn.00425ed3
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00425356
cmp eax, edi
je 0x42574d
test byte [esi + 0x24], 0x10
je 0x42571b
push 4
mov ecx, esi
pop ebx
call fcn.004243b5
test ah, 1
je 0x425713
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00427edb
cmp dword [esi + 0x1c], edi
je 0x42574d
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00424410
jmp 0x42574d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x425761
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42577a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42577a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004255f8
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret