joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408b07
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
mov esi, ecx
call fcn.00415380
xor eax, eax
push 0x10
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x38], 1
call fcn.00415380
mov eax, dword [0x43b014]
push dword [esi + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push str.__s___s
push eax
call fcn.004038de
add esp, 0x24
lea edi, [esi + 0x1c]
push edi
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
cmp al, bl
jne 0x408bc2
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
lea eax, [esi + 4]
push str.CreateProcess_failed___d_._n
push eax
call fcn.004038de
add esp, 0xc
call edi
push eax
push str.CreateProcess_failed___d_._n
call fcn.0041141b
pop ecx
pop ecx
push ebx
push ebx
push dword [0x43f380]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0xc]
call fcn.004017df
pop edi
pop esi
pop ebx
leave
ret
mov byte [ebp - 1], 1
jmp 0x408bf0
cmp byte [ebp - 1], bl
je 0x408bf5
push 0x3e8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x2c], eax
cmp eax, 0xffffffff
je 0x408bed
cmp eax, ebx
je 0x408bed
cmp eax, 0x80
jne 0x408bf0
mov byte [ebp - 1], bl
cmp byte [esi + 0x10], bl
je 0x408bc8
lea eax, [ebp - 8]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne byte [ebp - 1]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 8], ebx
je 0x408c18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x408c29
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x408c38
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
push dword [ebp - 8]
movzx eax, byte [ebp - 1]
push eax
push str.LaunchApp___ExitCodeSuccess_d__ExitCode_d_n
call fcn.0041141b
add esp, 0xc
cmp byte [ebp - 1], bl
je 0x408c70
cmp dword [ebp - 8], ebx
jbe 0x408c7b
push dword [esi + 0x18]
lea eax, [esi + 4]
push dword [ebp - 0x10]
push str.Failed_to_run_the_installer___d_._nPlease_run_the_installer_manually__nIt_can_be_found_here:_n_s
push eax
call fcn.004038de
add esp, 0x10
jmp 0x408c7b
push str.LaunchApp___failed_to_get_process_exit_code._n
call fcn.0041141b
pop ecx
cmp byte [ebp - 1], bl
je 0x408c89
cmp dword [ebp - 8], ebx
ja 0x408ba4
push ebx
push ebx
push dword [0x43f388]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esi + 0x11], 1
jmp 0x408bb5
Function at 0x408cd6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], ebx
call fcn.00402f12
push dword [esi + 0x18]
push str.CLaunchAppAndWait::Start_n_t___ApplicationFN___s_n
call fcn.0041141b
pop ecx
pop ecx
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x408d0d
xor al, al
jmp 0x408d42
lea eax, [ebp + 8]
push eax
xor edi, edi
push edi
push esi
push 0x408ca3
push edi
push edi
call fcn.004164ba
add esp, 0x18
push 0x64
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.CLaunchAppAndWait::Start___Exit_n
call fcn.0041141b
xor eax, eax
cmp dword [esi + 0xc], edi
pop ecx
setne al
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x409aa5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00408e0e
cmp byte [esi + 0x2a4], 0
je 0x409ac5
lea ecx, [esi + 0x2a0]
call fcn.00410e27
cmp byte [esi + 0x26c], 0
jne 0x409ad7
cmp byte [esi + 0x2a4], 0
je 0x409aed
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
Function at 0x40a4a6
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x43db90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edi
test edi, edi
je 0x40a654
cmp word [edi], 0
je 0x40a654
push 5
push str.file:
push edi
call fcn.00416e5e
add esp, 0xc
test eax, eax
jne 0x40a4fb
xor eax, eax
jmp 0x40a657
push 5
push str.http:
push edi
call fcn.00416e5e
add esp, 0xc
test eax, eax
je 0x40a4f4
push 6
push str.https:
push edi
call fcn.00416e5e
add esp, 0xc
test eax, eax
je 0x40a4f4
push 4
push str.res:
push edi
call fcn.00416e5e
add esp, 0xc
test eax, eax
jne 0x40a540
add edi, 8
mov dword [ebp - 0x114], edi
test edi, edi
je 0x40a553
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40a557
xor eax, eax
jmp 0x40a56d
lea esi, [eax + eax]
mov eax, esi
call fcn.004160c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00405da4
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edi, dword [0x440094]
lea esi, [ebp - 0x108]
mov eax, esi
push 0x2f
push eax
mov byte [ebp - 0x10c], 0
call fcn.0041662e
pop ecx
pop ecx
test eax, eax
je 0x40a5d9
lea esi, [eax + 1]
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a5d9
test al, 0x10
jne 0x40a5d9
push 2
push 0
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x10c], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
push 0x2e
push esi
call fcn.0041662e
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40a603
mov byte [ebx], 0
inc ebx
je 0x40a603
push str.HTML
push ebx
call fcn.0041683c
pop ecx
pop ecx
test eax, eax
je 0x40a603
push ebx
jmp 0x40a605
push 0x17
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40a634
cmp byte [ebp - 0x10c], 0
je 0x40a4f4
test edi, edi
je 0x40a4f4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40a4f4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40a66c
cmp byte [ebp - 0x10c], 0
je 0x40a654
test edi, edi
je 0x40a654
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
lea esp, [ebp - 0x124]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415106
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40a640
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x40a640
push eax
push ebx
push dword [ebp - 0x114]
push dword [ebp - 0x118]
call dword [sym.imp.HTMLayout.dll_HTMLayoutDataReady]
jmp 0x40a613
Function at 0x40a7bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push 0xe
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x40a7e7
lea ecx, [ebp + 0x14]
call fcn.004017df
xor eax, eax
inc eax
pop esi
leave
ret
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a7d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40a80f
inc esi
lea ecx, [ebp + 0x14]
call fcn.004017df
mov eax, esi
jmp 0x40a7e4
movzx ecx, word [esi + 4]
push ebx
push edi
mov edi, ecx
shl edi, 4
xor eax, eax
test ecx, ecx
jle 0x40a82b
lea edx, [esi + 0xe]
add eax, dword [edx]
add edx, 0xe
dec ecx
jne 0x40a823
lea eax, [eax + edi + 6]
push eax
mov dword [ebp - 0x18], eax
call fcn.00414d17
and dword [ebp - 4], 0
mov ebx, eax
mov ax, word [esi]
mov word [ebx], ax
mov ax, word [esi + 2]
mov word [ebx + 2], ax
mov ax, word [esi + 4]
mov word [ebx + 4], ax
xor eax, eax
add edi, 6
pop ecx
cmp ax, word [esi + 4]
jae 0x40a8aa
lea eax, [ebx + 7]
lea ecx, [esi + 7]
mov dl, byte [ecx - 1]
mov byte [eax - 1], dl
mov dl, byte [ecx]
mov byte [eax], dl
mov dl, byte [ecx + 1]
mov byte [eax + 1], dl
mov dl, byte [ecx + 2]
mov byte [eax + 2], dl
mov dx, word [ecx + 3]
mov word [eax + 3], dx
mov dx, word [ecx + 5]
mov word [eax + 5], dx
mov edx, dword [ecx + 7]
mov dword [eax + 7], edx
mov dword [eax + 0xb], edi
add edi, dword [ecx + 7]
movzx edx, word [esi + 4]
inc dword [ebp - 4]
add eax, 0x10
add ecx, 0xe
cmp dword [ebp - 4], edx
jl 0x40a866
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 4]
jae 0x40a93d
lea eax, [ebx + 0xe]
mov dword [ebp - 8], eax
lea eax, [esi + 0x12]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40a929
push dword [ebp - 0x10]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a929
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a929
push dword [ebp - 0x10]
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
cmp ecx, eax
jae 0x40a917
mov eax, ecx
push eax
mov eax, dword [edx + 4]
push dword [ebp - 0x14]
add eax, ebx
push eax
call fcn.004148b0
add esp, 0xc
movzx eax, word [esi + 4]
inc dword [ebp - 0xc]
add dword [ebp - 4], 0xe
add dword [ebp - 8], 0x10
cmp dword [ebp - 0xc], eax
jl 0x40a8c6
push dword [ebp - 0x18]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.HTMLayout.dll_HTMLayoutDataReady]
push ebx
call fcn.0041446f
pop ecx
pop edi
xor esi, esi
pop ebx
jmp 0x40a803
Function at 0x40c311
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x43b014]
push esi
mov esi, ecx
push 0x271
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403284
cmp byte [esi + 0x251], 0
je 0x40c348
push str.lab.
push str.www.
lea ecx, [ebp - 4]
call fcn.0040bdc8
push 1
push 0
push 0
push dword [ebp - 4]
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
lea ecx, [ebp - 4]
call fcn.004017df
mov eax, esi
pop esi
leave
ret

Function at 0x40c377
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x43b014]
push esi
mov esi, ecx
push 0x272
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403284
cmp byte [esi + 0x251], 0
je 0x40c3ae
push str.lab.
push str.www.
lea ecx, [ebp - 4]
call fcn.0040bdc8
push 1
push 0
push 0
push dword [ebp - 4]
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
lea ecx, [ebp - 4]
call fcn.004017df
mov eax, esi
pop esi
leave
ret

Function at 0x40c3dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x43b014]
push esi
push 0x273
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403284
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
lea ecx, [ebp - 4]
call fcn.004017df
mov eax, esi
pop esi
leave
ret
Function at 0x40d669
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43b014]
push ebx
push esi
mov esi, ecx
push 0x26f
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403284
xor ebx, ebx
cmp byte [esi + 0x251], bl
je 0x40d6a4
push str.lab.
push str.www.
lea ecx, [ebp - 4]
call fcn.0040bdc8
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 5
jle 0x40d7e7
mov eax, dword [0x43b014]
push 0xc8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.00403284
push str.SoftwareLFG_
lea ecx, [ebp - 0x14]
call fcn.00403883
mov eax, dword [ebp - 0x18]
push eax
push dword [eax - 8]
lea ecx, [ebp - 0x14]
call fcn.00409e03
mov esi, dword [0x43b014]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d76e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
mov edi, str.TrackID
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d761
cmp dword [ebp - 0x20], 1
jne 0x40d761
push dword [ebp - 0x1c]
call fcn.00414d17
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d758
push dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00402f65
push dword [ebp - 0xc]
call fcn.0041446f
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
pop edi
mov eax, dword [0x43b014]
mov dword [ebp - 0xc], eax
cmp dword [esi - 8], ebx
jne 0x40d780
mov esi, 0x431dc4
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push esi
push dword [ebp - 4]
push 0x432044
push eax
call fcn.004038de
add esp, 0x14
push 1
push ebx
push ebx
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
lea ecx, [ebp - 0xc]
call fcn.004017df
lea ecx, [ebp - 0x10]
call fcn.004017df
lea ecx, [ebp - 0x14]
call fcn.004017df
lea ecx, [ebp - 0x18]
call fcn.004017df
lea ecx, [ebp - 4]
call fcn.004017df
mov eax, esi
pop esi
pop ebx
leave
ret 4
xor esi, esi
jmp 0x40d7d7
Function at 0x40ec37
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
mov eax, dword [0x43db90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
push ebx
mov dword [ebp - 0x918], eax
push 0x10
lea eax, [ebp - 0x804]
mov esi, ecx
push eax
push dword [esi + 0x24]
mov dword [ebp - 0x914], ebx
call edi
cmp eax, 0x10
je 0x40ec8f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xf
mov ecx, esi
call fcn.0040ec11
jmp 0x40edfa
mov eax, 0x3ea
cmp word [ebp - 0x804], ax
je 0x40eca9
movzx eax, word [ebp - 0x804]
push eax
push 0x11
jmp 0x40ec83
cmp word [ebp - 0x802], bx
jbe 0x40ed5c
lea eax, [ebp - 0x7f4]
mov dword [ebp - 0x90c], eax
movzx eax, word [ebp - 0x802]
mov dword [ebp - 0x910], eax
mov dword [ebp - 0x920], 0x3c
mov dword [ebp - 0x91c], ebx
cmp eax, ebx
je 0x40ed5c
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x904], eax
lea eax, [ebp - 0x920]
push eax
push ebx
push ebx
lea eax, [ebp - 0x908]
push eax
push ebx
mov dword [ebp - 0x908], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x40edbe
cmp eax, ebx
jne 0x40ed2d
inc dword [ebp - 0x914]
cmp dword [ebp - 0x914], 3
jae 0x40edcc
push ebx
push dword [ebp - 0x910]
push dword [ebp - 0x90c]
push dword [esi + 0x24]
call edi
cmp eax, 0xffffffff
je 0x40ede1
sub dword [ebp - 0x910], eax
add dword [ebp - 0x90c], eax
cmp dword [ebp - 0x910], ebx
jne 0x40ece3
mov edi, dword [ebp - 0x7f4]
lea eax, [ebp - 0x7b7]
push eax
cmp edi, 0x3fd
jne 0x40edef
lea ecx, [ebp - 0x90c]
call fcn.00403883
mov edi, 0x42f814
push edi
push str.UID:
lea ecx, [ebp - 0x90c]
call fcn.0040bdc8
push edi
lea ecx, [esi + 0x1c]
call fcn.00402f65
push dword [ebp - 0x90c]
call fcn.00414641
pop ecx
mov ecx, dword [ebp - 0x918]
mov dword [ecx], eax
lea ecx, [ebp - 0x90c]
call fcn.004017df
mov al, 1
jmp 0x40edfc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10
jmp 0x40ec83
mov eax, dword [ebp - 0x920]
imul eax, dword [ebp - 0x914]
push eax
push 0x12
jmp 0x40ec83
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x13
jmp 0x40ec83
lea ecx, [esi + 0x1c]
call fcn.00402f65
mov dword [esi + 0x20], edi
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415106
leave
ret 4
Function at 0x40f198
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edi
call fcn.00402f12
xor ebx, ebx
push edi
mov word [esi + 0x10], bx
mov byte [esi + 8], bl
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40f1c9
xor al, al
jmp 0x40f1f1
lea eax, [ebp + 8]
push eax
push ebx
push esi
push 0x40f17b
push ebx
push ebx
call fcn.004164ba
add esp, 0x18
push 0x64
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esi + 0xc], ebx
setne al
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40f1f8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x43db90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00415520
lea eax, [ebp - 0x108]
push eax
call fcn.00414820
lea esi, [ebp + eax - 0x108]
add esp, 0xc
and dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], esi
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x40f26a
cmp eax, 3
je 0x40f2a6
cmp eax, 0xb7
jne 0x40f28a
cmp esi, dword [ebp - 0x110]
je 0x40f2b0
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x40f275
inc dword [ebp - 0x10c]
cmp dword [ebp - 0x10c], 0xa
jl 0x40f244
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415106
leave
ret
lea eax, [ebp - 0x108]
cmp esi, eax
je 0x40f28a
dec esi
cmp byte [esi], 0x5c
jne 0x40f29b
mov byte [esi], 0
jmp 0x40f27b
xor eax, eax
inc eax
jmp 0x40f28c
Function at 0x40f75c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
push str.AdvertisersID
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f77a
inc eax
jmp 0x40f8eb
push esi
push str.Answer
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f793
push 2
pop eax
jmp 0x40f8eb
push esi
push str.BirthDate
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f7a8
push 3
jmp 0x40f78d
push esi
push str.ConfirmPassword
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f7bd
push 4
jmp 0x40f78d
push esi
push str.Country
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f7d2
push 5
jmp 0x40f78d
push esi
push str.Email
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f7e7
push 6
jmp 0x40f78d
push esi
push str.EmailOptIn
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f7fc
push 7
jmp 0x40f78d
push esi
push str.FirstName
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f814
push 8
jmp 0x40f78d
push esi
push str.Gender
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f82c
push 9
jmp 0x40f78d
push esi
push str.LastName
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f844
push 0xa
jmp 0x40f78d
push esi
push str.LoginName
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f85c
push 0xb
jmp 0x40f78d
push esi
push str.MachineID
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f874
push 0xc
jmp 0x40f78d
push esi
push str.Password
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f88c
push 0xd
jmp 0x40f78d
push esi
push str.PrivacyAccepted
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f8a4
push 0xe
jmp 0x40f78d
push esi
push str.QuestionID
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f8bc
push 0xf
jmp 0x40f78d
push esi
push str.State
call fcn.0041d5d4
pop ecx
pop ecx
test eax, eax
jne 0x40f8d4
push 0x10
jmp 0x40f78d
push esi
push str.TermsAccepted
call fcn.0041d5d4
neg eax
sbb eax, eax
pop ecx
and eax, 0xffffffef
pop ecx
add eax, 0x11
pop esi
pop ebp
ret 4
Function at 0x4104a0
Capabilities:
Get session user name
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x43db90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
jne 0x4104d1
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4106a3
cmp eax, ebx
je 0x4104e0
push eax
push esi
call fcn.00415520
pop ecx
pop ecx
jmp 0x4104e2
mov byte [esi], bl
test byte [ebp + 0x10], 2
je 0x41054b
push 0x4329fc
push esi
call fcn.00415530
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push esi
mov edi, eax
call fcn.00414820
pop ecx
mov ecx, 0x103
sub ecx, eax
lea eax, [ebp - 0x88]
push eax
push ecx
push esi
mov dword [ebp - 0x88], ecx
call fcn.00414820
pop ecx
add eax, esi
push eax
push 2
push edi
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
jne 0x41054b
push dword [ebp - 0x88]
push str.Win9x
push esi
call fcn.0041728d
add esp, 0xc
test byte [ebp + 0x10], 1
je 0x410601
lea eax, [ebp - 0x88]
push eax
push 8
mov dword [ebp - 0x88], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x410601
push esi
call fcn.00414820
pop ecx
mov ecx, 0x104
sub ecx, eax
cmp ecx, 9
jbe 0x410601
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push 0xa
push dword [ebp - 0x88]
mov dword [ebp - 0x8c], ebx
call edi
test eax, eax
jne 0x410601
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x410601
mov eax, dword [ebp - 0x8c]
call fcn.004160c0
mov ebx, esp
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
push ebx
push 0xa
push dword [ebp - 0x88]
call edi
test eax, eax
je 0x410601
push dword [ebx + 8]
push dword [ebx + 0xc]
push str.__08x_08x
push esi
call fcn.00414820
pop ecx
add eax, esi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test byte [ebp + 0x10], 4
je 0x4106a1
push 0x3f
lea eax, [ebp - 0x83]
push 0
push eax
mov byte [ebp - 0x84], 0
call fcn.00415380
push 0x3f
lea eax, [ebp - 0x43]
push 0
push eax
mov byte [ebp - 0x44], 0
call fcn.00415380
add esp, 0x18
push 0x40
pop edi
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x88], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4106a1
push edi
lea eax, [ebp - 0x44]
push eax
push str.USERDOMAIN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
mov edi, eax
call fcn.00414820
pop ecx
mov ecx, dword [ebp - 0x88]
mov edx, 0x104
lea ecx, [edi + ecx + 3]
sub edx, eax
cmp edx, ecx
jbe 0x4106a1
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x44]
push ecx
add eax, esi
push str.__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, esi
lea esp, [ebp - 0x98]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415106
leave
ret
Function at 0x4106b8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x43db90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x43f378], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
jne 0x41071c
push esi
push ecx
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.004104a0
add esp, 0xc
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x43f378], eax
call esi
cmp eax, 0xb7
je 0x410716
call esi
cmp eax, 5
je 0x410716
xor eax, eax
jmp 0x410719
xor eax, eax
inc eax
pop esi
jmp 0x41071e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415106
leave
ret