joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fd0
Capabilities:
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
sub esp, 0x104
xor eax, eax
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x402043
lea ecx, [esp + 0x10]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x10]
push 0x5c
push edx
call fcn.00402f60
mov edx, eax
add esp, 8
test edx, edx
jne 0x40203a
lea eax, [esp + 0x10]
push 0x2f
push eax
call fcn.00402f60
mov edx, eax
add esp, 8
test edx, edx
je 0x40203d
inc edx
jmp 0x402081
lea edx, [esp + 0x10]
jmp 0x402081
mov edi, str.Temp_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + ecx + 0x10]
mov edi, str.cabsdk.dll
or ecx, 0xffffffff
xor eax, eax
push 0xa8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00401590
cmp eax, 1
je 0x4020c8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x10]
push 2
push edx
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40211d
push str.ExtractCabFile
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402116
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x402116
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x10]
push 0x80
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
je 0x402148
push 4
lea edx, [esp + 0x14]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 8

Function at 0x40d557
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x40d599
call fcn.00410215
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40d599
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40d590
xor eax, eax
jmp 0x40d5a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0040d5a7
pop edi
pop esi
pop ebx
ret 4
Function at 0x4108f1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41091f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41093d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00410857
jmp 0x41093d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41093d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00410857
test edi, edi
mov eax, edi
jne 0x410927
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4033f5
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x40341b
cmp al, 0x22
je 0x40342b
inc esi
mov al, byte [esi]
test al, al
jne 0x40340a
cmp al, 0x22
jne 0x40342c
jmp 0x40342b
cmp al, 0x20
jle 0x40342c
inc esi
cmp byte [esi], 0x20
jg 0x40341f
jmp 0x40342c
cmp al, 0x20
jg 0x403432
inc esi
mov al, byte [esi]
test al, al
jne 0x403427
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004034a0
push 0x406004
push section..data
call fcn.00403486
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403462
movzx eax, word [ebp - 0x14]
jmp 0x403465
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004034b8
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40368a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406010]
jne 0x403694
repz ret
jmp fcn.00403868

Function at 0x4013b8
Capabilities:
Encode data using xor

Disassembly:
inc eax
add bh, bh
and eax, sym.imp.MSVBVM60.DLL___vbaFreeObj
jmp dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x66f45c
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp - 0x6c], ch
jno 0x4013e0
pushfd
retf
jns 0x401386
jp 0x4013e5
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add al, ch
adc edi, esi
add byte [eax + 0x72], dl
outsd dx, dword [esi]
push 0x65
arpl word [ecx + esi], si
test dword [eax], eax
pop eax
test dword [eax], eax
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
scasd eax, dword es:[edi]
scasd eax, dword es:[edi]
or al, 0xfc
sbb eax, 0x9845d9fb
pushfd
cli
or dword [esi], esp
cmp byte [edi + 0x5c35a740], al
out dx, eax
dec ebp
mov byte [eax + 0x25b0aa44], bh
sbb byte [eax], bl
fiadd word [edx + eax*4 + 0x3a]
dec edi
lodsd eax, dword [esi]
xor ebx, dword [ecx - 0x48ee309a]
or al, 0
stosb byte es:[edi], al
add byte [eax - 0x2d], ah
xchg ebx, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
test al, 0xdf
add byte es:[ecx], al
fldenv [esi]
add byte [eax], al
add al, 0
inc edi
pop edx
dec esp
push ebx
add byte [0xb7002301], cl
invalid
Function at 0x1033a64
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x126fdba
call fcn.01160458
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
push 0
mov ecx, edi
call fcn.01032646
lea ebx, [esi + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x1033ade
push 0x2000
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x19d
call fcn.01032be2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0103363b
push 1
push 1
push 0xa020
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.01032c16
push 0
push dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x1033ade
lea ecx, [ebp - 0x14]
call fcn.0103d890
lea ebx, [esi + 0x40]
cmp dword [ebx], 0
jne 0x1033b4a
push 0x2000
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax], 0x19f
call fcn.01032be2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0103363b
push 1
push 1
push 0xa020
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.01032c16
push 0
push dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x1033b4a
lea ecx, [ebp - 0x10]
call fcn.0103d890
mov ecx, esi
call fcn.010338dd
mov ecx, esi
call fcn.01033682
push 0x628
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
je 0x1033b9e
lea eax, [esi + 0x44]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [esi + 0x44]
push eax
push dword [edi]
push dword [ebp - 0x10]
call ebx
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x629
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1033bdb
add esi, 0x58
push esi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
push esi
push dword [edi]
push dword [ebp - 0x10]
call ebx
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x103d4e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x12d1f58]
mov eax, dword [eax + 8]
push 2
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x12d1f58]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
cmp word [eax + 0xe], 0x20
sete cl
mov al, cl
pop ebp
ret 4

Function at 0x1040803
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1270a02
call fcn.01160458
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x12d23c0]
push 0xf1
push ebx
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10408fb
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10408fb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10408fb
movzx eax, word [edi + 6]
mov dword [ebp - 0x10], eax
movzx eax, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push eax
mov ecx, esi
call fcn.0103d9a5
xor eax, eax
cmp dword [esi + 0x44], eax
jne 0x1040898
push ebx
call fcn.0103d4e5
shl al, 5
lea ecx, [esi + 0x81]
xor al, byte [ecx]
and al, 0x20
xor byte [ecx], al
movzx eax, word [edi + 6]
push eax
mov ecx, esi
call fcn.0103d95f
test al, al
je 0x10408fb
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
je 0x10408bd
push dword [ebp + 0x18]
movzx ecx, word [ebp + 0x10]
push dword [ebp + 0x14]
movsx eax, bx
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.0103d931
jmp 0x10408f0
test byte [esi + 0x81], 0x20
je 0x10408e0
push 0x2040
push eax
push eax
push eax
push ebx
push dword [0x12d23c0]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp + 8], eax
jmp 0x10408f0
push ecx
mov eax, esp
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], esp
mov dword [eax], ebx
call fcn.010a5e8f
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x10408ff
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x1040962
push dword [esi + 0x9c]
push dword [ebp + 8]
push dword [esi + 0x44]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
jne 0x104091a
xor esi, esi
jmp 0x1040954
cmp dword [ebp - 0x10], 0
jle 0x1040941
xor eax, eax
mov ax, word [edi + ebx*2 + 8]
test ax, ax
je 0x104093b
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x48]
call fcn.0103fd5b
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x1040920
push dword [esi + 0x44]
mov edi, dword [esi + 0x4c]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
xor esi, esi
cmp eax, edi
jne 0x1040954
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0103d890
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x10423df
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
and dword [edi], 0
mov esi, ecx
mov eax, dword [esi + 0xa4]
cmp eax, 0x12
je 0x1042413
cmp eax, 0x79
jne 0x104240a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x1042413
cmp dword [esi + 0xa4], 0x20
jne 0x1042485
cmp dword [ebp + 0xc], 0xf100
jne 0x1042485
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x1042442
mov ecx, esi
call fcn.01042362
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1042485
mov eax, dword [esi + 0xa4]
cmp eax, 0x20
je 0x1042485
test byte [esi + 0x80], 0x40
jne 0x104247a
mov al, byte [esi + 0x81]
test al, 2
je 0x1042471
test al, 4
jne 0x1042471
test al, 8
je 0x1042471
push 1
mov ecx, esi
call fcn.01041c31
mov ecx, esi
call fcn.01042332
jmp 0x104247f
cmp eax, 0x20
je 0x1042485
mov dword [edi], 1
and byte [esi + 0x80], 0xbf
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x10449dc
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, ecx
cmp eax, dword [esi + 4]
je 0x10449fa
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x1044a33
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x1044a0c
mov ecx, esi
call fcn.01042332
mov eax, dword [edi + 0xc]
push 0
push eax
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x80], 0xcf
push 1
push eax
mov ecx, esi
call fcn.010447b4
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x104525f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
mov edi, ecx
call esi
push dword [edi]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
mov edi, eax
call esi
cmp edi, 0xffffffff
pop edi
pop esi
pop ebx
jne 0x104528d
mov eax, 0x80004005
ret
xor eax, eax
ret
Function at 0x1046832
Capabilities:
Delete file

Disassembly:
mov eax, 0x1270f05
call fcn.01160458
sub esp, 0x68c
mov eax, dword [0x12cf8c8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x698], eax
jne 0x1046864
mov eax, 0x80004003
jmp 0x1046a89
push esi
mov esi, 0x12d2398
push edi
mov ecx, esi
call fcn.0107dfac
push eax
lea ecx, [ebp - 0x684]
call fcn.01046065
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x684]
call fcn.01045236
mov eax, dword [0x12d206c]
cmp dword [eax - 8], ebx
mov edi, 0x12d206c
jne 0x1046a46
mov dword [ebp - 0x68c], ebx
mov byte [ebp - 4], 1
push 0xf003f
mov ecx, esi
call fcn.0107cca6
push eax
push SysReAllocString
lea ecx, [ebp - 0x68c]
call fcn.01044c82
test eax, eax
jne 0x104690c
lea eax, [ebp - 0x688]
push eax
push dword [0x12ce320]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x68c]
mov word [ebp - 0x218], bx
mov dword [ebp - 0x688], 0x208
call fcn.01044cf1
test eax, eax
jne 0x104690c
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.01045196
mov eax, dword [0x12d206c]
cmp dword [eax - 8], ebx
jne 0x1046923
push dword [0x12ce324]
mov ecx, edi
call fcn.01045196
mov word [ebp - 0x224], 0x5c
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 4], 2
push dword [0x12ce32c]
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x688]
push eax
call fcn.01045e48
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x67c]
call fcn.01045f2e
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.010328fe
cmp esi, ebx
je 0x1046a29
lea eax, [ebp - 0x688]
push eax
lea ecx, [ebp - 0x67c]
call fcn.01045ec8
mov byte [ebp - 4], 4
push dword [0x12d206c]
push dword [eax]
call fcn.01044dc4
test eax, eax
setne byte [ebp - 0x67d]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.010328fe
cmp byte [ebp - 0x67d], bl
je 0x1046a16
lea eax, [ebp - 0x694]
push eax
lea ecx, [ebp - 0x67c]
call fcn.01045ec8
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.01045ddd
mov byte [ebp - 4], 6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x690]
call fcn.010328fe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x694]
call fcn.010328fe
lea ecx, [ebp - 0x67c]
call fcn.01044f79
cmp eax, ebx
jne 0x104697f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x67c]
call fcn.01044fa5
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68c]
call fcn.01044c64
push edi
lea ecx, [ebp - 0x684]
call fcn.01044f22
push dword [ebp - 0x684]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x698]
mov dword [ecx], eax
neg eax
sbb eax, eax
and eax, 0x7fff0001
add eax, 0x8000ffff
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x684]
call fcn.01045295
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 4
Function at 0x105aeb6
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1272670
call fcn.01160458
sub esp, 0x18
mov eax, dword [0x12cf8c8]
push ebx
push esi
push edi
push ecx
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, esp
xor ebx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esp
mov dword [eax], ebx
call fcn.0105ade4
mov dword [ebp - 4], ebx
mov dword [esi], 0x1005670
mov dword [esi + 0x50], 0x100566c
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
lea ecx, [esi + 0x8c]
mov dword [esi + 0x88], ebx
call fcn.0105ae2b
mov byte [ebp - 4], 1
mov eax, dword [0x12ce0a0]
lea ecx, [esi + 0xec]
mov dword [ecx], eax
mov byte [ebp - 4], 2
mov eax, dword [0x12ce0a0]
mov dword [esi + 0xf0], eax
mov byte [ebp - 4], 3
push 0x100548c
mov byte [esi + 0xf4], bl
call fcn.01045196
xor eax, eax
mov word [ebp - 0x1c], bx
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jg 0x105af7a
push 0x1005244
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0xec]
lea edi, [esi + 0xf0]
push eax
mov ecx, edi
call fcn.01044de0
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.01052ada
push 0x1005660
mov ecx, edi
call fcn.01052ada
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
call fcn.0116015a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x105c1b2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
push edi
mov ebx, ecx
je 0x105c1cf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x105c1e4
push 0x100355c
jmp 0x105c20a
lea eax, [edi + edi + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.01160620
mov dword [ebp + 8], esp
inc edi
push edi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x105c21b
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x105d02c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.01045ce2
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x105d086
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x105d0d4
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.0105c729
push dword [ebp + 0x18]
mov edi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x105d0cb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x105d0ec
cmp dword [ebp - 0xc], 0
je 0x105d0ec
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14

Function at 0x106161c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
add ecx, 0xffffffa0
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x106168d
push ebx
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov edi, eax
push edi
call fcn.0105604f
test eax, eax
je 0x1061680
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.010329e8
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x10616b4
and dword [ebp - 4], 0
jmp 0x10616a4
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103262a
test eax, eax
mov dword [ebp - 4], eax
jne 0x10616dd
push dword [ebp + 0x14]
lea ecx, [esi + 0x60]
push dword [ebp + 8]
call fcn.01107a39
jmp 0x10616dd
cmp dword [ebp + 0x18], 0
je 0x10616dd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x10616dd
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x60]
push dword [ebp + 8]
call fcn.01074a84
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18
Function at 0x1062084
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1062099
test al, 0x10
je 0x1062099
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x106215a
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4

Function at 0x1062a72
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x12cf8c8]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x800e
push 0
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x1062aa9
xor eax, eax
inc eax
jmp 0x1062b07
push edi
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x248]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x14]
and dword [ebp - 0x234], 0
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x23c], 0x1005688
mov dword [ebp - 0x22c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0116015a
leave
ret 0x10

Function at 0x1062d1c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
mov edx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104b
push dword [edx]
mov dword [ebp - 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4