joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100026a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0x40
jae 0x100026b7
xor eax, eax
jmp 0x100027be
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x100026d8
xor eax, eax
jmp 0x100027be
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x3c]
add ecx, 0xf8
cmp dword [ebp + 0xc], ecx
jae 0x100026f3
xor eax, eax
jmp 0x100027be
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
cmp dword [ecx], 0x4550
je 0x1000271a
xor eax, eax
jmp 0x100027be
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, word [eax + 0x16]
and ecx, 0x2000
jne 0x10002733
xor eax, eax
jmp 0x100027be
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, word [eax + 0x16]
and ecx, 2
jne 0x10002746
xor eax, eax
jmp 0x100027be
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, word [eax + 0x14]
cmp ecx, 0xe0
je 0x1000275c
xor eax, eax
jmp 0x100027be
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0xf8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov dword [ebp - 8], 0
jmp 0x1000277f
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
movzx edx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x100027b9
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x28
mov esi, dword [ebp - 4]
mov esi, dword [esi + 0x14]
mov edx, dword [edx + eax + 0x14]
add edx, dword [esi + ecx + 0x10]
cmp edx, dword [ebp + 0xc]
jbe 0x100027b7
xor eax, eax
jmp 0x100027be
jmp 0x10002776
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10002d30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10013158]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x10002d52
xor eax, eax
jmp 0x10002ea0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.100026a0
test eax, eax
jne 0x10002d6d
xor eax, eax
jmp 0x10002ea0
mov ecx, dword [ebp - 0xc]
call fcn.100025c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10002d85
xor eax, eax
jmp 0x10002ea0
push 0x40
push 0x3000
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10002daa
xor eax, eax
jmp 0x10002ea0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.100027d0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov ecx, 8
imul ecx, ecx, 5
cmp dword [eax + ecx + 0x78], 0
jbe 0x10002df8
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov ecx, 8
imul ecx, ecx, 5
cmp dword [eax + ecx + 0x7c], 0
jbe 0x10002df8
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.100028e0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.100029b0
test eax, eax
jne 0x10002e0f
xor eax, eax
jmp 0x10002ea0
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
push 0
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10002e89
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
call ecx
push 0x8000
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
xor eax, eax
jmp 0x10002ea0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003959
mov esp, ebp
pop ebp
ret 8
Function at 0x10007bf6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10013158]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10006bb3
mov dword [ebp - 0x14], eax
cmp dword [0x10014b10], edi
jne 0x10007ce7
push 0x800
push edi
push 0x1000de80
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10007c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10007dc7
push 0x1000de80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10007dc7
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007dc7
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10014b10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10014b14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10014b18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10014b20], eax
test eax, eax
je 0x10007ce4
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10014b1c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10007d0c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10007cff
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10007d21
push 4
pop eax
jmp 0x10007dc9
cmp dword [ebp - 0x14], edi
je 0x10007d21
push dword [0x10014b10]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10007d06
mov eax, dword [0x10014b1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10007d7f
cmp dword [0x10014b20], esi
je 0x10007d7f
push eax
call ebx
push dword [0x10014b20]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10007d7f
test eax, eax
je 0x10007d7f
call ecx
test eax, eax
je 0x10007d74
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10007d74
test byte [ebp - 8], 1
jne 0x10007d7f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10007daf
mov eax, dword [0x10014b14]
cmp eax, esi
je 0x10007dac
push eax
call ebx
test eax, eax
je 0x10007dac
call eax
mov edi, eax
test edi, edi
je 0x10007dac
mov eax, dword [0x10014b18]
cmp eax, esi
je 0x10007dac
push eax
call ebx
test eax, eax
je 0x10007dac
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10014b10]
call ebx
test eax, eax
je 0x10007dc7
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10007dc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003959
leave
ret
Function at 0x402780
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 4
sbb eax, eax
inc eax
mov dword [esi + 0x230], eax
je 0x402954
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x94
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x18], 2
jne 0x4027dc
cmp dword [esp + 0xc], 5
jb 0x4027dc
mov eax, 1
jmp 0x4027de
xor eax, eax
mov dword [esi + 0x22c], eax
push ebx
xor eax, eax
push ebp
mov ecx, dword [esp + 0xbc]
push eax
mov ebp, dword [esp + 0xac]
mov edx, dword [esp + 0xc8]
push eax
push eax
push eax
push eax
push eax
push eax
push 0x80000000
lea ebx, [esi + 0x44]
push 0x406218
mov dword [esi + 0x234], ecx
push eax
mov ecx, 0x7a
mov edi, ebx
push eax
mov dword [esi + 0x40], ebp
mov dword [esi + 0x238], edx
push eax
push eax
rep stosd dword es:[edi], eax
mov dword [esi + 0x240], 0x80
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateEx
test ebp, ebp
mov dword [ebx], 0x1e8
je 0x402859
mov ebp, dword [ebp + 0x20]
test ebp, ebp
mov eax, ebp
jne 0x40285c
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0xac]
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x240]
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0xb0]
dec eax
mov dword [esi + 0x4c], edx
push eax
lea edx, [esi + 0x5c]
push ecx
push edx
mov dword [esi + 0x50], 7
call edi
mov eax, dword [esi + 0x22c]
add esp, 0xc
test eax, eax
pop ebp
pop ebx
je 0x40291e
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x40291e
push 0xff
push eax
lea eax, [esi + 0xe4]
push eax
call edi
mov eax, dword [esp + 0xc4]
add esp, 0xc
test eax, eax
je 0x4028e8
push 0x3f
lea ecx, [esi + 0x1e8]
push eax
push ecx
call edi
add esp, 0xc
jmp 0x4028ef
mov byte [esi + 0x1e8], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esi + 0x50]
or ecx, 0x10
lea eax, [eax + eax*4]
mov dword [esi + 0x50], ecx
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xc0]
shl edx, 3
mov dword [esi + 0x1e4], edx
mov dword [esi + 0x228], eax
mov eax, dword [esi + 0x22c]
pop edi
test eax, eax
je 0x40294b
mov eax, dword [esi + 0x234]
test eax, eax
je 0x40294b
mov eax, 1
mov dword [esi + 0x50], 8
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x23c], ecx
pop esi
add esp, 0x94
ret 0x28

Function at 0x403480
Capabilities:
Terminate process

Disassembly:
push 0x61
call fcn.00403400
add esp, 4
push eax
push 0x2710
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
jne 0x4034aa
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [0x406220], eax
jne 0x4034cd
push 1
call dword [sym.imp.MSVCRT.dll_exit]
ret
Function at 0x4034d0
Capabilities:
Terminate process

Disassembly:
push 0x62
mov dword [0x406224], 0
mov dword [0x406220], 0
call fcn.00403400
push eax
push 0x40624c
call fcn.00403340
add esp, 0xc
test eax, eax
jne 0x40351f
mov eax, dword [0x406224]
test eax, eax
jne 0x40350e
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [0x406228]
test eax, eax
jne 0x40358e
push 1
call dword [sym.imp.MSVCRT.dll_exit]
call fcn.00403480
push 0x7d0
call fcn.004033d0
add esp, 4
mov dword [0x406224], eax
test eax, eax
jne 0x403542
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0x80
call fcn.004033d0
add esp, 4
mov dword [0x406228], eax
test eax, eax
jne 0x403560
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0x1db0
call fcn.004033d0
add esp, 4
test eax, eax
jne 0x403579
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, 0x406260
mov dword [ecx], eax
add ecx, 4
add eax, 0x4c
cmp ecx, 0x4063f0
jl 0x40357e
ret
Function at 0x7adf80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x271000]
push edi
jmp 0x7adf9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7adfa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7adf90
mov eax, 1
add ebx, ebx
jne 0x7adfb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7adfc4
jne 0x7adfe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7adfe3
dec eax
add ebx, ebx
jne 0x7adfd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7adfa8
add ebx, ebx
jne 0x7adfdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7ae035
xor ecx, ecx
sub eax, 3
jb 0x7adffb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ae06a
sar eax, 1
mov ebp, eax
jmp 0x7ae006
add ebx, ebx
jne 0x7ae006
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7adfd4
inc ecx
add ebx, ebx
jne 0x7ae014
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7adfd4
add ebx, ebx
jne 0x7ae021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ae016
jne 0x7ae032
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ae016
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ae054
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ae046
jmp 0x7adf96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ae054
add edi, ecx
jmp 0x7adf96
pop esi
mov edi, esi
mov ecx, 0x6872
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7ae072
cmp byte [edi], 0x36
jne 0x7ae072
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 0x7ae077
lea edi, [esi + 0x3aa000]
mov eax, dword [edi]
or eax, eax
je 0x7ae0ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b3b28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b3c74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ae0a4
mov ecx, edi
jns 0x7ae0d3
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 + 0x3b3c7c]
or eax, eax
je 0x7ae0e9
mov dword [ebx], eax
add ebx, 4
jmp 0x7ae0c1
call dword [esi + 0x3b3c78]
mov ebp, dword [esi + 0x3b3c80]
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 0x7ae123
sub esp, 0xffffff80
jmp 0x4e74d1
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420004]
jne 0x40100a
repz ret
jmp fcn.00401368

Function at 0x40425b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403568
and dword [ebp - 0x14], 0
cmp dword [0x422940], 0
mov dword [ebp - 0x18], eax
jne 0x40430e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4043b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4043b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x422940], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x422944], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x422948], eax
call edi
push eax
call esi
mov dword [0x422950], eax
test eax, eax
je 0x40430e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42294c], eax
mov eax, dword [0x42294c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404367
cmp dword [0x422950], ecx
je 0x404367
push eax
call esi
push dword [0x422950]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404367
test ebx, ebx
je 0x404367
call edi
test eax, eax
je 0x40435e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40435e
test byte [ebp - 8], 1
jne 0x404367
or dword [ebp + 0x10], 0x200000
jmp 0x40439a
mov eax, dword [0x422944]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40439a
mov eax, dword [0x422948]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x422940]
call esi
test eax, eax
je 0x4043b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4043b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x41bfc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1ef4de4]
mov eax, dword [0x1ef4b08]
xor ecx, ecx
mov word [0x1ef4e00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1ef4dec], 0x6e0072
mov dword [0x1ef4df0], 0x6c0065
mov dword [0x1ef4df4], 0x320033
mov dword [0x1ef4df8], 0x64002e
mov dword [0x1ef4dfc], 0x6c006c
mov dword [0x1ef4de8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x41c140
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x182
jne 0x41c16d
lea eax, [ebp - 0x820]
push eax
push str.wosevir
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
xor esi, esi
test edi, edi
jle 0x41c1b4
cmp edi, 0x2d
jne 0x41c181
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call fcn.0041c080
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x41c1af
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc esi
cmp esi, edi
jl 0x41c174
pop esi
cmp edi, 0x2d
jne 0x41c1ce
mov dword [0x1ef5170], 0xa62e7790
mov dword [0x1ef5174], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x41c1e0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x420dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1ef4b08]
push edi
mov edi, dword [0x1ef4de4]
push eax
call fcn.0041c0f0
add esp, 4
cmp dword [0x1ef4de4], 0x2f
jne 0x41c23d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0041c140
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x27596950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275abf10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x6c], ebx
mov dword [ebp - 4], ebx
jne 0x275969a0
mov eax, 0x80048008
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
lea ecx, [ebp - 0x10]
push ecx
push 1
push ebx
push eax
push SysReAllocString
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
je 0x27596a13
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov edi, 0x80048251
call eax
add eax, 0x10
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
push ecx
push esi
mov byte [ebp - 4], 1
call fcn.2759ea40
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x27596a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x27596a63
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
push ecx
push eax
lea edx, [ebp - 0x10]
push edx
mov dword [eax], ebx
mov eax, dword [0x275b91d8]
push ebx
push eax
push esi
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x27596a4a
cmp dword [ebp - 0x10], 4
je 0x27596a58
mov eax, 0xd
jmp 0x27596a4c
jle 0x27596a56
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp esi, ebx
je 0x27596a63
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x27596a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 4], 0
jge 0x27596a99
xor esi, esi
mov eax, dword [ebx]
mov edi, dword [eax - 0xc]
cmp esi, edi
jl 0x27596ac1
add eax, 0xfffffff0
push eax
call fcn.27539d90
add esp, 4
mov ecx, eax
mov eax, dword [ebp + 8]
pop edi
add ecx, 0x10
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [eax - 0x10]
test eax, eax
je 0x27596ad5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x27596ae5
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0x10]
mov ecx, 0x275bc8c4
in al, dx

Function at 0x27596ae3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x24
mov eax, dword [0x275bacc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [0x275bacd0]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
adc eax, sym.imp.KERNEL32.dll_HeapAlloc
Function at 0x27596b10
Capabilities:
Read file on windows

Disassembly:
adc eax, sym.imp.KERNEL32.dll_HeapAlloc
mov ebx, eax
mov ecx, ebx
mov edx, dword [0x275bacd0]
call fcn.27596e23
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx eax, word [ebx]
mov ecx, dword [0x275bad04]
test eax, eax
je 0x27596e15
add al, byte [eax]
invalid
xor eax, eax
inc eax
movzx edx, word [ebx + eax*4 - 2]
lea esi, [eax + eax]
lea edi, [eax + eax - 1]
test edx, edx
je 0x27596b60
movzx edx, word [ebx + eax*4]
mov edi, esi
test edx, edx
jne 0x27596b45
mov eax, edi
lea edx, [ebx + edi*2]
movzx esi, word [edx - 2]
cmp esi, 0x5c
je 0x27596bbb
mov dword [esp + 0xc], edi
xor esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
xor edi, edi
jmp 0x27596b60

Function at 0x27596b40
Capabilities:
Read file on windows

Disassembly:
adc eax, sym.imp.KERNEL32.dll_HeapAlloc
mov ebx, eax
mov ecx, ebx
mov edx, dword [0x275bacd0]
call fcn.27596e23
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx eax, word [ebx]
mov ecx, dword [0x275bad04]
test eax, eax
je 0x27596e15
add al, byte [eax]
invalid
xor eax, eax
inc eax
movzx edx, word [ebx + eax*4 - 2]
lea esi, [eax + eax]
lea edi, [eax + eax - 1]
test edx, edx
je 0x27596b60
movzx edx, word [ebx + eax*4]
mov edi, esi
test edx, edx
jne 0x27596b45
mov eax, edi
lea edx, [ebx + edi*2]
movzx esi, word [edx - 2]
cmp esi, 0x5c
je 0x27596bbb
mov dword [esp + 0xc], edi
xor esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
xor edi, edi
jmp 0x27596b60