joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403070
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x100304e
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push esi
mov esi, ecx
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x34]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1052a55
lea eax, [ebp - 0xc]
push eax
push fcn.01003200
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
pop esi
leave
ret
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x34]
call fcn.01003200
test eax, eax
jne 0x1003080
mov eax, dword [ebp - 8]
jmp 0x1003095
Function at 0x1003840
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x8004
cmp edi, eax
mov esi, ecx
jg 0x104e87d
je 0x10040da
cmp edi, 6
jg 0x1053ef3
je 0x100639f
dec edi
je 0x100b8c8
dec edi
jne 0x10040d2
push dword [ebp + 0xc]
call fcn.01008f6e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
dec edi
dec edi
jne 0x105442c
push 1
push dword [ebp + 0xc]
call fcn.01009692
jmp 0x1003885
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 4
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.01003701
test eax, eax
jl 0x1003885
cmp edi, 0x8006
je 0x104e88e
mov esi, dword [esi + 0x94]
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [eax + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003885
push dword [ebp + 0xc]
call fcn.010037e7
test eax, eax
jne 0x1003885
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0100b8ec
jmp 0x1003885
cmp edi, 0x8006
jne 0x1003885
jmp 0x100639f
push 3
pop ebx
jmp 0x10063c9
sub edi, 7
je 0x1063b4f
sub edi, 3
je 0x1063b40
dec edi
dec edi
je 0x1063b27
sub edi, 3
jne 0x1003885
jmp 0x1063b09
dec edi
jne 0x1003885
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 4]
push ecx
push dword [eax]
mov ecx, esi
call fcn.01054450
xor eax, eax
inc eax
jmp 0x1003887
push 0x502
push 0x1063be0
call fcn.01034ccd
push dword [ebp + 0xc]
mov ecx, esi
call fcn.01099277
jmp 0x1003885
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x48]
shr eax, 0x10
and eax, 0xfff
push eax
call fcn.01070793
jmp 0x1003887
push 0
push dword [ebp + 0xc]
call fcn.0109777e
jmp 0x1003885
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp dword [eax + 0x1c], ebx
jne 0x1063b96
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x1063b96
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10b10f4]
xor edx, edx
cmp eax, dword [0x10b10f0]
sete dl
cmp ecx, ebx
je 0x1063b88
cmp eax, ecx
jne 0x1063b88
xor edx, edx
inc edx
mov edi, dword [esi + 0x38]
cmp edi, ebx
jne 0x1063bb9
cmp edx, ebx
jne 0x1063b96
mov dword [esi + 0x38], eax
push ebx
push ebx
push 0x504
push dword [0x10b10f0]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
push ebx
push ebx
push ebx
call dword [sym.imp.dwmapi.dll_Ordinal_113]
jmp 0x1054443
cmp edx, ebx
je 0x1063b96
mov ecx, esi
call fcn.010975f9
push edi
call fcn.0107afe9
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esi + 0x38], ebx
jmp 0x1054443
Function at 0x1008e32
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x14], 0
push 0
mov dword [esi], 0x10038c8
mov dword [esi + 4], 0x1008cac
mov dword [esi + 8], 0x1008ccc
mov dword [esi + 0xc], 0x1008cbc
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and dword [esi + 0x20], 0
and dword [esi + 0x24], 0
mov dword [esi + 0x1c], eax
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100e8e7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push dword [esi + 0xc]
xor edi, edi
mov dword [esi + 0x3c], edi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x100e93c
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 0xc]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x100e93c
push edi
push edi
push edi
push 0x100e940
push edi
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x104d646
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
mov dword [esi + 0x3c], 1
jmp 0x100e933

Function at 0x100fec1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push 0x40000069
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x106099c
lea eax, [ebp - 4]
push eax
add esi, 0x24
push esi
push 0
push 0x100f688
push 0x100f598
push SHChangeNotifyRegister
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100ff0d
mov dword [esi], 0xa
pop esi
leave
ret
and dword [esi + 0x24], 0
jmp 0x100ff0d

Function at 0x101030a
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov eax, dword [edi]
mov dword [ebp + 8], ebx
test eax, eax
jne 0x1060aa5
xor eax, eax
test eax, eax
jne 0x1060aac
test ebx, ebx
je 0x1010362
mov eax, dword [ebx]
test eax, eax
jne 0x1060aac
push eax
push 0x1092065
lea ecx, [ebp + 8]
call fcn.0100831c
lea ecx, [ebp + 8]
call fcn.010082dc
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x101033a
mov eax, dword [eax]
jmp 0x101032c
push 0
push 0x1092065
mov ecx, edi
call fcn.0100831c
mov eax, dword [esi + 0xc]
and dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x18]
push 0xca
mov dword [edi], ebx
push dword [eax + 0x44]
call fcn.0103c3ea
mov ebx, 0x1060b60
push ebx
mov esi, SHChangeNotifyRegister
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
inc esi
test eax, eax
jne 0x1060b51
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
je 0x1060b1d
mov eax, dword [eax]
jmp 0x1060b1f
xor eax, eax
cmp ebx, eax
jge 0x1060b48
push ebx
push dword [edi]
mov dword [ebp - 8], esi
call dword [fcn.01002b68]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0x18
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
inc ebx
jmp 0x1060b13
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.010082dc
mov eax, esi
jmp 0x101035b
Function at 0x1014cd5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x1014d59
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1014d59
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1014d52
and dword [ebp + 0xc], 0xf
jbe 0x1014d23
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x1014d19
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1014d49
push esi
movzx esi, word [eax]
neg esi
sbb esi, esi
lea edx, [eax + 2]
and esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
pop esi
mov ax, word [eax]
mov word [ecx], ax
xor eax, eax
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x1014d3d
jmp 0x1014d43
mov eax, 0x80004005
jmp 0x1014d45
call fcn.0107c06f
jmp 0x1014d45
Function at 0x10167fc
Capabilities:
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x10168a9
jmp 0x1060e63
xor eax, eax
jmp 0x10168c7
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [eax], 0
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x101681e
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x10167f0
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x10168cc
mov eax, dword [edi + 0x34]
push esi
mov esi, dword [edi + 0x38]
and esi, 3
test eax, eax
je 0x101689e
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x18
push eax
mov ebx, 0x100f278
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x1060e4a
mov ecx, edi
call fcn.01016759
mov dword [ebp + 8], eax
test eax, eax
je 0x101689d
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push ebx
push SHChangeNotifyRegister
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1060e5b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10167dc
and esi, 3
cmp esi, 2
je 0x1060e6b
cmp esi, 1
jne 0x10168c4
test byte [edi + 0x38], 0x10
jne 0x1060e7d
mov eax, esi
pop esi
pop edi
leave
ret 4
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x1016829
jmp 0x10167f0
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [eax], 1
jmp 0x101689d
mov esi, dword [ebp - 8]
jmp 0x1016894
xor esi, esi
inc esi
jmp 0x10168a9
test byte [edi + 0x38], 8
jne 0x10168c4
xor esi, esi
inc esi
jmp 0x10168c4
push 2
pop esi
jmp 0x10168c4
Function at 0x10199f1
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 8], eax
jne 0x1019aad
jmp 0x1060d47
cmp dword [ebp - 4], eax
jmp 0x10199e1
and dword [ebp - 8], 0
jmp 0x1019a2f
cmp dword [ebp - 4], eax
je 0x1019aad
jmp 0x1060d2e
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x1d
mov ebx, ecx
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
push 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop ecx
cmp eax, ecx
je 0x10197d1
cmp eax, 0x1b
je 0x10197d1
cmp eax, 0x2f
ja 0x1060d17
cmp dword [ebp - 4], 0
jne 0x1060d25
lea edx, [ebx + 4]
mov edi, 0x100d864
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019ab4
push 4
pop ecx
mov edi, 0x10142f4
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x10142e4
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x1016ab0
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x10193ec
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10197bb
push 4
pop ecx
mov edi, 0x10193dc
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10199de
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x1019aad
test eax, eax
je 0x1019aad
push eax
push 0x10195a8
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x10197c9
mov ecx, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019500
call esi
test eax, eax
je 0x1019b1e
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019458
call esi
test eax, eax
je 0x1019b29
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019400
call esi
test eax, eax
jne 0x1019aad
cmp dword [ebp - 4], 0
je 0x1019aad
jmp 0x1060d47
cmp dword [ebp - 4], eax
je 0x1019aad
jmp 0x1060d3c
cmp eax, 0x31
jbe 0x10197d1
jmp 0x1019a2f
and dword [ebp - 8], 0
jmp 0x1019a39
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x38], eax
jmp 0x1060d4b
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffe
or eax, 2
jmp 0x1060d37
and dword [ebx + 0x38], 0xfffffffc
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x18
push dword [ebx + 0x34]
mov edi, 0x100f278
push edi
mov esi, SHChangeNotifyRegister
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp eax, 2
je 0x1060d81
cmp eax, 3
jne 0x1019aad
mov eax, dword [ebx + 0x38]
push 4
and eax, 3
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x18
push dword [ebx + 0x34]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x1019aad
Function at 0x101a8f1
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x630], ecx
mov esi, 0x80070057
test eax, eax
je 0x101a9d8
push edi
push eax
mov edi, 0x201
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.0100665f
mov esi, eax
test esi, esi
jl 0x101a9d7
push ebx
push 0x5c
lea eax, [ebp - 0x428]
push eax
call sub.SHLWAPI.dll_StrChrW
mov ebx, eax
test ebx, ebx
je 0x101a9bb
lea ecx, [ebp - 0x428]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x628]
push eax
call fcn.0101cdca
mov esi, eax
test esi, esi
jl 0x101a9d6
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x62c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x1068767
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1068754
push 0x2b
pop eax
mov word [ebx], ax
test esi, esi
jl 0x101a9d6
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x630]
call fcn.0100665f
mov esi, eax
pop ebx
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 0xc
add ebx, 2
push ebx
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.0100665f
jmp 0x106876c
call fcn.0101af08
mov esi, eax
jmp 0x101a9bb
Function at 0x101cd19
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, 0x80004005
test edi, edi
je 0x101cdb3
push esi
push 0x5c
push edi
call sub.SHLWAPI.dll_StrChrW
mov esi, eax
test esi, esi
je 0x10686ba
lea eax, [esi + 2]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x101cdb2
sub esi, edi
sar esi, 1
push esi
mov esi, dword [ebp - 0x28]
push edi
push dword [ebp + 0x10]
push esi
call fcn.0101cdca
mov ebx, eax
test ebx, ebx
jl 0x101cdb2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x101cdb2
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10686b2
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 0x14
mov word [esi], ax
jmp 0x101cdb2
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x101cdb2
cmp dword [ebp + 0x10], 0
jbe 0x101cdb2
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx], ax
jmp 0x101cdb2
Function at 0x101cfcf
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x428], ecx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.0101a8f1
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jl 0x101d0e0
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101ced7
mov edi, eax
cmp edi, ebx
jl 0x101d0e0
push 0x101d100
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e33
mov edi, eax
cmp edi, ebx
jl 0x101d0e0
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e33
mov edi, eax
cmp edi, ebx
jl 0x101d0e0
push 0x101d0f4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e33
mov edi, eax
cmp edi, ebx
jl 0x101d0e0
push ebx
push 0x80
push 3
push ebx
push 1
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, 0xffffffff
je 0x106886e
lea ecx, [ebp - 0x41c]
push ecx
push eax
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp dword [ebp - 0x41c], ebx
ja 0x101d0cf
cmp esi, ebx
jne 0x10687f8
mov edi, 0x800703ee
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 0xc
cmp esi, 0xffffffff
je 0x101d0cf
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0101bc47
mov edi, eax
cmp edi, ebx
jl 0x101d0d4
push ebx
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x418]
push eax
push esi
push ebx
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x106885b
cmp dword [ebp - 0x418], esi
je 0x1068847
mov edi, 0x80004005
jmp 0x1068862
mov eax, dword [ebp - 0x424]
mov dword [eax], ebx
mov eax, dword [ebp - 0x428]
mov dword [eax], esi
xor ebx, ebx
jmp 0x1068862
call fcn.0107c7dc
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x101d0d4
call fcn.0107c7dc
mov edi, eax
jmp 0x101d0e0
Function at 0x101d289
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10688a7
push ebx
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp - 4], edi
ja 0x101d31d
cmp eax, 0xffffffff
je 0x101d31d
mov esi, dword [ebp + 0xc]
push esi
push eax
call fcn.0101bc47
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x101d30a
push edi
lea eax, [ebp + 0x10]
push eax
push dword [ebx]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1068890
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx]
jne 0x106887a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
leave
ret 0xc
mov dword [ebp + 8], 0x800703ee
jmp 0x101d30a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
mov dword [ebp + 8], 0x80004005
jmp 0x101d30a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
call fcn.0101af08
mov dword [ebp + 8], eax
jmp 0x101d30a
call fcn.0101af08
mov dword [ebp + 8], eax
jmp 0x101d315
Function at 0x101f918
Capabilities:
Get geographical location

Disassembly:
push 0x28
push eax
push 0x1003
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x104], ax
jmp 0x101f953
push 0x28
push eax
push 0x1f
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x60], ax
jmp 0x101f960
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
test eax, 0x10000000
je 0x1058ec1
lea eax, [esi + 0xb4]
cmp word [eax], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
je 0x101f482
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x101f49f
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0101fa15
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
push eax
push dword [ebp - 8]
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xffffffffffffffec
push dword [esi + 4]
call edi
push eax
push ebx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esi + 0x1ac]
cmp esi, ebx
je 0x101f9d7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push ebx
push esi
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundExtent]
test eax, eax
jl 0x101f9d7
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10b10c0]
mov eax, dword [0x10b10bc]
mov edx, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov esi, ecx
sub esi, edx
cmp esi, eax
pop ebx
jl 0x1058ec8
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop esi
leave
ret 8
xor eax, eax
jmp 0x101fa0a
lea ecx, [eax + edx]
jmp 0x101f9f7
Function at 0x101fc0d
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 0x18]
mov dword [esi + 0x350], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x354], eax
call edi
mov ebx, 0x10000000
test ebx, eax
je 0x1059b84
push dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
test eax, eax
je 0x1027d1b
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0101fc87
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x10b10f0]
call edi
test eax, eax
je 0x101fc59
jmp 0x1059bea
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x29c]
call fcn.01010eab
test eax, eax
jne 0x101fc46
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2ac]
call fcn.01010eab
test eax, eax
jne 0x101fc46
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2bc]
call fcn.01010eab
test eax, eax
jne 0x101fc46
push 0xfffffffffffffff0
push dword [esi + 0x28]
call edi
test ebx, eax
jne 0x101fc46
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x101fc7b
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x101fc59