joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429414
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x455d50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4294ac
push 0x445d74
push 4
push eax
call fcn.0042a544
push eax
call fcn.00413f60
add esp, 0x10
push ebx
push edi
call fcn.0042ba66
mov edi, dword [eax]
call fcn.0042ba66
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0042ba03
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042ba66
cmp dword [eax], ebx
je 0x4294c3
call fcn.0042ba66
push dword [eax]
call fcn.00411fe0
pop ecx
jmp 0x4294ca
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x429457
jmp 0x429551
call fcn.0042ba66
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x42954d
cmp dword [ebp - 0x234], esi
jae 0x42954d
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0042ace0
add esp, 0xc
push 0x445984
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x42953c
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42953c
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42953c
push ebx
push ebx
push esi
jmp 0x429545
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42954f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004042c0
leave
ret
Function at 0x436392
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042e3c3
and dword [ebp - 4], 0
cmp dword [0x459fe0], 0
mov ebx, eax
jne 0x436443
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4364f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4364f4
push eax
call fcn.0042e351
mov dword [esp], 0x44736c
push edi
mov dword [0x459fe0], eax
call esi
push eax
call fcn.0042e351
mov dword [esp], 0x447358
push edi
mov dword [0x459fe4], eax
call esi
push eax
call fcn.0042e351
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459fe8], eax
call esi
push eax
call fcn.0042e351
pop ecx
mov dword [0x459ff0], eax
test eax, eax
je 0x436443
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e351
pop ecx
mov dword [0x459fec], eax
mov eax, dword [0x459fec]
cmp eax, ebx
je 0x43649b
cmp dword [0x459ff0], ebx
je 0x43649b
push eax
call fcn.0042e3cc
push dword [0x459ff0]
mov esi, eax
call fcn.0042e3cc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43649b
test edi, edi
je 0x43649b
call esi
test eax, eax
je 0x436492
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x436492
test byte [ebp - 0xc], 1
jne 0x43649b
or dword [ebp + 0x10], 0x200000
jmp 0x4364d4
mov eax, dword [0x459fe4]
cmp eax, ebx
je 0x4364d4
push eax
call fcn.0042e3cc
pop ecx
test eax, eax
je 0x4364d4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4364d4
mov eax, dword [0x459fe8]
cmp eax, ebx
je 0x4364d4
push eax
call fcn.0042e3cc
pop ecx
test eax, eax
je 0x4364d4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459fe0]
call fcn.0042e3cc
pop ecx
test eax, eax
je 0x4364f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4364f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40102d
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x401036
xor al, al
ret
cmp dword [esi + 0x18], 0x10
push edi
lea edi, [esi + 4]
jb 0x401044
mov eax, dword [edi]
jmp 0x401046
mov eax, edi
cmp byte [eax], 0
jne 0x401081
push ebx
push 1
push 0
mov ecx, esi
call fcn.0040edda
cmp dword [esi + 0x18], 0x10
mov ebx, dword [esi + 0x14]
jb 0x401062
mov edi, dword [edi]
mov eax, 0x90
sub eax, ebx
xor ecx, ecx
test ebx, ebx
jle 0x401080
mov dl, cl
sub dl, al
add dl, byte [edi + ecx]
xor dl, al
mov byte [edi + ecx], dl
inc ecx
cmp ecx, ebx
jl 0x40106f
pop ebx
mov al, 1
pop edi
ret

Function at 0x40118e
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
push 0x18
mov eax, 0x442a3c
call 0x42b74d
mov edi, dword [ebp + 8]
lea ebx, [edi + 4]
mov esi, ebx
call fcn.0040ed8f
and dword [ebp - 4], 0
lea esi, [edi + 0x20]
call fcn.0040ed8f
lea esi, [edi + 0x3c]
call fcn.0040ed8f
mov byte [ebp - 4], 2
xor esi, esi
lea eax, [ebp - 0x1c]
mov ecx, ebx
mov dword [edi], esi
call fcn.00402045
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
mov ecx, ebx
call fcn.00402025
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00401fbf
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
push eax
call fcn.0041d121
mov ebx, dword [eax]
add esp, 0xc
mov dword [eax], esi
push dword [ebp - 0x10]
call fcn.004273e1
pop ecx
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push ebx
mov dword [edi], eax
call fcn.004273e1
pop ecx
mov eax, edi
call 0x42b825
ret 4
Function at 0x40140b
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x458060]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x60
mov eax, 0x442856
call 0x42b74d
movzx ecx, byte [ebp + 0x440]
mov eax, dword [ebp + 0x438]
push ecx
push dword [ebp + 0x43c]
xor ebx, ebx
push eax
push str.start_worker:_url_s__count_d__show_d
push ebx
mov dword [ebp - 0x10], eax
call fcn.0041cd40
xor eax, eax
add esp, 0x14
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov esi, 0x104
push esi
lea eax, [ebp + 0x1c]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x44c9c8
lea eax, [ebp]
push eax
call fcn.00402095
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.00402095
push 0x44c9cc
lea eax, [ebp]
push eax
call fcn.00402095
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x44d224
push esi
lea edi, [ebp + 0x224]
call section..text
add esp, 0xc
push str.___mgr
lea eax, [ebp]
push eax
call fcn.00402095
mov eax, edi
push eax
lea eax, [ebp]
push eax
call fcn.00402095
push dword [ebp + 0x43c]
push 0x44d224
push esi
call section..text
add esp, 0xc
push str.___count
lea eax, [ebp]
push eax
call fcn.00402095
mov eax, edi
push eax
lea eax, [ebp]
push eax
call fcn.00402095
mov eax, str.___show_1
cmp byte [ebp + 0x440], bl
jne 0x401519
mov eax, str.___show_0
push eax
lea eax, [ebp]
push eax
call fcn.00402095
push dword [ebp - 0x10]
lea esi, [ebp - 0x10]
call fcn.0041d232
mov esi, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call fcn.004273e1
pop ecx
pop ecx
push str.___task
lea eax, [ebp]
push eax
call fcn.00402095
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0041d121
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp]
push eax
call fcn.00402095
push dword [ebp - 0x14]
call fcn.004273e1
push 0x40
lea eax, [ebp - 0x68]
push ebx
push eax
call 0x42b020
add esp, 0x10
push 5
pop eax
mov word [ebp - 0x3c], ax
xor eax, eax
cmp dword [ebp + 0x18], 8
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x6c], 0x44
jae 0x4015ab
lea eax, [ebp + 4]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40160a
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x24]
push esi
call fcn.004273e1
pop ecx
push ebx
push 1
lea esi, [ebp]
call fcn.004021f4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.004273ec
add ebp, 0x430
leave
ret 0xc
xor edi, edi
jmp 0x4015d1
Function at 0x40160e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40162c
push 0xa
push eax
call ebx
cmp eax, 0x102
je 0x401691
mov eax, dword [ebp + 8]
call fcn.0041e469
mov dword [ebp - 8], eax
call fcn.00402648
test al, al
jne 0x401691
push esi
mov esi, dword [edi]
test esi, esi
je 0x401663
push 0x7d0
push esi
call ebx
test eax, eax
je 0x40165c
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
push 0x44ca44
lea esi, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.0041e180
pop esi
test eax, eax
jne 0x401681
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040140b
mov dword [edi], eax
pop ebx
leave
ret 8
Function at 0x4019ea
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x443e46
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [0x45c068]
call fcn.00420c10
test al, al
je 0x401b80
cmp byte [esi + 0x24], 0
jne 0x401a3f
push 0
push 0
push 0x40195f
mov byte [esi + 0x24], 1
call fcn.004278c5
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401a59
add eax, 0x927c0
cmp eax, ebp
ja 0x401aaa
mov dword [esi + 0xc], ebp
mov eax, dword [esi + 8]
test eax, eax
je 0x401a69
call eax
mov edi, eax
jmp 0x401a6b
xor edi, edi
test edi, edi
je 0x401aaa
lea eax, [esp + 0x14]
push 3
push eax
call fcn.0041b8be
pop ecx
pop ecx
and dword [esp + 0x38], 0
cmp dword [eax + 0x18], 0x10
jb 0x401a8d
mov eax, dword [eax + 4]
jmp 0x401a90
add eax, 4
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 8]
or dword [esp + 0x38], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.0040ed44
cmp byte [0x45be08], 0
jne 0x401af1
cmp ebp, 0x927c0
jb 0x401af1
cmp byte [0x45c065], 0
jne 0x401af1
mov eax, dword [esi + 8]
mov byte [0x45be08], 1
test eax, eax
je 0x401ad8
call eax
mov edi, eax
jmp 0x401ada
xor edi, edi
test edi, edi
je 0x401af1
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
push 0
push 1
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [esi + 8]
test eax, eax
je 0x401afe
call eax
mov edi, eax
jmp 0x401b00
xor edi, edi
cmp dword [esi + 0x20], 0xffffffff
je 0x401b4a
mov ebp, 0x2710
test edi, edi
je 0x401b2b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov bl, al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
je 0x401b4a
cmp dword [esi + 0x20], 0
jne 0x401b36
call ebx
mov dword [esi + 0x20], eax
call ebx
mov ecx, dword [esi + 0x20]
add ecx, ebp
cmp ecx, eax
ja 0x401b4a
or dword [esi + 0x20], 0xffffffff
call 0x44171f
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x401b80
test eax, eax
jne 0x401b69
call ebx
mov dword [esi + 0x10], eax
test edi, edi
je 0x401b69
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esi + 0x14], eax
call ebx
mov ecx, dword [esi + 0x14]
add ecx, dword [esi + 0x10]
cmp ecx, eax
ja 0x401b80
call ebx
push esi
mov dword [esi + 0x10], eax
call fcn.0040177d
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x406774
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push dword [esp + 0x10]
mov esi, 0x400000
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4067d7
push ebx
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4067a9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4067ad
xor eax, eax
jmp 0x4067d6
mov esi, dword [esp + 0x10]
push edi
push eax
lea eax, [edi + 1]
push eax
call fcn.00407cb0
push eax
call 0x42c8a0
add esp, 0xc
mov eax, edi
call fcn.00406756
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
ret

Function at 0x4067da
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x442e1c
call 0x42b74d
mov esi, ecx
call fcn.00406c79
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
xor edi, edi
cmp eax, edi
je 0x4068bb
mov eax, dword [0x45b1e4]
mov ecx, 0x45b1e4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
call fcn.00406c79
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_d._s
call fcn.00406bcb
add esp, 0x10
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4068ac
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
je 0x4068a3
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebx + 0xa]
push eax
mov dword [ebp - 0x14], edi
call fcn.00407cb0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x40689a
cmp dword [ebp - 0x14], ebx
jne 0x40689a
mov eax, ebx
call fcn.00406756
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407eb6
xor eax, eax
inc eax
jmp 0x4068df
xor eax, eax
mov edx, esi
call fcn.00407cd6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407eb6
push dword [ebp + 0xc]
movzx eax, word [ebp + 8]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
jne 0x4068d6
xor eax, eax
jmp 0x4068df
push eax
push esi
call fcn.00406774
pop ecx
pop ecx
call 0x42b825
ret

Function at 0x407a9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407ab1
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x407ae6
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x407ae2
cmp edi, eax
jae 0x407ae6
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x407ad4
cmp edi, eax
jb 0x407aea
xor eax, eax
jmp 0x407af3
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x40d5a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40d5b6
push 0xd
pop eax
jmp 0x40d5e9
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40d5bd
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x40da75
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x458060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
mov dword [ebp - 0x21c], eax
xor esi, esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0040da42
mov ebx, eax
cmp ebx, esi
je 0x40dadd
cmp dword [ebp - 0x214], esi
je 0x40dad6
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40db78
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40db05
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040da75
mov dword [ebp - 0x220], eax
cmp eax, esi
jne 0x40db89
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], pe_nt_image_headers32
call ebx
test eax, eax
je 0x40dae5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], esi
je 0x40db50
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], esi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x214], esi
je 0x40db76
push dword [ebp - 0x214]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273ec
leave
ret 4
cmp dword [ebp - 0x214], esi
je 0x40db9d
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x40db78
Function at 0x4109b3
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4109fa
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4109f3
cmp dword [esp + 4], 0x1b
jne 0x4109da
push 0
push 2
jmp 0x4109e5
cmp dword [esp + 4], 0xd
jne 0x4109f3
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x388], 0
ret 4

Function at 0x410ab0
Capabilities:
Check os version

Disassembly:
push ebx
xor ebx, ebx
inc ebx
test byte [0x45c298], bl
jne 0x410b7a
or dword [0x45c298], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
xor edx, edx
cmp ecx, 5
jbe 0x410ada
mov eax, ebx
jmp 0x410aeb
jae 0x410ae0
xor eax, eax
jmp 0x410aeb
shr eax, 8
xor cl, cl
cmp cl, al
sbb eax, eax
neg eax
neg eax
sbb eax, eax
and eax, 0x20000
or eax, 0xb
push 0x48
mov dword [0x45ae6c], eax
xor eax, eax
push edx
push 0x45aeac
mov dword [0x45ae70], 0x40f070
mov dword [0x45ae74], edx
mov dword [0x45ae78], edx
mov dword [0x45ae7c], edx
mov dword [0x45ae80], edx
mov dword [0x45ae84], edx
mov dword [0x45ae88], 6
mov dword [0x45ae8c], edx
mov dword [0x45ae90], edx
mov dword [0x45ae94], edx
mov dword [0x45ae98], edx
mov dword [0x45ae9c], edx
mov dword [0x45aea0], 0x7f00
mov dword [0x45aea4], ebx
mov word [0x45aea8], ax
mov word [0x45aeaa], ax
call 0x42b020
add esp, 0xc
mov eax, 0x45ae68
pop ebx
ret

Function at 0x4125cd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
inc edi
mov esi, ecx
cmp eax, 0xf
jne 0x4125fc
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xcc]
mov dword [eax], edi
and dword [ecx], 0
cmp dword [eax], 0
je 0x412633
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x412654
push dword [esi + 0x10]
mov dword [esi + 0xcc], edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x41262d
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41262d
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xcc], 0
jne 0x4125f3
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041ac2c
jmp 0x4125f5
cmp eax, 0x47
jne 0x412679
push dword [ebp + 0x14]
lea ebx, [esi + 0xcc]
mov eax, esi
mov dword [ebx], edi
call fcn.004124a5
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jmp 0x4125f1
cmp eax, 0x18
jne 0x412633
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 0xcc]
mov dword [ebx], edi
call fcn.0041257c
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jne 0x4125f3
jmp 0x412633
Function at 0x416d90
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x164
mov eax, 0x443a22
call 0x42b7b6
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea esi, [eax + 0x30]
push esi
call fcn.00416e3e
cmp eax, edi
je 0x416dcf
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00407eb6
mov eax, esi
call 0x42b839
ret 8
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x416e37
push 0x15c
lea eax, [ebp - 0x16c]
push edi
push eax
mov dword [ebp - 0x170], edi
call 0x42b020
add esp, 0xc
push 0x301
push 0x160
lea eax, [ebp - 0x170]
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x416e37
cmp dword [ebp - 0x170], edi
je 0x416e37
push dword [ebp + 0xc]
call fcn.00406e45
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
mov esi, dword [ebp - 0x170]
jmp 0x416dba
xor esi, esi
jmp 0x416dba

Function at 0x416e5f
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x164
mov eax, 0x443c1b
call 0x42b7b6
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
push esi
call fcn.00416e3e
cmp eax, edi
je 0x416e9a
mov esi, dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00407eb6
mov eax, esi
call 0x42b839
ret 4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x416f02
push 0x15c
lea eax, [ebp - 0x16c]
push edi
push eax
mov dword [ebp - 0x170], edi
call 0x42b020
add esp, 0xc
push 0x300
push 0x160
lea eax, [ebp - 0x170]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x416f02
cmp dword [ebp - 0x170], edi
je 0x416f02
push dword [ebp + 8]
call fcn.00406e45
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
mov esi, dword [ebp - 0x170]
jmp 0x416e85
xor esi, esi
jmp 0x416e85

Function at 0x417015
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x443d4a
call 0x42b74d
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xd4]
cmp eax, ebx
jne 0x417097
push dword [esi + 0xd0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x4170b9
mov eax, dword [esi + 0xd0]
push ecx
sub eax, 0x10
mov dword [ebp - 0x10], esp
mov edi, esp
cmp dword [esi + 0xd8], ebx
je 0x417076
call fcn.0040730d
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
call fcn.00416fd9
push eax
mov byte [ebp - 4], bl
call fcn.00416d90
jmp 0x417093
call fcn.0040730d
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.00416fd9
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00416e5f
cmp eax, ebx
je 0x4170b9
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x18]
push 3
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x14]
push ecx
push eax
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawIconEx]
call 0x42b825
ret 4