joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f340
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 0x40f37e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40f376
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40f380
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40f366
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40f450
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x40f466
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x40f481
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0xaaa390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4be000]
push edi
or ebp, 0xffffffff
jmp 0xaaa3b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaaa3b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa3a8
mov eax, 1
add ebx, ebx
jne 0xaaa3cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaaa3dc
jne 0xaaa3fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa3fb
dec eax
add ebx, ebx
jne 0xaaa3e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaaa3c0
add ebx, ebx
jne 0xaaa3f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaaa44d
xor ecx, ecx
sub eax, 3
jb 0xaaa413
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaaa482
sar eax, 1
mov ebp, eax
jmp 0xaaa41e
add ebx, ebx
jne 0xaaa41e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa3ec
inc ecx
add ebx, ebx
jne 0xaaa42c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa3ec
add ebx, ebx
jne 0xaaa439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaaa42e
jne 0xaaa44a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaaa42e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaaa46c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaaa45e
jmp 0xaaa3ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaaa46c
add edi, ecx
jmp 0xaaa3ae
pop esi
mov edi, esi
mov ecx, 0x24cb8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xaaa48a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xaaa48f
lea edi, [esi + 0x6a6000]
mov eax, dword [edi]
or eax, eax
je 0xaaa4f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6b4244]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6b4368]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaaa4b5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6b4370]
or eax, eax
je 0xaaa4f1
mov dword [ebx], eax
add ebx, 4
jmp 0xaaa4d2
call dword [esi + 0x6b436c]
mov ebp, dword [esi + 0x6b4374]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xaaa52b
sub esp, 0xffffff80
jmp 0x85dd04
Function at 0x10035bcd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp]
lea esp, [esp + 0x2c]
jae 0x1002821a
push 0xfa15e530
test bl, 0xad
cmp eax, 0x7f
jmp 0x10035cea
call fcn.100393ba
add byte [eax], al
dec esp
inc ebx
dec ebp
popal
jo 0x10035d4a
je 0x10035d6b
imul ebp, dword [esi + 0x67], 0xdd680041
cmpsb byte [esi], byte es:[edi]
fldenv [esi - 0x27117]
invalid
outsb dx, byte [esi]
invalid

Function at 0x100393ba
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sar bl, cl
shr bl, 7
mov bl, 1
test esp, 0xebc4f317
clc
push ecx
push 0xce6f2d85
xchg dword [esp + 4], esi
pop esi
push esp
mov esi, edi
push 0x938f2f03
stc
call fcn.10039613
mov bl, bh
not bl
setge bl
pushal
inc ecx
and bl, 0x31
rcr bl, 1
sete bl
xchg ebp, eax
mov bl, 0x4f
mov eax, ebp
pushfd
not bl
mov bl, 1
pushfd
mov dword [esp + 0x24], esi
adc si, 0xe298
push 0x820c158e
cmp bx, di
mov esi, edi
push 0xb73deddd
cmp si, si
jmp 0x10028bd7
push 0x47ef2642
lea esp, [esp + 0xc]
ja 0x10028e22
dec bl
inc ecx
setge bl
jno 0x10035ea8
mov bl, 0xd3
pushfd
inc ecx
sal bl, cl
not bl
bt di, ax
shl bl, 7
xchg ebp, eax
shld ax, sp, cl
mov eax, ebp
and bl, al
rol bl, 4
cmc
add esp, 4
jns 0x10035d60
mov bl, 1
bt di, di
cmp ch, ch
test al, 0x6b
push esi
shl esi, cl
btc si, 0xf
rcl si, 0xb
mov esi, edi
clc
sub esi, eax
jmp 0x10035b5b

Function at 0x1003bc45
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x3c]
ja 0x1002577b
pushal
lea esp, [esp + 0x20]
jb 0x10039933
test bh, ch
cmp byte [edi - 1], 0
pushal
jmp 0x10039ab5
pushfd
jmp 0x10029127
Function at 0x405290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443f9a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00424b67
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40534e
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
mov dword [ebp - 0x18], str.bad_locale_name
mov byte [ebp - 0x14], 1
call fcn.004286e3
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x45d1f4
push eax
call fcn.00428df0
push edi
push esi
call fcn.00424eaf
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426210
mov esp, ebp
pop ebp
ret 4

Function at 0x40bdb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4440f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00426221
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 1
mov dword [ebp - 4], eax
call fcn.00424dac
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40bfd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4440f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00426221
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 1
mov dword [ebp - 4], eax
call fcn.00424dac
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e0c0
Capabilities:
Get disk information
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x45f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [edi + 4], eax
lea esi, [edi + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
test edx, edx
je 0x40e0f1
mov byte [edx], al
push str.rpcrt4.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x40e10f
push str.rpcrt4.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40e13f
push str.UuidCreateSequential
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e13f
lea ecx, [ebp - 0x98]
push ecx
call eax
test eax, eax
jne 0x40e13f
mov eax, dword [ebp - 0x8e]
mov dword [esi], eax
mov ax, word [ebp - 0x8a]
mov word [esi + 4], ax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0xa]
push eax
push 0
push 0
push 0x4558a8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0xe
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.004242c0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00424360
push 0xa
lea eax, [ebp - 0x88]
mov dword [ebp - 0xf0], 0x67452301
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xec], 0xefcdab89
push eax
mov dword [ebp - 0xe8], 0x98badcfe
mov dword [ebp - 0xe4], 0x10325476
mov dword [ebp - 0xe0], 0xc3d2e1f0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.004242c0
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00424360
lea eax, [ebp - 0x110]
add esp, 8
cmp esi, eax
je 0x40e269
mov eax, dword [ebp - 0x110]
mov dword [esi], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x108]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x100]
mov dword [esi + 0x10], eax
push 4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.004242c0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00424360
add esp, 8
xor ecx, ecx
jmp 0x40e2d0
mov eax, dword [ebp + ecx - 0x88]
add dword [esi + ecx], eax
add ecx, 4
cmp ecx, 0x14
jne 0x40e2d0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00426210
mov esp, ebp
pop ebp
ret
Function at 0x40e300
Capabilities:
Check if file exists
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444c32
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x45f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x428], esi
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x424], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4558ac
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [esi + 0x10], 0
mov edx, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40e3b1
mov eax, dword [esi]
jmp 0x40e3b3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x40e3d1
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e3c2
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409b10
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x424], 1
jb 0x40e3f5
mov eax, dword [esi]
jmp 0x40e3f7
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40e503
push 4
push str..old
mov ecx, esi
call fcn.0040bb20
cmp dword [esi + 0x14], 8
jb 0x40e425
mov eax, dword [esi]
jmp 0x40e427
mov eax, esi
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40e503
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e4fe
cmp dword [0x462ddc], 8
mov eax, dword [0x462dc8]
jae 0x40e465
mov eax, 0x462dc8
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call edi
mov edx, eax
cmp word [edx], 0
jne 0x40e488
xor ecx, ecx
jmp 0x40e4a5
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e490
sub ecx, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409b10
cmp dword [esi + 0x14], 8
jb 0x40e4b8
mov eax, dword [esi]
jmp 0x40e4ba
mov eax, esi
push 0x4558ac
push eax
lea eax, [ebp - 0x420]
push eax
call edi
mov edx, eax
cmp word [edx], 0
jne 0x40e4e1
xor ecx, ecx
push ecx
push edx
mov ecx, esi
call fcn.00409b10
mov byte [ebx], 0
jmp 0x40e51e
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e4e6
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409b10
mov byte [ebx], 0
jmp 0x40e51e
cmp dword [esi + 0x14], 8
jb 0x40e50d
mov eax, dword [esi]
jmp 0x40e50f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
sete al
or byte [ebx], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426210
mov esp, ebp
pop ebp
ret
Function at 0x41a560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446704
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x45f070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41a5a7
cmp dword [esi + 8], 0x4f
je 0x41a5bf
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41a5c6
cmp dword [esi + 8], 0x4e
jne 0x41a5c6
xor eax, eax
jmp 0x41a6ca
cmp dword [esi + 4], 0x100
jne case.0x41a5e9.113
mov eax, dword [esi + 8]
add eax, 0xffffff90
cmp eax, 0xb
ja case.0x41a5e9.113
movzx eax, byte [eax + 0x41a6f4]
jmp dword [eax*4 + 0x41a6e8]
mov eax, dword [edi + 0x74]
mov al, byte [eax + 0xa5]
test al, al
jne case.0x41a5e9.112
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0x78]
push edx
mov dword [ebp - 0x18], 0
push 0x4494c0
mov eax, dword [ecx]
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41a639
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
jmp 0x41a6ca
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00415540
push eax
push 0xa
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0041a970
lea ecx, [ebp - 0x34]
call fcn.004047e0
mov eax, 1
jmp 0x41a6ca
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x41a5bf
mov dword [ebp - 4], 3
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push 0x449430
push ecx
call dword [eax]
test eax, eax
js 0x41a6b2
mov eax, dword [ebp - 0x1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x41a6b2
cmp eax, 1
je 0x41a6b2
mov esi, 1
jmp 0x41a6b4
xor esi, esi
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41a6c8
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426210
mov esp, ebp
pop ebp
ret 4
Function at 0x41b260
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45f070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x3c], edx
mov esi, ecx
mov dword [ebp - 0x38], eax
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x7f00
push 0
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x41b1c0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0xc], str.LIEFrameControl
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0
push str.IE_Message_Window
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x463c48
je 0x41b32f
push 0xffffffffffffffff
push 0
push ebx
mov ecx, 0x463c48
call fcn.00409c10
push 0
push 0
push 0
push 0x41b180
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, edi
mov esi, eax
call fcn.0041a700
add esp, 4
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426210
mov esp, ebp
pop ebp
ret
Function at 0x41fce0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x463c6c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x463c6c], edx
inc eax
cmp eax, 0x270
jl 0x41fcf1
mov dword [0x463c68], 0x270
pop ebp
ret 8

Function at 0x423620
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x45f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x48], esi
call fcn.004297c0
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x1f
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x44], ax
jne 0x42367d
xor ecx, ecx
jmp 0x423692
lea ecx, [ebp - 0x44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423683
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00409b10
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00426210
mov esp, ebp
pop ebp
ret
Function at 0x423880
Capabilities:
Check if file exists
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4472fc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.NamedPipeMessenger.0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4238ce
mov eax, dword [esi]
jmp 0x4238d0
mov eax, esi
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push dword [ebp + 8]
mov word [eax], cx
mov ecx, esi
call fcn.00409c10
lea edi, [ebx + 0x1c]
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x423904
mov eax, dword [edi]
jmp 0x423906
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov al, byte [ebp + 0xc]
mov edx, 0x4564e0
mov byte [ebp - 4], 1
mov byte [ebx + 0x34], al
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x14]
mov byte [ebx + 0x74], cl
lea ecx, [ebp - 0x2c]
push esi
mov dword [ebx + 0x3c], eax
call fcn.00421bb0
add esp, 4
mov esi, eax
cmp edi, esi
je 0x423975
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x42394e
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.0040a2c0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x423966
mov eax, dword [edi]
jmp 0x423968
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.00409df0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42398a
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040a2c0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [ebx + 0x48], eax
call esi
push 0
push 0
push 0
push 0
mov dword [ebx + 0x5c], eax
call esi
cmp byte [ebx + 0x34], 0
mov dword [ebx + 0x70], eax
je 0x4239ec
cmp dword [edi + 0x14], 8
jb 0x4239c5
mov edi, dword [edi]
push dword [ebp + 0x18]
push 0
push 0x800
push 0x800
push 0xff
push 6
push 0x40080003
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebx + 0x44], eax
jmp 0x423a33
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp eax, 2
jne 0x423a00
push 0x3e8
call esi
cmp dword [edi + 0x14], 8
jb 0x423a0a
mov eax, dword [edi]
jmp 0x423a0c
mov eax, edi
push 0
push 0x40000080
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4239f9
push 0
push 0
push ebx
push 0x423860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x40], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14