joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2045b850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047bef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x28]
mov cl, byte [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
mov byte [esi + 0x10], cl
mov dword [esi + 4], edx
call sub.MFC80U.DLL_Ordinal_2366
push eax
push 0x2a5
lea ecx, [esi - 0x74]
call fcn.2042c140
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x2045b8da
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
cmp dword [esp + 0x14], 0
je 0x2045b8ed
mov edx, dword [esp + 0x10]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0x10

Function at 0x2045c0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047bef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x28]
mov cl, byte [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
mov byte [esi + 0x10], cl
mov dword [esi + 4], edx
call sub.MFC80U.DLL_Ordinal_2366
push eax
push 0x165
lea ecx, [esi - 0x74]
call fcn.2042c140
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x2045c12a
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
cmp dword [esp + 0x14], 0
je 0x2045c13d
mov edx, dword [esp + 0x10]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0x10
Function at 0x20460b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047bef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x28]
mov cl, byte [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
mov byte [esi + 0x10], cl
mov dword [esi + 4], edx
call sub.MFC80U.DLL_Ordinal_2366
push eax
push 0x25f
lea ecx, [esi - 0x74]
call fcn.2042c140
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x20460b8a
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
cmp dword [esp + 0x14], 0
je 0x20460b9d
mov edx, dword [esp + 0x10]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0x10
Function at 0x20462850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x204804ad
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CFirewallDoc.0
mov dword [esp + 0x1c], 0xf
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x30]
push eax
call edi
lea ecx, [esi + 0x48]
push ecx
call edi
mov cl, 0xe
mov byte [esp + 0x1c], cl
lea eax, [esi + 0x484]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], cl
push eax
call fcn.2043fd30
mov cl, 0xd
mov byte [esp + 0x1c], cl
lea eax, [esi + 0x448]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], cl
push eax
call fcn.2043ee90
mov byte [esp + 0x1c], 0xc
lea ecx, [esi + 0x3d0]
call fcn.2040f8e0
mov byte [esp + 0x1c], 0xb
lea ecx, [esi + 0x358]
call fcn.2040f8e0
mov byte [esp + 0x1c], 0xa
lea edx, [esi + 0x340]
push edx
call fcn.20411e40
mov byte [esp + 0x1c], 9
lea ecx, [esi + 0x2c8]
call fcn.2040f8e0
mov byte [esp + 0x1c], 8
lea ecx, [esi + 0xec]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x1c], 7
lea eax, [esi + 0xd8]
push eax
call fcn.20411e40
mov byte [esp + 0x1c], 6
mov eax, dword [esi + 0xc8]
test eax, eax
mov edi, vtable.CArray_unsigned_long_int__unsigned_long_int_.0
mov dword [esi + 0xc4], edi
je 0x20462955
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x1c], 5
mov eax, dword [esi + 0xb4]
test eax, eax
mov dword [esi + 0xb0], edi
je 0x20462973
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x1c], 4
mov eax, dword [esi + 0xa0]
test eax, eax
mov dword [esi + 0x9c], edi
je 0x20462991
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x1c], 3
mov eax, dword [esi + 0x8c]
test eax, eax
mov dword [esi + 0x88], edi
je 0x204629af
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x1c], 2
mov eax, dword [esi + 0x78]
test eax, eax
mov dword [esi + 0x74], edi
je 0x204629c7
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x1c], 1
mov eax, dword [esi + 0x64]
test eax, eax
mov dword [esi + 0x60], edi
je 0x204629df
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x1c], 0
lea ecx, [esi + 0x1c]
push ecx
call fcn.2040dc20
mov dword [esp + 0x1c], 0xffffffff
add esi, 8
push esi
call fcn.2040dc20
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x2046be40
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x694]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov edi, dword [esp + 0xc]
je 0x2046be6e
mov ecx, dword [esi + 0x694]
push edi
push 0
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 4], 0x100
jne 0x2046bead
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x20]
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x2046be94
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [edi + 8], 9
jne 0x2046bead
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x2046bead
pop edi
xor eax, eax
pop esi
ret 4
push edi
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5199
pop edi
pop esi
ret 4
Function at 0x20472510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047bef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x28]
mov al, byte [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
mov byte [esi + 0x18], al
mov dword [esi + 4], ecx
call sub.MFC80U.DLL_Ordinal_2366
push eax
push 0x24d
lea ecx, [esi - 0x74]
call fcn.2042c140
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x2047258c
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
cmp dword [esp + 0x14], 0
je 0x2047259f
mov edx, dword [esp + 0x10]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc

Function at 0x20473000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047bef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x28]
mov al, byte [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
mov byte [esi + 0x18], al
mov dword [esi + 4], ecx
call sub.MFC80U.DLL_Ordinal_2366
push eax
push 0x256
lea ecx, [esi - 0x74]
call fcn.2042c140
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x2047307c
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
cmp dword [esp + 0x14], 0
je 0x2047308f
mov edx, dword [esp + 0x10]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x20477690
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc0]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov edi, dword [esp + 0xc]
je 0x204776be
mov ecx, dword [esi + 0xc0]
push edi
push 0
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 4], 0x100
jne 0x20477700
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0x20]
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x204776e7
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [edi + 8], 9
jne 0x20477700
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x20477700
pop edi
xor eax, eax
pop esi
ret 4
push edi
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5199
pop edi
pop esi
ret 4

Function at 0x20478952
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x204a31e0]
jne 0x2047895c
repz ret
jmp fcn.20478f0f
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
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 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push str.Executing_shellcode..._n
call fcn.00401010
add esp, 4
push 0x40
push 0x1000
push 0x129
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40107a
push str.Error_allocating_memory_for_shellcode._n
call fcn.00401010
add esp, 4
lea eax, [ebx + 1]
pop ebx
ret
push esi
push edi
push str.hello
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x402190]
add al, 3
push esi
push 0x402158
mov byte [esi + 0x4034a8], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x129
jb 0x401091
xor esi, esi
nop dword [eax]
mov eax, esi
imul eax, esi
push eax
push 0x40215c
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x64
jl 0x4010c0
push 0x129
push 0x129
push 0x129
push str._d__d__d
call fcn.00401010
add esp, 0x10
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x4034a8]
sub al, 3
push esi
push 0x402158
mov byte [esi + 0x403378], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x129
jb 0x4010f7
push 0x40216c
call fcn.00401010
mov ecx, 0x4a
mov esi, 0x403378
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call ebx
push str.Shellcode_execution_complete._n
call fcn.00401010
add esp, 8
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x401961
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019a0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019a0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019a0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019a0
cmp dword [ecx + 0x74], 0xe
jbe 0x4019a0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x83bad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x216000]
push edi
or ebp, 0xffffffff
jmp 0x83baf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x83baf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83bae8
mov eax, 1
add ebx, ebx
jne 0x83bb0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x83bb1c
jne 0x83bb3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83bb3b
dec eax
add ebx, ebx
jne 0x83bb28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x83bb00
add ebx, ebx
jne 0x83bb37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x83bb8d
xor ecx, ecx
sub eax, 3
jb 0x83bb53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x83bbc2
sar eax, 1
mov ebp, eax
jmp 0x83bb5e
add ebx, ebx
jne 0x83bb5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83bb2c
inc ecx
add ebx, ebx
jne 0x83bb6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83bb2c
add ebx, ebx
jne 0x83bb79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x83bb6e
jne 0x83bb8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x83bb6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x83bbac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x83bb9e
jmp 0x83baee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x83bbac
add edi, ecx
jmp 0x83baee
pop esi
mov edi, esi
mov ecx, 0x4cd3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x83bbca
cmp byte [edi], 0x31
jne 0x83bbca
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 0x83bbcf
lea edi, [esi + 0x433000]
mov eax, dword [edi]
or eax, eax
je 0x83bc3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x43b1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x43b218]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x83bbfc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x43b21c]
or eax, eax
je 0x83bc38
mov dword [ebx], eax
add ebx, 4
jmp 0x83bc19
call dword [esi + 0x43b22c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x83bc6f
cmp al, 0xef
ja 0x83bc62
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x83bc44
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x83bc51
mov ebp, dword [esi + 0x43b220]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x83bca3
sub esp, 0xffffff80
jmp 0x5d953a
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x408928
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
add edi, edi
or esi, esi
call fcn.00408949
xor dword [eax], ebx
inc eax
or edi, edi
and esi, esi
cmp eax, ecx
jne fcn.00408928
sub edi, esi
ret
Function at 0x6fc370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6fc38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x725074
push ecx
mov edi, eax
call fcn.00710198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6fc3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0071002e
push esi
call fcn.0070ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6ff850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6ff8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x72a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6ff8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007101e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6ff8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x72a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6ff92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00711082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6ff957
mov word [eax], si
add eax, 2
push eax
call fcn.00711030
add esp, 4
jmp 0x6ff959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6ff8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6ff8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6ffff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x700080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7000c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x725458
push ecx
call fcn.007101e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007101e1
add esp, 0x10
jmp 0x7000d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0071020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0070fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00700050
mov eax, dword [0x72a728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x70013b
push esi
call fcn.006fffb0
add esp, 4
mov dword [0x72a728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x70014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.006ffff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x703440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7034b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x70348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x703471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x70347e
add edx, ecx
cmp ebx, edx
jb 0x70348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x703467
xor ecx, ecx
jmp 0x7034a2
test eax, eax
jne 0x703492
xor ecx, ecx
jmp 0x7034a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007033c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7038f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x703921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x703946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x70396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x703993
push ecx
push esi
call fcn.007034c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret