joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e1bc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e1d3
add esp, 0xfffffff0
call fcn.004036e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041aa40
mov eax, dword [0x45b64c]
cmp word [eax + 2], 0
jne 0x44e1fb
mov eax, dword [0x45b64c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f894
mov eax, dword [0x45b6f4]
cmp word [eax + 2], 0
jne 0x44e215
mov eax, dword [0x45b6f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fa8c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412cfc]
call fcn.004033ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412cfc]
call fcn.004033ac
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41cc14]
call fcn.00422894
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e39c
mov eax, dword [0x45b574]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422c64
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45002c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45b574]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d8a0
test eax, eax
je 0x44e30a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c58
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d8c8
test eax, eax
je 0x44e31e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404384
mov eax, dword [0x45b474]
cmp byte [eax], 0
jne 0x44e352
mov eax, ebx
call fcn.0044e4c4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00450208
mov eax, ebx
call fcn.00450bcc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e392
call fcn.00403740
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e744
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45edd0]
cmp dword [eax + 0x30], 0
je 0x44e7ee
cmp dword [ebx + 0x94], 0
jne 0x44e7e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e6d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e7e8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e7ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e7e8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415064
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e7bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f350
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f385
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404204
jmp 0x44f392
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404168
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4503e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450425
mov eax, esi
call fcn.00436a80
test al, al
je 0x450425
mov eax, dword [ebx + 0x84]
call fcn.0043677c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450425
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043677c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x41aecd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x41aedc
pop dword [ebp - 0x28]
mov eax, 0x41aedc
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3a380
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x939facc4
add ecx, 0x6c609ee1
mov ebx, eax
mov esi, 0x21b61db4
sub esi, 0x217265b4
add esi, dword [ebp - 0x28]
mov edx, 0xf9a6f732
add edx, 0x89094021
xor dword [ebp - 0x24], esi
mov edi, dword [esi]
add dword [ebp - 0x20], 0xbeac8bfa
xor edi, edx
add dword [ebp - 0x24], 0xfa5d36bd
mov dword [ebx], edi
sub dword [ebp - 0x18], 0x5746136
add ebx, 0x71445e68
sub ebx, 0x71445e64
add esi, 4
loop 0x41af31
add eax, 0xb6b98771
add eax, 0x494799f6
mov ebx, eax
add eax, 0xac5299bd
add eax, 0x53ad6648
mov ecx, 0x1659723b
sub ecx, 0x1619723b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x421730
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x42176d
push str.SetDefaultDllDirectories
push 0x42c874
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x42176d
push 0xc00
call eax
test eax, eax
jne 0x421806
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x421806
cmp eax, 0x104
ja 0x421806
cmp word [esp + eax*2 + 6], 0x5c
je 0x42179c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x421806
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x4217db
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x4217c7
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x4217bc
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x408af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x408af9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408b3c
mov eax, dword [ebp - 8]
jmp 0x408ba2
cmp dword [ebp - 0xc], 1
je 0x408b4f
cmp dword [ebp - 0xc], 2
je 0x408b4f
mov eax, 0xd
jmp 0x408ba2
cmp dword [ebp + 0xc], 0
je 0x408b96
cmp dword [ebp - 4], 0
je 0x408b85
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x408b7c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x408b83
mov eax, 0xd
jmp 0x408ba2
jmp 0x408b96
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408d50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x408db5
push 0x5a8cf0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408d7c
mov eax, 1
jmp 0x408dd3
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408db3
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x10]
jmp 0x408dd3
jmp 0x408dce
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x408dce
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x408dd3
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x409d40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x409d49
cmp dword [ebp + 0xc], 0
je 0x409d5c
mov dword [ebp - 0xc], 1
jmp 0x409d63
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x409d76
mov eax, 0xd
jmp 0x409dcb
xor edx, edx
jne 0x409d4d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x409d89
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40a594
xor eax, eax
jmp 0x40a614
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a5ab
xor eax, eax
jmp 0x40a614
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x40a5f7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x40a5f7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40a5ce
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x40a603
xor eax, eax
jmp 0x40a614
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x40a611
xor eax, eax
jmp 0x40a614
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40c8b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596418
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6001c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00425360
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00402220
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00402220
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00402220
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00402220
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00402220
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00402220
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00402220
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00402220
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00402220
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00402220
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00402220
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00402220
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00402220
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0040ceb0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00411230
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00411350
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1c]
push eax
call fcn.0040fd70
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004025b0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c]
call fcn.004023e0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
push str._n_ignoreFailure_:__false__n_uiDisabled__:_false__n_uiHidden__:_false__n_uiUnSelected__:_false_n
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00402590
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x416050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6001c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00402220
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00405a80
push eax
push 0x5aa898
call fcn.0056b29c
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408ec0
cmp dword [ebp - 0x14], 0
je 0x4160fb
push 0x11e
push 0x5aa8a0
lea ecx, [ebp - 0x24]
call fcn.00402040
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004335f0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004023e0
lea ecx, [ebp - 0x10]
call fcn.00402790
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0x10]
call fcn.00402790
push eax
call fcn.0056b798
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x416163
push 0x123
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x30]
call fcn.00402040
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
call fcn.00402790
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004335f0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004023e0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fd0
mov edx, dword [ebp - 0x18]
or edx, 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004023e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417d30
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x6001c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 6
mov edx, dword [ebp + 0xc]
push edx
push 0x5aaba0
push 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004188a0
add esp, 0x10
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x417dbf
call fcn.0057c36e
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
jmp 0x417dd0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x417e41
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x417e06
call fcn.005723a2
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
jmp 0x417e41
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x417e24
jmp 0x417e41
call fcn.005723a2
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x417dc7
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x417e56
call fcn.0057c36e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00569e84
mov esp, ebp
pop ebp
ret
Function at 0x4181c0
Capabilities:
Initialize winsock library
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596e38
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x6001c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1b8], 0
lea ecx, [ebp - 0x1a4]
call fcn.00402220
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x418244
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004023e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
jmp 0x41831d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1b0], ecx
lea ecx, [ebp + 8]
call fcn.00405ba0
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
push str.POST__collect_HTTP_1.1_r_nContent_Type:_application_x_www_form_urlencoded_r_nHost:_www.google_analytics.com_r_nContent_Length:__d_r_n_r_n_s
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.0040f540
add esp, 0x10
lea ecx, [ebp - 0x1a4]
call fcn.00405ba0
mov dword [ebp - 0x1ac], eax
push 0x50
push str.www.google_analytics.com
call fcn.00417d30
add esp, 8
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0xffffffff
je 0x4182d6
push 0
mov edx, dword [ebp - 0x1ac]
push edx
lea ecx, [ebp - 0x1a4]
call fcn.004180f0
push eax
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x1ac]
je 0x4182e2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1a8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x1a8], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004023e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00569e84
mov esp, ebp
pop ebp
ret

Function at 0x418340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596e7d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6001c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405ba0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
call fcn.00436dcc
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
call fcn.00405ba0
push eax
lea ecx, [ebp + 8]
call fcn.004180f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.0056e940
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov byte [eax], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4183f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x418900
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x431d20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598205
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6001c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
call fcn.004154e0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042f2e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00426050
xor edx, edx
mov byte [ebp - 0xd], dl
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd]
call fcn.0042ffd0
push eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042fc40
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00425d30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret