joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4510e0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7e10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x4ed390], 0
jne 0x45112e
push str.Create_MiniBrowser_failed_1
push 0
push str.minibrowserMiniBrowser.cpp
call fcn.00416f00
add esp, 0xc
jmp 0x4512b3
cmp dword [edi + 0x68], 0
jne 0x4512b3
call dword [0x4ed9c4]
mov dword [edi + 0x68], eax
test eax, eax
jne 0x45115d
push str.Create_MiniBrowser_failed_2
push eax
push str.minibrowserMiniBrowser.cpp
call fcn.00416f00
add esp, 0xc
jmp 0x4512b3
push 0x49
xor eax, eax
mov dword [ebp - 0x14], 7
push str.Mozilla___5.0__Windows_NT_10.0__WOW64__Trident___7.0__rv:11.0__like_Gecko
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402ddd
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x68]
call dword [0x4ed9cc]
mov eax, dword [edi + 0x3c]
add esp, 8
mov edx, dword [edi + 0x6c]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
push eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
push ecx
lea ecx, [edi + 0x6c]
call dword [edx]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x10]
push dword [eax + 4]
push dword [edi + 0x68]
call dword [0x4ed850]
push edi
push 0x450ca0
push dword [edi + 0x68]
call dword [0x4ed868]
push edi
push 0x450c50
push dword [edi + 0x68]
call dword [0x4ed9ac]
push 1
push edi
push 0x450c80
push str.eMsg
call dword [0x4ed9b0]
push 1
push dword [edi + 0x68]
call dword [0x4ed9c0]
push 1
push dword [edi + 0x68]
call dword [0x4ed840]
mov eax, dword [edi + 0x10]
add esp, 0x40
sub eax, dword [edi + 8]
push eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
push dword [edi + 0x68]
call dword [0x4ed860]
push edi
push 0x450ce0
push dword [edi + 0x68]
call dword [0x4ed9b8]
add esp, 0x18
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 9
push str.newwindow
call fcn.00403381
push 0x2b12
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00450f80
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x451291
push dword [ebp - 0x40]
call esi
add esp, 4
push str.CreateMiniBrowser_OK
push 0
push str.minibrowserMiniBrowser.cpp
call fcn.00416f00
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x4512b3
push dword [ebp - 0x28]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
Function at 0x451420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x68], 0
je 0x4514e7
cmp dword [0x4ed390], 0
je 0x4514e7
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
push esi
shr eax, 0x10
xor esi, esi
cwde
push 0x10
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
call ebx
push 0x11
call ebx
test ax, ax
mov ecx, 8
push 0x10
cmovs esi, ecx
call ebx
test ax, ax
jns 0x451477
or esi, 4
push 1
call ebx
test ax, ax
jns 0x451483
or esi, 1
push 4
call ebx
test ax, ax
jns 0x45148f
or esi, 0x10
push 2
call ebx
test ax, ax
jns 0x45149b
or esi, 2
mov ecx, dword [ebp + 8]
push esi
cmp ecx, 0x20a
jne 0x4514ca
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cwde
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [edi + 0x68]
call dword [0x4ed9a4]
add esp, 0x14
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
sub eax, dword [edi + 8]
push eax
mov eax, dword [ebp - 4]
sub eax, dword [edi + 4]
push eax
push ecx
push dword [edi + 0x68]
call dword [0x4ed9dc]
add esp, 0x14
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x453ff0
Capabilities:
Set global application hook

Disassembly:
push 0
push 0
mov dword [0x4edba8], 0
mov dword [0x4edbac], 0
call fcn.0044d4e0
mov dword [0x4edba8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x453ed0
push 3
mov dword [0x4edba4], eax
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4edba0], eax
mov eax, 0x4edba0
ret

Function at 0x4549c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x454a4e
cmp dword [esi + 0x170], 8
lea eax, [esi + 0x15c]
mov dword [eax + 0x10], 0
jb 0x4549e8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x454a31
mov eax, dword [esi + 0x130]
test eax, eax
je 0x454a15
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 0x130], 0
push 0
push dword [esi + 4]
mov dword [0x4ed294], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push dword [esi + 0x13c]
push dword [esi + 0x138]
call fcn.00455d00
mov eax, dword [esi + 0x138]
mov dword [esi + 0x13c], eax
pop esi
ret
Function at 0x456e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x4e50cc]
xor eax, esp
mov dword [esp + 0x84], eax
movdqu xmm0, xmmword [str.IE_Browser_Window]
mov eax, dword [0x4ca7c0]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x70], eax
movdqu xmmword [esp + 0x50], xmm0
movdqu xmm0, xmmword [0x4ca7b0]
mov eax, dword [edi + 0x90]
movdqu xmmword [esp + 0x60], xmm0
test eax, 0x10000000
je 0x456e6b
and eax, 0xefffffff
mov dword [edi + 0x90], eax
xor eax, eax
push eax
mov word [esp + 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f00
mov esi, eax
mov dword [esp + 0x14], 0x30
push 0
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x457b30
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], str.IE_Browser_Window
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
test dword [edi + 0x50], 0x80000000
je 0x456f45
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push dword [edi + 0xa0]
lea eax, [esp + 0x20]
push dword [edi + 0x9c]
push dword [edi + 0x98]
push dword [edi + 0x94]
push dword [edi + 0x90]
push eax
lea eax, [esp + 0x78]
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [edi + 0xa4]
mov dword [edi + 0x70], eax
push eax
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x456fbf
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0xa4]
movdqu xmmword [esp + 0x48], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x40]
push 0
push esi
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x4c]
push 0
mov dword [edi + 0xb4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push dword [edi + 0xa0]
mov eax, dword [edi + 0x98]
push dword [edi + 0x9c]
add eax, dword [esp + 0x5c]
push eax
mov eax, dword [edi + 0x94]
add eax, dword [esp + 0x5c]
push eax
push dword [edi + 0x90]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x78]
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x70], eax
push edi
push 0xffffffffffffffeb
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi]
mov ecx, edi
push 0
push 1
call dword [eax + 0x70]
push 0
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x456fff
mov eax, dword [ecx]
push 0
push 0
push 0x18
call dword [eax + 0x20]
test dword [edi + 0x50], 0x80000000
jne 0x457022
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x3ed
push dword [edi + 0x70]
call esi
push 0x3ee
push dword [edi + 0x70]
call esi
mov ecx, dword [esp + 0x8c]
xor eax, eax
cmp dword [edi + 0x70], eax
pop edi
setne al
pop esi
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret 4
Function at 0x459520
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4595b8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x84], 0
je 0x4595b1
push 0
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0
push 0xfce
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xffffffffffffffff
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x88]
mov dword [esi + 0x84], 0
test eax, eax
je 0x4595b8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x88], 0
mov eax, 1
pop esi
ret
mov ecx, esi
call fcn.0045b0a0
mov eax, 1
pop esi
ret
Function at 0x45cd90
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x238], esi
mov word [esi], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 0x1a
test bl, bl
mov eax, 0x23
cmovne eax, ecx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45cee7
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x218], ax
jne 0x45ce59
xor ecx, ecx
jmp 0x45ce71
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ce62
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402ddd
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004035de
mov byte [ebp - 4], 0
cmp dword [ebp - 0x220], 8
jb 0x45ceb9
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x2c
mov ecx, esi
push str.9CC84E23_75A4_41F9_82B5_67F4FD9E78A7Common
call fcn.00404056
mov ecx, esi
call fcn.0043c7b0
test al, al
jne 0x45ced9
mov ecx, esi
call fcn.0043c8d0
push 0xa
push 0x4cac98
mov ecx, esi
call fcn.00404056
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret

Function at 0x45d1f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
test eax, eax
je 0x45d240
push dword [ebp + 0xc]
push eax
call fcn.0045d0c0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
shr ecx, 3
mov dword [ebp - 0x10], eax
and ecx, 0x3f
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, 0x38
cmp ecx, 0x38
jb 0x45d264
mov eax, 0x78
sub eax, ecx
mov ecx, esi
push eax
push 0x4cad38
call fcn.0045d0c0
push 8
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0045d0c0
movdqu xmm0, xmmword [esi]
mov ecx, dword [ebp - 8]
xor ecx, ebp
movdqu xmmword [edi], xmm0
pop edi
pop esi
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45dbf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.004b1b80
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45dc43
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x45dc89
mov eax, 0x5c
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x45dc89
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ecx*2 + 2]
cmp eax, 0x208
jae 0x45de31
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
push 0x104
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x45dcd0
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ddd8
lea ecx, [ebp - 0x2a90]
mov dword [ebp - 0x2a90], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x45ddd8
mov eax, ebx
mov dword [ebp - 0x2aa0], 3
lea ecx, [ebp - 0x2a98]
push esi
sub eax, ecx
push edi
lea edi, [ebp - 0x2a8c]
mov dword [ebp - 0x2aa4], eax
lea ecx, [edi + 8]
call fcn.0045de40
mov dword [ebp - 0x2a9c], eax
xor eax, eax
mov dword [ebp - 0x2a98], eax
xor ecx, ecx
mov word [ebp - 0x2a94], ax
mov eax, dword [ebp - 0x2aa4]
lea ecx, [ecx]
lea esi, [ebp - 0x2a98]
add esi, ecx
mov dl, byte [eax + esi]
cmp dl, byte [esi]
jne 0x45dd6d
inc ecx
cmp ecx, 6
jb 0x45dd50
mov ecx, dword [ebp - 0x2a9c]
jmp 0x45dd8b
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x45dd7d
cmp eax, 0x17
jne 0x45ddcc
mov ecx, dword [ebp - 0x2a9c]
cmp dword [ebp - 0x2aa0], ecx
jle 0x45ddcc
movzx eax, byte [edi + 0x194]
mov byte [ebx], al
movzx eax, byte [edi + 0x195]
mov byte [ebx + 1], al
movzx eax, byte [edi + 0x196]
mov byte [ebx + 2], al
movzx eax, byte [edi + 0x197]
mov byte [ebx + 3], al
movzx eax, byte [edi + 0x198]
mov byte [ebx + 4], al
movzx eax, byte [edi + 0x199]
mov byte [ebx + 5], al
mov dword [ebp - 0x2aa0], ecx
mov edi, dword [edi]
test edi, edi
jne 0x45dd28
pop edi
pop esi
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x2a98], eax
mov word [ebp - 0x2a94], ax
lea eax, [ebp - 0x2a98]
sub ebx, eax
lea ecx, [ecx]
lea ecx, [ebp - 0x2a98]
add ecx, edx
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x45de19
inc edx
cmp edx, 6
jb 0x45de00
mov cl, 1
jmp 0x45de1b
xor cl, cl
xor eax, eax
test cl, cl
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
call fcn.004a5e52
int3
Function at 0x45de40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x114], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x10c], 0
call esi
test eax, eax
jne 0x45e00f
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call dword [sym.imp.MSVCR120.dll__snprintf_s]
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x45e007
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 4
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x45dfff
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x114], 0x103
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x45dfff
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x45dff0
mov esi, dword [sym.imp.MSVCR120.dll_strncmp]
lea eax, [ebp - 0x108]
push ebx
push 0x4cae04
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x45dfc1
xor ebx, ebx
jmp 0x45dfff
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x45dff0
push 3
lea eax, [ebp - 0x108]
push 0x4cae04
push eax
call esi
add esp, 0xc
test eax, eax
je 0x45dfea
mov ebx, 2
jmp 0x45dfff
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
Function at 0x45f100
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4e50cc]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x45f158
mov eax, dword [esp]
cmp al, 2
jne 0x45f152
shr eax, 8
cmp al, 2
jne 0x45f152
call fcn.0046f480
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
mov eax, 2
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
Function at 0x462e60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x462e8b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x462e7e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x462ebf
cmp dword [esi + 8], 0
jne 0x462eb0
push 0x4cb178
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x462eb0
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.MSVCR120.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x462ee2
mov eax, dword [esi + 8]
test eax, eax
je 0x462edc
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4676c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.no_proxy
mov edi, ecx
xor esi, esi
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x188], 0
test eax, eax
je 0x467723
push 0x104
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x188], 0
je 0x467723
lea eax, [ebp - 0x188]
push eax
call dword [0x4e52d4]
add esp, 4
mov ebx, eax
jmp 0x467725
xor ebx, ebx
test ebx, ebx
jne 0x467735
mov ecx, str.NO_PROXY
call fcn.0047b2a0
mov ebx, eax
mov ecx, dword [edi + 0x98]
mov edx, ebx
call fcn.00467570
test al, al
jne 0x467806
mov eax, dword [edi + 0x27c]
lea esi, [ebp - 0x84]
mov edi, dword [eax]
mov al, byte [edi]
test al, al
je 0x467779
mov edi, edi
movsx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_tolower]
mov byte [esi], al
lea edi, [edi + 1]
mov al, byte [edi]
add esp, 4
inc esi
test al, al
jne 0x467760
mov eax, dword [str._proxy]
lea ecx, [ebp - 0x84]
mov dword [esi], eax
mov ax, word [0x4cb6d4]
mov word [esi + 4], ax
mov al, byte [0x4cb6d6]
mov byte [esi + 6], al
call fcn.0047b2a0
mov esi, eax
test esi, esi
jne 0x467806
lea edx, [ebp - 0x84]
mov ecx, str.http_proxy
call fcn.0047b1d0
test eax, eax
jne 0x4677ea
mov esi, 0x80
lea edx, [ebp - 0x84]
mov cl, byte [edx]
mov al, cl
sub al, 0x61
cmp al, 0x19
ja 0x4677cf
sub cl, 0x20
mov byte [edx], cl
inc edx
test cl, cl
je 0x4677d9
dec esi
jne 0x4677c2
lea ecx, [ebp - 0x84]
call fcn.0047b2a0
mov esi, eax
test esi, esi
jne 0x467806
mov ecx, str.all_proxy
call fcn.0047b2a0
mov esi, eax
test esi, esi
jne 0x467806
mov ecx, str.ALL_PROXY
call fcn.0047b2a0
mov esi, eax
push ebx
call dword [0x4e52dc]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
Function at 0x468460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
mov dword [ebp - 0xc], ecx
push esi
mov esi, dword [ecx + 0x208]
xor eax, eax
mov ecx, dword [ecx + 0x20c]
mov edx, 0x493e0
test esi, esi
mov dword [ebp - 4], edx
mov edx, 1
mov dword [ebp - 8], 0
cmovg eax, edx
push edi
test ecx, ecx
jle 0x46849c
or eax, 2
dec eax
je 0x4684b6
dec eax
je 0x4684b1
dec eax
jne 0x4684b9
cmp esi, ecx
mov edx, ecx
cmovl edx, esi
mov dword [ebp - 4], edx
jmp 0x4684b9
mov dword [ebp - 4], ecx
jmp 0x4684b9
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov edi, edx
shr edi, 6
imul eax, edi, 0x3e8
sub ecx, eax
mov eax, dword [ebp - 0xc]
imul ecx, ecx, 0x3e8
mov esi, dword [eax + 0x508]
sub esi, edi
sub ecx, dword [eax + 0x50c]
mov eax, 0x10624dd3
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 4]
add ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
cmp byte [ebx + 0x252], 0
je 0x46852a
mov ecx, dword [ebp + 8]
xor eax, eax
mov byte [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0xa8]
test edx, edx
je 0x4685bb
cmp byte [edx], 0
je 0x4685bb
mov dword [ebp - 4], 0
test ecx, ecx
js 0x468628
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push dword [ebx + 0xb0]
call fcn.0046b300
add esp, 8
cmp eax, 1
jne 0x46857b
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 4]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffffe
je 0x468628
cmp dword [ebp - 4], 0
jne 0x46862f
push dword [ebx + 0xac]
push str.Couldnt_resolve_proxy__s
push dword [ebp - 0xc]
call fcn.0046c410
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 8], 5
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0
test ecx, ecx
js 0x468628
mov edx, dword [ebx + 0x98]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, ebx
call fcn.0046b300
add esp, 8
cmp eax, 1
je 0x468565
cmp eax, 0xfffffffe
je 0x468628
cmp dword [ebp - 4], 0
jne 0x46862f
push dword [ebx + 0x9c]
push str.Couldnt_resolve_host__s
push dword [ebp - 0xc]
call fcn.0046c410
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 8], 6
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0x1c
mov eax, dword [ebp - 4]
pop edi
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret