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

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x1119769
test edi, 0x40000
je 0x1119783
test bl, bl
jne 0x1119804
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x1119804
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x11197b6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x11197cb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x11197da
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x11197eb
cmp byte [esp + 2], 0
je 0x1119804
cmp byte [esp + 2], 0
je 0x11197fc
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x1119804
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x1119aa8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x1119ace
mov eax, esp
push eax
push 0x1119a70
call sub.user32.dll_EnumWindows
jmp 0x1119ae1
mov eax, esp
push eax
push 0x1119a50
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x1119ba4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x1119bf4]
test bl, 4
je 0x1119bb8
or si, 1
test bl, 8
je 0x1119bc1
or si, 4
test bl, 1
je 0x1119bca
or si, 8
test bl, 2
je 0x1119bd3
or si, 0x10
test bl, 0x10
je 0x1119bdc
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1119bec
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1119bf8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x1119c34]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1119c13
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1119c23
or bx, 4
test esi, 0x20000000
je 0x1119c2f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x1119c88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.01119c38
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x1122ffc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x112300e
add esp, 0xfffffff0
call fcn.00f08934
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00fcef18
mov eax, dword [0x19c4d7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x11234c8
mov eax, dword [0x19c4d8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x11234d4
mov eax, ebx
call fcn.011234e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x111d9b0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x1015e78]
call fcn.0101c7d8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x1015e78]
call fcn.0101c7d8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x1015e78]
call fcn.0101c7d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x1015e78]
call fcn.0101c7d8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x1015e78]
call fcn.0101c7d8
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.01123abc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x11238ec
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x11238ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x11238ec
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x11238ec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x11238ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x112318e
call fcn.00f0898c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x112368c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1123837
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x1123818
mov dl, 1
mov eax, dword [0xf97908]
call fcn.00fbdb38
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00f0a19c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x1123807
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0105ccd4
test al, al
je 0x11237fa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x1123848
lea eax, [ebp - 0x394]
call fcn.00f29000
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x11237fa
xor eax, eax
push ebp
push 0x11237f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x11238b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x11237dc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00f0b1b0
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x11237dc
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00f0b1b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11237fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x11236fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.00fbda5c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x112383e
lea eax, [ebp - 0x3a0]
call fcn.00f0a19c
ret

Function at 0x1124444
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x19cc1ac]
cmp byte [eax + 0xc5], 0
jne 0x11244b6
cmp dword [0x19cc1d0], 0
jne 0x1124476
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x1588704]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x19cc1d0], eax
cmp dword [0x19cc1cc], 0
jne 0x1124491
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x19cc1cc], eax
cmp dword [0x19cc1d4], 0
jne 0x11244b6
push esp
push 0
push 0
mov eax, dword [0x1588700]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x19cc1d4], eax
pop edx
ret
Function at 0x11248d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x11248ef
add esp, 0xfffffff0
call fcn.00f08934
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00fcef18
mov eax, dword [0x19c488c]
cmp byte [eax], 0
jne 0x112491c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x19c53c8]
cmp word [eax + 2], 0
jne 0x1124936
mov eax, dword [0x19c53c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.01126ccc
mov eax, dword [0x19c57ac]
cmp word [eax + 2], 0
jne 0x1124950
mov eax, dword [0x19c57ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.01126ed0
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x1015e78]
call fcn.0101c7d8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x1127448
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x101b044]
call fcn.01026e0c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x1124b40
mov eax, dword [0x19c4f8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.01027328
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x1127730
mov dl, 1
mov eax, dword [0xf93d78]
call fcn.00f0827c
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x19c4f8c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00f28e00
test eax, eax
je 0x1124a6a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00f28bbc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00f28de4
test eax, eax
je 0x1124a82
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00f0b1b0
push ebx
push 0x11266a8
call fcn.01119b88
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x19c488c]
cmp byte [eax], 0
jne 0x1124ad3
mov eax, ebx
call fcn.01124d24
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.01127968
mov eax, ebx
call fcn.01128608
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x1124b37
call fcn.00f0898c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1125068
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x112510a
cmp dword [ebx + 0xac], 0
jne 0x1125104
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x1124fa4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x1125104
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_GetWindowLongW
test al, 8
je 0x11250ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x1125104
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00fb8ec4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x11250d9
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x11253c4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x19cc1ac]
cmp dword [eax + 0x188], 0
je 0x112553e
test bl, bl
jne 0x1125489
cmp dword [esi + 0xb4], 0
jne 0x112547e
mov eax, esi
call fcn.01128458
push eax
push 0x11252b8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x112544f
mov eax, dword [0x19cc1ac]
cmp byte [eax + 0xeb], 0
je 0x112544f
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x1125430
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x112544f
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x1125438
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x112547e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00fb8ec4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x112545e
inc dword [esi + 0xb4]
jmp 0x112553e
cmp dword [esi + 0xb4], 0
jle 0x112553e
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x112553e
cmp dword [esi + 0x58], 0
je 0x11254f3
mov eax, dword [0x19cc1ac]
cmp byte [eax + 0xeb], 0
je 0x11254f3
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x11254d4
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x11254f3
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x11254dc
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x1125522
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00fb8ec4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x1125502
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x11163cc]
call fcn.00f0d194
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x11261dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x1126239
cmp byte [ebx + 0xeb], 0
jne 0x1126239
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00f0a324
mov eax, dword [esi]
test eax, eax
je 0x1126226
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x1126246
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00f0a57c
jmp 0x1126246
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00f0a57c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x1127b7c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x1127bed
mov eax, esi
call fcn.010567a0
test al, al
je 0x1127bed
mov eax, dword [ebx + 0x98]
call fcn.010563cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x1127bed
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x1127bde
push 0
mov eax, dword [ebx + 0x98]
call fcn.010563cc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0104cdd0
jmp 0x1127bed
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.01127988
pop esi
pop ebx
ret
Function at 0x11c38e8
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, eax
xor eax, eax
push ebp
push 0x11c3a61
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edx
test esi, esi
je 0x11c3925
or ebx, 0xffff
mov eax, esi
call fcn.00f0b0f4
mov esi, eax
jmp 0x11c3927
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push esi
push ebx
push edi
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x2f76
jne 0x11c3955
mov eax, dword [ebp + 8]
call fcn.00f0a19c
jmp 0x11c3a38
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x7a
je 0x11c39a5
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call sub.KERNEL32.DLL_GetLastError
lea ecx, [ebp - 0x1c]
mov edx, dword [0x19cc8a8]
call fcn.00f2cc48
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [0x19c501c]
mov dl, 1
mov eax, dword [0x11c6fbc]
call fcn.00f2e3ac
call fcn.00f09858
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0xf04e0c]
call fcn.00f0d070
add esp, 4
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
push edi
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x11c3a21
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call sub.KERNEL32.DLL_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x19cc8a8]
call fcn.00f2cc48
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [0x19c501c]
mov dl, 1
mov eax, dword [0x11c6fbc]
call fcn.00f2e3ac
call fcn.00f09858
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00f36eec
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00f36d58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11c3a68
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00f0a1fc
lea eax, [ebp - 4]
mov edx, dword [0xf04e0c]
call fcn.00f0d194
ret

Function at 0x11c3c36
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x11c3bf7
add esp, 0xfffffff0
call fcn.00f08934
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.011ceb54
mov dl, 1
mov eax, dword [0x11c28bc]
call fcn.011c5bcc
mov dword [edi + 0x98], eax
mov dl, 1
mov eax, dword [0x11970d8]
call fcn.011a1ca0
mov dword [edi + 0x94], eax
mov eax, dword [0x158aa10]
call fcn.011c5878
push 0
push 0
push 0
push 1
push 0x11c3c80
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0x90], esi
test esi, esi
jne 0x11c3c65
mov ecx, dword [0x19c53c4]
mov dl, 1
mov eax, dword [0x11c7074]
call fcn.00f2e2dc
call fcn.00f09858
mov eax, edi
test bl, bl
je 0x11c3c7a
call fcn.00f0898c
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x11c46b4
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x11c486f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 0x10], 0
jle 0x11c46e9
movzx edi, word [esi + 0x10]
jmp 0x11c46eb
xor edi, edi
push 0
push edi
mov eax, dword [esi + 0xc]
call fcn.00f0b0f4
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x90]
push eax
call sub.winhttp.dll_WinHttpConnect
mov dword [ebx + 0x88], eax
cmp dword [ebx + 0x88], 0
jne 0x11c473c
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [0x19c4878]
mov dl, 1
mov eax, dword [0x11c713c]
call fcn.00f2e3ac
call fcn.00f09858
xor edi, edi
mov eax, dword [esi]
mov edx, 0x11c488c
call fcn.00f0b4f8
jne 0x11c4752
or edi, 0x800000
push edi
push 0
push 0
push 0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.011c38a8
mov eax, dword [ebp - 0xc]
call fcn.00f0b0f4
push eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0119db0c
mov eax, dword [ebp - 0x10]
call fcn.00f0b0f4
push eax
mov eax, dword [ebx + 0x88]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov dword [ebx + 0x8c], eax
cmp dword [ebx + 0x8c], 0
jne 0x11c47e0
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.KERNEL32.DLL_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x19cc8a8]
call fcn.00f2cc48
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [0x19c52c4]
mov dl, 1
mov eax, dword [0x11c713c]
call fcn.00f2e3ac
call fcn.00f09858
mov esi, dword [ebx + 0x10]
push esi
push esi
mov eax, dword [ebx + 0xc]
push eax
push 0
mov eax, dword [ebx + 0x8c]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x11c4847
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.KERNEL32.DLL_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x19cc8a8]
call fcn.00f2cc48
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [0x19c5634]
mov dl, 1
mov eax, dword [0x11c713c]
call fcn.00f2e3ac
call fcn.00f09858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11c4876
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00f0a1fc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00f0a1fc
ret
Function at 0x12e07ec
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x12e07f4
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x12e0899
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
call fcn.00f55a44
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x18]
mov ecx, dword [0xf4bc2c]
call fcn.00f0bf80
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
push ebp
push 0x12e086e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00f3b088
lea eax, [ebx + 0x40]
lea edx, [ebp - 0x10]
call fcn.00f3b90c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12e0875
lea eax, [ebp - 0x10]
call fcn.00f3b09c
ret

Function at 0x1386a94
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2c]
cmp al, byte [ebp - 5]
je 0x1386b1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax + 0x1c]
dec ebx
test ebx, ebx
jl 0x1386ae7
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x24]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
movzx edx, word [0x1386b24]
call fcn.01382e08
test al, al
je 0x1386ae3
push ebp
call fcn.01386a40
pop ecx
inc esi
dec ebx
jne 0x1386ac0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax + 0x1c]
dec ebx
test ebx, ebx
jl 0x1386b12
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
movzx edx, byte [ebp - 5]
xor dl, 1
mov eax, dword [eax + 0x14]
mov eax, dword [eax + esi*4]
mov byte [eax + 0x44], dl
inc esi
dec ebx
jne 0x1386af8
mov eax, dword [ebp - 4]
movzx edx, byte [ebp - 5]
mov byte [eax + 0x2c], dl
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret