joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41485d
Capabilities:
Get file version info

Disassembly:
push 0x28
mov eax, 0x434047
call fcn.0041e952
mov dword [ebp - 0x34], ecx
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], eax
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.00404554
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
cmp dword [esi - 4], 1
jle 0x4148a1
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00403fdd
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x4149ab
push edi
lea ecx, [ebp - 0x18]
call fcn.0040a58b
test al, al
jne 0x4148cb
mov ebx, dword [ebp - 0x18]
jmp 0x4149b0
cmp dword [esi - 4], 1
jle 0x4148df
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00403fdd
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push ebx
push edi
push dword [ebp - 0x20]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4149ab
call fcn.00404409
push eax
lea ecx, [ebp - 0x10]
call fcn.0040385f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x414939
cmp dword [ebp - 0x24], 0
je 0x414939
mov ecx, dword [ebp - 0x28]
push 0x443024
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
jmp 0x414948
push 0x443024
push 0x4e2
push 0x409
lea eax, [ebp - 0x10]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.0040795c
mov edi, dword [ebp - 0x10]
add esp, 0x14
cmp dword [edi - 4], 1
jle 0x414970
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00403fdd
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4149a3
cmp dword [ebp - 0x2c], 0
je 0x4149a3
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
call fcn.004041d8
lea ecx, [edi - 0x10]
call fcn.004045ed
mov byte [ebp - 0x1c], 1
jmp 0x4149b0
lea ecx, [edi - 0x10]
call fcn.004045ed
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [esi - 0x10]
call fcn.004045ed
push ebx
call fcn.0041df98
mov al, byte [ebp - 0x1c]
pop ecx
call fcn.0041e92c
ret

Function at 0x4150d5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push esi
push 0x4151a0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x41510b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41512e
cmp byte [ebp + 0x10], 0
je 0x41512c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0x10]
jmp 0x41512e
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x415b64
Capabilities:
Check os version

Disassembly:
sub esp, 0x148
mov eax, dword [0x44a078]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x15c]
lea eax, [esp + 0x10]
push 0x30
pop esi
push esi
xor ebp, ebp
mov ebx, ecx
push ebp
push eax
call fcn.0041fe40
push 0x110
lea eax, [esp + 0x54]
mov dword [esp + 0x50], 0x114
push ebp
push eax
call fcn.0041fe40
add esp, 0x18
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x415bc7
cmp dword [esp + 0x44], 6
jae 0x415bca
push 0x2c
pop esi
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetParent]
or dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
mov eax, dword [0x44ade0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push ebp
push 0x432
push dword [ebx]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041df7e
add esp, 0x148
ret 0x10

Function at 0x4164ac
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44a078]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
and dword [ebp - 0x18], 0
push ebx
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x416528
lea eax, [ebp - 0x10]
push eax
push 0x4433b0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
xor ecx, ecx
mov dword [ebp - 8], 2
push ecx
push ecx
push ecx
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ecx
push dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x416528
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x41652a
xor bl, bl
cmp dword [ebp - 0x1c], 0
je 0x416539
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041df7e
mov esp, ebp
pop ebp
ret
Function at 0x416e88
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x8c
mov eax, dword [0x44a078]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov eax, edx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push ecx
mov dword [esp + 0x3c], eax
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416fc5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x416fc5
test ebp, ebp
je 0x416fc5
push 0x10000
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.0040a58b
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x416fbe
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], bl
call fcn.0040137f
push ebx
lea eax, [esp + 0x18]
push eax
push 0x10000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416f6e
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x416f6e
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
cmp eax, ebp
jbe 0x416f51
mov ecx, ebp
mov byte [esp + 0x13], 1
sub ecx, edx
mov dword [esp + 0x14], ecx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401260
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp byte [esp + 0x13], bl
je 0x416f1a
lea ecx, [esp + 0x24]
call fcn.004012ff
cmp byte [esp + 0x8c], bl
je 0x416fbe
mov esi, dword [esp + 0x20]
mov ebp, ebx
mov dl, byte [esp + ebp + 0x7c]
mov cl, dl
shr cl, 4
cmp cl, 0xa
sbb al, al
and dl, 0xf
and al, 0xd9
add al, 0x57
add al, cl
cmp dl, 0xa
mov byte [esi + ebp*2], al
sbb al, al
and al, 0xd9
add al, 0x57
add al, dl
mov byte [esi + ebp*2 + 1], al
inc ebp
cmp ebp, 0x10
jl 0x416f86
mov byte [esi + 0x20], bl
mov bl, 1
mov esi, dword [esp + 0x1c]
push esi
call fcn.0041df98
pop ecx
test edi, edi
je 0x416fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x98]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041df7e
add esp, 0x8c
ret
Function at 0x4172e2
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x44a078]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0xc
mov eax, 0x4343c4
call fcn.0041e952
mov ebx, edx
mov esi, ecx
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x417335
xor al, al
jmp 0x417445
mov edi, dword [esi]
mov eax, dword [edi - 0xc]
cmp eax, 0x4f
jle 0x417348
lea edi, [edi + eax*2]
add edi, 0xffffff62
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc8
push eax
lea eax, [ebp]
push eax
push 0
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x417379
cmp dword [ebp - 0x18], 0xc8
jbe 0x417434
call fcn.00404409
push eax
lea ecx, [ebp - 0x10]
call fcn.0040385f
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebx]
cmp dword [eax - 0xc], ecx
je 0x4173d7
push ecx
mov ecx, esi
call fcn.00407919
push 0x22
pop ecx
cmp ax, cx
je 0x4173d7
push 0
push 0x20
mov ecx, esi
call fcn.00407698
cmp eax, 0xffffffff
je 0x4173d7
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00407a72
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00403d7b
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00407a72
jmp 0x4173e0
push esi
lea ecx, [ebp - 0x10]
call fcn.00403643
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x417402
push 0
mov ecx, ebx
call fcn.00407919
push 0x20
pop ecx
cmp ax, cx
je 0x417402
push ecx
lea ecx, [ebp - 0x10]
call fcn.00407a72
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00403d7b
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004045ed
jmp 0x417437
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0041df7e
lea esp, [ebp + 0x194]
pop ebp
ret
Function at 0x41811c
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x434577
call fcn.0041e952
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], ebx
cmp edi, 0xffffffff
je 0x418164
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x418171
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x41828e
mov dword [ebp - 0x10], ebx
inc eax
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a58b
mov esi, dword [ebp - 0x10]
test al, al
jne 0x418191
push 8
pop ebx
jmp 0x418287
push ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4181b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x418287
mov ecx, dword [ebp + 0x10]
call fcn.00404605
mov eax, dword [ebp + 8]
test eax, eax
je 0x418287
mov ecx, dword [ebp + 0xc]
push str.utf_8
mov byte [eax + esi], bl
call fcn.00407729
test eax, eax
jne 0x4181e6
push 0xfde9
jmp 0x41827c
mov ecx, dword [ebp + 0xc]
push str.utf_16
call fcn.00407729
test eax, eax
jne 0x41822c
mov edi, dword [ebp + 8]
shr edi, 1
call fcn.00404409
push eax
push edi
push esi
lea ecx, [ebp + 0xc]
call fcn.00403885
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.00403643
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004045ed
mov edi, dword [ebp - 0x1c]
jmp 0x418287
mov ecx, dword [ebp + 0xc]
push str.ISO_8859_1
call fcn.00407729
test eax, eax
jne 0x418244
push 0x6faf
jmp 0x41827c
mov ecx, dword [ebp + 0xc]
push str.US_ASCII
call fcn.00407729
test eax, eax
jne 0x41827b
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push esi
call fcn.00419d86
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.00403643
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004045ed
jmp 0x418287
push ebx
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.0040f8b1
pop ecx
push esi
call fcn.0041df98
pop ecx
test edi, edi
je 0x418299
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.0041e92c
ret 0xc
Function at 0x418681
Capabilities:
Get file size

Disassembly:
push 8
mov eax, 0x4345e8
call fcn.0041e952
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.00419d43
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov dword [ebp + 0x10], eax
cmp byte [ebx + 0x40], cl
mov byte [ebx + 0x10], 1
cmovne ecx, eax
mov dword [ebp + 0xc], ecx
call fcn.00404409
push eax
lea ecx, [ebp - 0x10]
call fcn.0040385f
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.004185de
mov esi, eax
mov byte [ebx + 0x10], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4186fe
cmp dword [ebp + 0xc], eax
mov ecx, 0x2ee2
cmovne esi, ecx
test esi, esi
jne 0x418714
mov esi, dword [ebx + 4]
cmp esi, dword [edi]
je 0x418712
mov ecx, edi
call fcn.00419d43
mov dword [edi], esi
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004045ed
mov eax, esi
call fcn.0041e92c
ret 0x10

Function at 0x418729
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
push dword [edi + 0x64]
lea ebx, [edi + 0x38]
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, dword [esp + 0x20]
push ebp
push dword [esp + 0x20]
mov byte [edi + 0x41], 0
push dword [esp + 0x20]
mov dword [edi + 0x34], 3
push dword [esp + 0x20]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4187b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4187b7
jmp 0x4187a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4187a5
push ebx
lea ecx, [edi + 0xc]
call fcn.0041c24f
lea ecx, [edi + 0xc]
call fcn.0041c238
test al, al
jne 0x4187be
push 0xa
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx], 0
je 0x418773
cmp dword [edi + 0x30], 0
mov eax, dword [edi + 0x2c]
je 0x4187b7
test eax, eax
jle 0x4187b5
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov eax, 0xe0000008
jmp 0x4187b7
Function at 0x4187c5
Capabilities:
Query remote server for available data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
push dword [edi + 0x64]
lea ebx, [edi + 0x38]
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, dword [esp + 0x18]
xor eax, eax
push eax
push eax
push ebp
push dword [esp + 0x20]
mov byte [edi + 0x41], al
mov dword [edi + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x41884c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41884e
jmp 0x418837
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41883c
push ebx
lea ecx, [edi + 0xc]
call fcn.0041c24f
lea ecx, [edi + 0xc]
call fcn.0041c238
test al, al
jne 0x418855
push 0xa
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx], 0
je 0x41880a
cmp dword [edi + 0x30], 0
mov eax, dword [edi + 0x2c]
je 0x41884e
test eax, eax
jle 0x41884c
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, 0xe0000008
jmp 0x41884e
Function at 0x418a7f
Capabilities:
Connect network resource

Disassembly:
push 0x40
mov eax, 0x434676
call fcn.0041e952
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.00404409
push eax
lea ecx, [ebp - 0x14]
call fcn.0040385f
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00404409
push eax
lea ecx, [ebp - 0x10]
call fcn.0040385f
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov edi, ebx
call fcn.004069fe
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x418ad1
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x18]
cmp dword [ebp + 0x10], 0
je 0x418b1e
push 0x20
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0041fe40
xor eax, eax
mov dword [ebp - 0x3c], ebx
inc eax
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [esi - 4], eax
jle 0x418b05
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00403fdd
mov esi, dword [ebp - 0x18]
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
push dword [ebp + 0x14]
mov dword [ebp - 0x30], ebx
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov edi, eax
test edi, edi
jne 0x418b3b
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x2c]
call fcn.00406fcf
mov edi, eax
pop ecx
test edi, edi
je 0x418bfa
cmp edi, 0x52e
je 0x418b54
cmp edi, 0x56
je 0x418b54
cmp edi, 0x89a
jne 0x418c05
push str.Local_Network_Server
lea ecx, [ebp - 0x20]
call fcn.00404200
mov byte [ebp - 4], 3
call fcn.00404409
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040385f
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push ebx
call fcn.00419bb5
mov ecx, dword [ebp - 0x1c]
mov bl, al
neg bl
sbb bl, bl
add ecx, 0xfffffff0
call fcn.004045ed
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004045ed
add bl, 1
jne 0x418c01
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
cmp dword [eax - 4], 1
jle 0x418bd6
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00403fdd
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], eax
cmp dword [eax - 4], 1
jle 0x418bf3
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00403fdd
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], eax
xor ebx, ebx
jmp 0x418ad4
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x418c03
mov ebx, edi
mov edi, ebx
lea ecx, [esi - 0x10]
call fcn.004045ed
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004045ed
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004045ed
mov eax, edi
call fcn.0041e92c
ret 0x18
Function at 0x41983a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0041fe40
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
push ecx
push 0
push 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x419876
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x419880
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41a10c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x454
mov eax, 0x4348ce
call fcn.0041e986
xor edi, edi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], edi
lea eax, [ebp - 0x44c]
mov dword [ebp - 4], edi
push eax
push 0x20119
push edi
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a2c6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], edi
push eax
push edi
push edi
push str.CurrentMajorVersionNumber
push dword [ebp - 0x44c]
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x458], 4
call esi
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x450]
push eax
push edi
push edi
push str.CurrentMinorVersionNumber
push dword [ebp - 0x44c]
call esi
mov ecx, dword [ebp - 0x444]
test ecx, ecx
jne 0x41a204
lea eax, [ebp - 0x454]
mov dword [ebp - 0x454], 0x20
push eax
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push str.CurrentVersion
push dword [ebp - 0x44c]
call esi
lea ecx, [ebp - 0x30]
call fcn.00401c5c
cmp eax, 3
jne 0x41a1fe
movzx ecx, word [ebp - 0x30]
movzx eax, word [ebp - 0x2c]
sub ecx, 0x30
sub eax, 0x30
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x450], eax
jmp 0x41a204
mov ecx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x450]
mov dword [0x44bed4], eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x440]
mov dword [0x44bed0], ecx
push eax
push edi
push edi
push str.CurrentBuildNumber
push dword [ebp - 0x44c]
mov dword [ebp - 0x45c], 0x208
call esi
test eax, eax
jne 0x41a25f
or dword [ebp - 0x454], 0xffffffff
lea edx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x440]
call fcn.00401b5e
pop ecx
mov dword [0x44bed8], eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], 0x208
push eax
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push str.CSDVersion
push dword [ebp - 0x44c]
call esi
test eax, eax
jne 0x41a2b7
push ecx
lea edx, [ebp - 0x238]
mov ecx, 0x44bee0
call fcn.00401c37
pop ecx
lea ecx, [ebp - 0x238]
call fcn.00401c5c
movzx eax, word [ebp + eax*2 - 0x23a]
sub eax, 0x30
mov dword [0x44bedc], eax
call fcn.0041c979
mov byte [0x44bfe5], al
call fcn.0041a2e1
cmp dword [ebp - 0x44c], 0
je 0x41a2db
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041e941
ret
Function at 0x41a581
Capabilities:
Get geographical location

Disassembly:
push 0x14
mov eax, 0x434917
call fcn.0041e952
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.00404409
push eax
mov ecx, esi
call fcn.0040385f
push 0
push 0x43f24c
mov dword [ebp - 4], ebx
push 2
movzx ebx, di
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x18], eax
lea ecx, [eax - 1]
push ecx
push 0x78
lea ecx, [ebp - 0x10]
call fcn.004077ac
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 4], eax
jle 0x41a5f3
push dword [ecx - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00403fdd
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x18]
push ecx
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 0x10]
push edi
push str._d__s
push esi
call fcn.0040795c
mov ecx, dword [ebp - 0x10]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.004045ed
mov eax, esi
call fcn.0041e92c
ret
Function at 0x41b7b3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [ecx - 0x20]
neg esi
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x41b7f5
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0xc], 2
jne 0x41b7e5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41b7fc
cmp dword [esp + 0xc], 0
jne 0x41b7f5
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 1
je 0x41b813
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x20]
push eax
call fcn.0041b819
xor eax, eax
pop esi
ret 0x10