joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d8272
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa30
mov eax, dword [0x111121c]
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 8
mov esi, ecx
push eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x400
lea eax, [ebp - 0xa0c]
push eax
push 0x9d2f
push dword [0x1112f58]
call dword [sym.imp.USER32.dll_LoadStringW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0xa0c]
push eax
push 0
push 0xc
push 0x9d2d
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x9d2b
push ebx
push dword [esi + 4]
call edi
push 0x104
mov dword [ebp - 0xa10], eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0
push dword [ebp - 0xa10]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0xa10]
lea ecx, [ebp - 0xa28]
call fcn.010d8254
mov eax, dword [ebp - 0xa28]
mov dword [ebp - 0xa18], eax
mov eax, dword [ebp - 0xa24]
mov dword [ebp - 0xa14], eax
lea eax, [ebp - 0xa18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0xa20]
sub eax, dword [ebp - 0xa28]
lea ebx, [esi + 8]
mov dword [ebp - 0xa30], eax
mov eax, dword [ebp - 0xa1c]
sub eax, dword [ebp - 0xa24]
mov ecx, ebx
mov dword [ebp - 0xa2c], eax
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa18]
push eax
push 0x9d2e
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call fcn.0107673c
push 0
push dword [esi + 0x314]
mov ecx, ebx
call fcn.0107656f
mov ecx, ebx
call fcn.010481df
mov ebx, dword [esi + 0xc]
push 3
xor eax, eax
push eax
push eax
push eax
push eax
push 2
push dword [esi + 4]
call edi
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 0xc
Function at 0x10d9f21
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0105f070
mov eax, dword [0x111121c]
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
mov dword [ebp - 4], eax
push dword [esi + 8]
call fcn.01107337
push 0
push 0x7f03
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x170
push 0x9d97
push dword [esi + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0x9e04
push dword [esi + 8]
call edi
mov edi, 0x400
push edi
lea ecx, [ebp - 0x804]
push ecx
push eax
mov dword [ebp - 0x1008], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 0x10]
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
push 0
push 0xc
push dword [ebp - 0x1008]
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.0105eca9
leave
ret

Function at 0x10da342
Capabilities:
Get graphical window text
Inspect load icon resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x111121c]
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 4]
lea esi, [edi + 8]
push dword [esi]
mov dword [ebp - 4], eax
call fcn.01107337
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x9dbc
push dword [esi]
call ebx
push 0
push 2
push dword [0x1112f44]
mov dword [ebp - 0x418], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0x170
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x9dbd
push dword [esi]
call ebx
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov dword [ebp - 0x41c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x10da432
mov edi, dword [edi + 0x10]
and dword [ebp - 0x418], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x418]
push ecx
push edi
call dword [eax + 0x2c]
test eax, eax
jl 0x10da411
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x418], 0
je 0x10da432
cmp dword [ebp - 0x418], 0x1111298
je 0x10da432
push dword [ebp - 0x418]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov ecx, 0x1112430
call fcn.01084784
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.0105eca9
leave
ret
Function at 0x10dc49f
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
push edi
push 0x10dc16c
push edi
push edi
mov esi, ecx
push 0x476
push dword [esi + 0x1c]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
push edi
push edi
push 0x470
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [esi + 0x3c], edi
mov dword [ebp - 0xc], eax
je 0x10dc563
mov ecx, esi
call fcn.010dc111
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xea60
mov dword [ebp - 8], eax
jmp 0x10dc54c
push 0x4ff
push 0xea60
push edi
lea eax, [esi + 0x3c]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
jne 0x10dc553
mov ecx, esi
call fcn.010dc111
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 8]
jbe 0x10dc54c
cmp dword [ebp - 8], 0xea60
ja 0x10dc55a
cmp dword [ebp - 4], edi
jne 0x10dc512
jmp 0x10dc55a
cmp eax, 0x102
jne 0x10dc56a
mov dword [esi + 0x30], 0x81000329
jmp 0x10dc56a
mov dword [esi + 0x30], 0x80004005
push dword [ebp - 0xc]
mov dword [esi + 0x38], edi
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push 0x10dc16c
push edi
push edi
push 0x476
push dword [esi + 0x1c]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10ded71
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x10ded9a
push 0
push eax
push 0x30
push 0x9daf
push dword [esi + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x18], 0
jne 0x10dedba
push 0x30
call fcn.0105f04e
test eax, eax
pop ecx
je 0x10dedb5
mov ecx, eax
call fcn.0104c532
jmp 0x10dedb7
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10dee07
push 0xffffffffffffffff
push 0x1022d90
push eax
call fcn.01040dc3
test eax, eax
jl 0x10dee07
push 0x9dc7
push dword [esi + 8]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x1c]
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
sub ecx, dword [eax + 0xc]
and dword [esi + 0x20], 0
mov dword [edi], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x28], eax
pop edi
pop esi
ret

Function at 0x10e0a15
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push esi
push edi
push 0x4b2
mov edi, ecx
call fcn.0105f04e
mov esi, eax
test esi, esi
pop ecx
je 0x10e0a5c
push esi
push 0x259
push 0xd
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10e0a53
add edi, 0x4c0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10e0a5c
push esi
call fcn.0105eff6
pop ecx
xor esi, esi
pop edi
mov eax, esi
pop esi
ret
Function at 0x10e0a66
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x111121c]
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x105
mov esi, ecx
push 0xd
push dword [esi + 0x38]
xor edi, edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10e0ab3
add esi, 0x4c0
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10e0ab3
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.0105eca9
leave
ret

Function at 0x10e151d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x111121c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
push 0
push 0
push 0x147
mov esi, ecx
push 0x9e05
push dword [esi + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], 9
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, dword [esi + 0x450]
push 2
pop eax
jne 0x10e157b
xor eax, eax
inc eax
mov dword [ebp - 0x88], 0xb
jmp 0x10e1585
cmp edi, dword [esi + 0x454]
jne 0x10e1585
xor eax, eax
and dword [ebp - 0x8c], 0
lea ecx, [eax*4 + 0x1023f40]
cmp dword [ecx], 0
mov dword [ebp - 0x94], ecx
jle 0x10e1631
shl eax, 4
add eax, 0x1023f10
mov dword [ebp - 0x90], eax
push 0x40
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x90]
push dword [eax]
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x100aca8
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
cmp edi, dword [esi + 0x450]
lea eax, [ebp - 0x84]
push eax
jne 0x10e1601
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10e160b
xor dword [ebp - 0x88], 2
jmp 0x10e1631
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x10e162a
inc dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
add dword [ebp - 0x90], 4
cmp ecx, dword [eax]
jl 0x10e15b0
jmp 0x10e1631
or dword [ebp - 0x88], 2
push dword [ebp - 0x88]
push 0
push 0x470
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret

Function at 0x10e2976
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x10e29a0
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x10e2a43
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x111121c]
push ebx
push 0x10245dc
mov dword [ebp - 4], eax
mov dword [ebp - 0x63c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x638], eax
je 0x10e2b71
push esi
push 0x10245d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x640], esi
je 0x10e2b64
push edi
push ebx
push ebx
push 1
push ebx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x129
push 0x10244c0
lea eax, [ebp - 0x258]
push eax
call edi
lea eax, [ebp - 0x650]
push eax
push 1
push 3
push ebx
call esi
cmp dword [ebp - 0x64c], ebx
jne 0x10e2afc
lea eax, [ebp - 0x634]
push eax
push 1
push 8
push ebx
mov dword [ebp - 0x634], 0x1d4
call esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20e]
push eax
call edi
jmp 0x10e2b1b
mov esi, 0x104
push esi
lea eax, [ebp - 0x20e]
push eax
push dword [ebp - 0x64c]
push dword [ebp - 0x638]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push ebx
push 7
push ebx
call dword [ebp - 0x640]
push esi
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
pop edi
jne 0x10e2b40
mov word [ebp - 0x460], bx
push 1
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x63c]
push 0x100c110
push ebx
push dword [eax]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x638]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0105eca9
leave
ret
Function at 0x10e2d09
Capabilities:
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x111121c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf003f
xor edi, edi
push edi
push 0x80000001
push 0x1024268
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], edi
mov word [esi], di
call fcn.01064103
lea eax, [ebp - 0x214]
push eax
push 0x1024480
lea ecx, [ebp - 0x234]
call fcn.0106429d
cmp dword [ebp - 0x214], edi
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
je 0x10e2d79
push dword [ebp + 0xc]
push dword [ebp - 0x214]
push esi
call ebx
cmp word [esi], di
jne 0x10e2e4b
push esi
push edi
push edi
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x210], eax
jne 0x10e2db5
push esi
call edi
mov ecx, dword [ebp + 0xc]
sub ecx, eax
push ecx
push 0x10245cc
push esi
call edi
lea eax, [esi + eax*2]
push eax
jmp 0x10e2ddb
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0103f0fb
test eax, eax
mov dword [ebp - 0x210], eax
jl 0x10e2ddd
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
push esi
call ebx
cmp dword [ebp - 0x210], 0
jne 0x10e2e4b
push 0xa256
lea ecx, [ebp - 0x208]
call fcn.0103d18c
push esi
call edi
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x208]
push eax
call edi
mov ecx, dword [ebp - 0x218]
mov edx, eax
mov eax, dword [ebp + 0xc]
add edx, ecx
cmp edx, eax
jge 0x10e2e29
sub eax, ecx
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [esi + ecx*2]
push eax
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call edi
lea eax, [eax + eax + 2]
push eax
push esi
push 0x1024480
lea ecx, [ebp - 0x234]
call fcn.01063e4b
lea ecx, [ebp - 0x234]
call fcn.0106413d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8
Function at 0x10e6e04
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x111121c]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebp + 8]
mov edi, ecx
push dword [edi + 0x18]
mov dword [ebp - 4], eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x10c], eax
je 0x10e6f99
and dword [ebp - 0x138], 0
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x140]
push eax
push 0
push 0x104b
push dword [ebp + 8]
lea ecx, [ebp - 0x108]
push dword [edi + 0x18]
mov dword [ebp - 0x140], 0xd
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], 0x82
mov dword [ebp - 0x130], 3
call esi
push eax
call ebx
test eax, eax
je 0x10e6f99
and dword [ebp - 0x134], 0
push 0
push dword [ebp - 0x10c]
push 0x1008
push dword [ebp + 8]
push dword [edi + 0x18]
call esi
push eax
call ebx
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
push dword [edi + 0x18]
call esi
push eax
mov ecx, edi
call fcn.010e6d3d
test eax, eax
mov eax, dword [ebp - 0x120]
jne 0x10e6ef5
cmp eax, 0x64
jl 0x10e6eed
cmp eax, 0x67
jbe 0x10e6f12
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10e6f12
cmp eax, 0x64
jl 0x10e6f12
cmp eax, 0x67
ja 0x10e6f12
xor ecx, ecx
cmp dword [ebp + 0xc], 0x9da7
setne cl
mov dword [edi + eax*4 - 0x13c], ecx
push 0
push 0
push 0x1004
push dword [ebp + 8]
push dword [edi + 0x18]
call esi
push eax
call ebx
cmp dword [ebp - 0x10c], eax
jl 0x10e6f35
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
je 0x10e6f8a
push 3
pop eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x10c]
push 0x102b
push dword [ebp + 8]
push dword [edi + 0x18]
call esi
push eax
call ebx
push 0x9daa
push dword [edi + 0x18]
call esi
mov ebx, dword [sym.imp.USER32.dll_SetFocus]
push eax
call ebx
push dword [ebp + 8]
push dword [edi + 0x18]
call esi
push eax
call ebx
jmp 0x10e6f99
push dword [ebp + 0xc]
push dword [edi + 0x18]
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8
Function at 0x10e9cc3
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x111121c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], ecx
push 0x1026928
mov ecx, edi
call fcn.0106534b
or ebx, 0xffffffff
cmp eax, ebx
je 0x10e9d13
lea eax, [ebp - 0x20c]
push eax
call fcn.01065d85
mov dword [0x1114858], eax
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1026940
mov ecx, edi
call fcn.0106534b
cmp eax, ebx
je 0x10e9d3c
lea eax, [ebp - 0x20c]
push eax
call fcn.01065d85
mov dword [0x1114860], eax
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x102694c
mov ecx, edi
call fcn.0106534b
cmp eax, ebx
je 0x10e9d65
lea eax, [ebp - 0x20c]
push eax
call fcn.01065d85
mov dword [0x1114864], eax
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1026954
mov ecx, edi
call fcn.0106534b
cmp eax, ebx
je 0x10e9dae
push esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.010644d9
mov ecx, eax
call fcn.010645a9
push eax
push 0x1114868
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x21c]
call fcn.01064519
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1026968
mov ecx, edi
call fcn.0106534b
cmp eax, ebx
je 0x10e9dfc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.010644d9
mov ecx, eax
call fcn.010645a9
push eax
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 0x3c0], eax
lea ecx, [ebp - 0x21c]
call fcn.01064519
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x102697c
mov ecx, edi
call fcn.0106534b
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x10e9e2f
lea eax, [ebp - 0x20c]
push eax
call fcn.01065d85
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 0x3bc], eax
mov ecx, dword [ebp - 4]
call fcn.0105eca9
leave
ret 4

Function at 0x10f56e3
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ecx + 0x100], esi
push 0x1113620
lea ecx, [ebp - 4]
call fcn.010fc8a9
lea eax, [ebp - 4]
push eax
push esi
call fcn.010f49c5
cmp eax, esi
jl 0x10f5736
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10f5738
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10f572a
call esi
jmp 0x10f5736
call esi
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0104a07f
mov eax, esi
pop esi
leave
ret
Function at 0x10f5ac2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x111121c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0xb
lea eax, [ebp - 0x3c]
push eax
push 0x10274a8
mov ecx, esi
call fcn.0106534b
cmp eax, 0xffffffff
je 0x10f5b02
lea eax, [ebp - 0x3c]
push eax
call fcn.01065d85
test eax, eax
je 0x10f5b02
mov dword [0x1114ae8], eax
push ebx
push edi
push 3
lea eax, [ebp - 0xc]
push eax
push 0x10274cc
mov ecx, esi
call fcn.0106534b
cmp eax, 0xffffffff
push 0x20
pop edi
je 0x10f5b3c
cmp word [ebp - 0xc], 0
je 0x10f5b3c
cmp word [ebp - 0xc], di
je 0x10f5b3c
push 3
lea eax, [ebp - 0xc]
push eax
push 0x1114ae0
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push edi
push 0x1114a90
push 0x10274e0
push esi
call fcn.010f5a6b
push 2
push 0x1114ad0
push 0x10274f8
push esi
call fcn.010f5a6b
push edi
lea eax, [ebp - 0x7c]
push eax
push 0x1027520
push esi
call fcn.010f5a6b
push edi
lea eax, [ebp - 0xbc]
push eax
push 0x102753c
push esi
call fcn.010f5a6b
push 4
push 0x1114ad8
push 0x1027508
push esi
call fcn.010f5a6b
push 2
push 0x1114ad4
push 0x1027514
push esi
call fcn.010f5a6b
mov edi, dword [sym.imp.SHLWAPI.dll_StrTrimW]
mov ebx, 0x100aca8
push ebx
lea eax, [ebp - 0x7c]
push eax
call edi
push ebx
lea eax, [ebp - 0xbc]
push eax
call edi
cmp word [ebp - 0x7c], 0x2d
pop edi
pop ebx
jne 0x10f5bd9
lea eax, [ebp - 0x7a]
push eax
call fcn.01065d85
not eax
inc eax
jmp 0x10f5be2
lea eax, [ebp - 0x7c]
push eax
call fcn.01065d85
cmp word [ebp - 0xbc], 0x2d
mov dword [0x1114a88], eax
jne 0x10f5c02
lea eax, [ebp - 0xba]
push eax
call fcn.01065d85
not eax
inc eax
jmp 0x10f5c0e
lea eax, [ebp - 0xbc]
push eax
call fcn.01065d85
mov dword [0x1114a84], eax
push 0xb
lea eax, [ebp - 0x24]
push eax
push 0x1027558
mov ecx, esi
call fcn.0106534b
cmp eax, 0xffffffff
pop esi
je 0x10f5c39
lea eax, [ebp - 0x24]
push eax
call fcn.01065d85
mov dword [0x1114a80], eax
mov ecx, dword [ebp - 4]
call fcn.0105eca9
leave
ret 4

Function at 0x10fd866
Capabilities:
Initialize winsock library

Disassembly:
mov dword [ecx + 0xef4], 1
jmp fcn.0106e5df

Function at 0x10fe4d9
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x1114c38], 1
push esi
push edi
mov esi, ecx
jne 0x10fe4f0
call fcn.010fe36c
push 0x104
push dword [ebp + 8]
lea edi, [esi + 0x62d4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [esi + 0xef8], 0
mov eax, dword [ebp + 0xc]
mov word [esi + 0x63dc], ax
jne 0x10fe525
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0106ebf7
jmp 0x10fe554
push edi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esi + 0x63d8], eax
jne 0x10fe54d
push edi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x10fe54d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x63d8], eax
mov ecx, esi
call fcn.010fe09e
pop edi
pop esi
pop ebp
ret 8
Function at 0x1100e8d
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x111121c]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x10285e4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x82c], eax
je 0x1100f2a
push esi
mov esi, 0x824
push esi
push edi
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
and dword [ebp - 0x830], 0
jmp 0x1100f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1100f27
cmp dword [ebp - 0x830], 0
jne 0x1100f27
push esi
push 0x10285c8
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffA]
mov dword [ebp - 0x830], 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x828]
push ebx
push eax
call dword [ebp - 0x82c]
mov edi, eax
test edi, edi
je 0x1100edf
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0105eca9
leave
ret 0x10

Function at 0x1101167
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x20]
xor ebx, ebx
cmp edi, ebx
jne 0x110119d
mov eax, dword [ebp + 0x1c]
dec eax
je 0x110118b
sub eax, 3
je 0x1101186
xor eax, eax
jmp 0x11011fd
push 4
pop edi
jmp 0x110119d
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1101191
sub eax, edx
lea edi, [eax + 1]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi], ebx
mov dword [ebp + 0x20], ebx
jne 0x11011d1
lea eax, [ebp + 0x20]
push eax
push esi
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x11011ca
xor eax, eax
jmp 0x11011fc
mov dword [ebp + 0x20], 1
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x14]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x11011f9
cmp dword [ebp + 0x20], ebx
je 0x11011c6
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], ebx
jmp 0x11011c6
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c