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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x65868b
add esp, 0xfffffff0
call fcn.00408694
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00484d88
mov eax, dword [0x8a54fc]
cmp byte [eax], 0
jne 0x6586b8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x8a611c]
cmp word [eax + 2], 0
jne 0x6586d2
mov eax, dword [0x8a611c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0065ab0c
mov eax, dword [0x8a6538]
cmp word [eax + 2], 0
jne 0x6586ec
mov eax, dword [0x8a6538]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0065ad10
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x537bd0]
call fcn.0053e2b0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x65b288
mov dl, 1
mov eax, dword [0x4468d0]
call fcn.00407fa8
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4468d0]
call fcn.00407fa8
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 [0x53cb24]
call fcn.005485fc
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x6588dc
mov eax, dword [0x8a5cb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00548b18
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x65b570
mov dl, 1
mov eax, dword [0x4468d0]
call fcn.00407fa8
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x8a5cb4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042a358
test eax, eax
je 0x658806
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042a1b0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042a33c
test eax, eax
je 0x65881e
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.0040ab08
push ebx
push 0x65a4ec
call fcn.0064d804
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x8a54fc]
cmp byte [eax], 0
jne 0x65886f
mov eax, ebx
call fcn.00658aa4
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.0065b7a8
mov eax, ebx
call fcn.0065c430
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6588d3
call fcn.004086ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x658dd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x658e72
cmp dword [ebx + 0xac], 0
jne 0x658e6c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x658d10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x658e6c
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 0x658e32
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x658e6c
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.0046f538
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x658e41
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x8ad7f4]
cmp dword [eax + 0x188], 0
je 0x659281
test bl, bl
jne 0x6591d4
cmp dword [esi + 0xb4], 0
jne 0x6591c9
mov eax, esi
call fcn.0065c280
push eax
push 0x659018
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x65919a
mov eax, dword [0x8ad7f4]
cmp byte [eax + 0xeb], 0
je 0x65919a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x65917b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x65919a
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 0x659183
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x6591c9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046f538
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x6591a9
inc dword [esi + 0xb4]
jmp 0x659281
cmp dword [esi + 0xb4], 0
jle 0x659281
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x659281
cmp dword [esi + 0x58], 0
je 0x659236
mov eax, dword [0x8ad7f4]
cmp byte [eax + 0xeb], 0
je 0x659236
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x659217
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x659236
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 0x65921f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x659265
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046f538
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x659245
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x649e74]
call fcn.0040c6d4
pop edi
pop esi
pop ebx
ret
Function at 0x65a008
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 0x65a065
cmp byte [ebx + 0xeb], 0
jne 0x65a065
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.0040a004
mov eax, dword [esi]
test eax, eax
je 0x65a052
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x65a072
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a25c
jmp 0x65a072
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a25c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x65b9bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x65ba2d
mov eax, esi
call fcn.00576d44
test al, al
je 0x65ba2d
mov eax, dword [ebx + 0x98]
call fcn.00576970
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x65ba2d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x65ba1e
push 0
mov eax, dword [ebx + 0x98]
call fcn.00576970
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0056d548
jmp 0x65ba2d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0065b7c8
pop esi
pop ebx
ret
Function at 0x693d8c
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x693dad
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x693dad
xor eax, eax
ret
mov al, 1
ret
Function at 0x6aa684
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6aa6b2
mov eax, ebx
call fcn.006ab140
cmp dword [ebx + 0x40], 0
je 0x6aa6ab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6aa723
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6aa715
cmp dword [ebx + 8], 0
je 0x6aa6d4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x6aa6e6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6aa715
cmp dword [ebx + 8], 0
je 0x6aa6c7
cmp eax, 3
je 0x6aa6f9
dec eax
jne 0x6aa6c7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x6aa6c7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6aa6c7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6aa741
cmp dword [ebx + 0x14], 0xcc
je 0x6aa741
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006aa74c
pop ebx
ret

Function at 0x6beee4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x8adca4], 0
jne 0x6beefb
call fcn.006beea0
mov eax, edi
dec eax
test eax, eax
jl 0x6bef23
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x8ad8a4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6bef05
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x6c1f48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x6c1f79
dec al
je 0x6c1fb4
dec al
je 0x6c1ff8
dec al
je 0x6c206a
jmp 0x6c2105
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6c2105
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6c1f89
jmp 0x6c2105
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6c2105
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6c1fc4
jmp 0x6c2105
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6c2105
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x6c202b
xor edx, edx
mov dword [esp + 4], edx
jmp 0x6c2040
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x6c2058
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x6c2008
jmp 0x6c2105
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6c2105
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x6c20d1
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.006bef2c
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6c2086
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6cd480
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x6cd4d1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x6cd4b8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6cd4a8
jmp 0x6cd4d1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x6cd4b9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x74b9d0
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409e7c
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x74ba01
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040a004
add esp, 0x24
pop ebx
ret

Function at 0x7c1314
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x7c1478
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x7c1356
or ebx, 0xffff
mov eax, esi
call fcn.0040aa50
mov esi, eax
jmp 0x7c1358
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x7c1388
mov eax, edi
call fcn.00409e7c
jmp 0x7c145d
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x7c13d8
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x8aeb4c]
call fcn.0042e3bc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x8a5d44]
mov dl, 1
mov eax, dword [0x7c518c]
call fcn.0042fb5c
call fcn.0040953c
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040abe0
mov eax, dword [edi]
test eax, eax
je 0x7c13f0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x7c145d
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040aa50
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7c145d
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x8aeb4c]
call fcn.0042e3bc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x8a5d44]
mov dl, 1
mov eax, dword [0x7c518c]
call fcn.0042fb5c
call fcn.0040953c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c147f
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00409edc
ret
Function at 0x7c168a
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x7c164b
add esp, 0xfffffff0
call fcn.00408694
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.007cb4b4
mov dl, 1
mov eax, dword [0x7bfd40]
call fcn.007c3dcc
mov dword [edi + 0xa0], eax
mov dl, 1
mov eax, dword [0x78023c]
call fcn.0078b504
mov dword [edi + 0x9c], eax
mov eax, dword [0x7bee90]
call fcn.007c3974
push 0
push 0
push 0
push 1
push 0x7c16ec
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0x98], esi
test esi, esi
jne 0x7c16b9
mov ecx, dword [0x8a610c]
mov dl, 1
mov eax, dword [0x7c5244]
call fcn.0042fa8c
call fcn.0040953c
push 0
push 0x10010
push 0x7c1498
mov eax, dword [edi + 0x98]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x7c16e6
call fcn.004086ec
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x7c26ac
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7c2878
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xa0], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x7c26ef
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x7c26f1
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040aa50
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x98]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0x88], edi
test edi, edi
jne 0x7c2745
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x8a54dc]
mov dl, 1
mov eax, dword [0x7c530c]
call fcn.0042fb5c
call fcn.0040953c
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x7c2894
call fcn.0040adf0
jne 0x7c275e
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.007c12d4
mov eax, dword [ebp - 0x10]
call fcn.0040aa50
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00786fac
mov eax, dword [ebp - 0x14]
call fcn.0040aa50
push eax
mov eax, dword [ebx + 0x88]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0x8c], edi
test edi, edi
jne 0x7c27ea
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x8aeb4c]
call fcn.0042e3bc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x8a6004]
mov dl, 1
mov eax, dword [0x7c530c]
call fcn.0042fb5c
call fcn.0040953c
mov edi, dword [ebx + 0x10]
push edi
push edi
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0x8c]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7c2850
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x2c]
mov edx, dword [0x8aeb4c]
call fcn.0042e3bc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x8a6364]
mov dl, 1
mov eax, dword [0x7c530c]
call fcn.0042fb5c
call fcn.0040953c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c287f
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00409edc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409edc
ret
Function at 0x80cd8c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x80cd94
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x80cf49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x80cf64
call fcn.0040acb8
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.0080a940
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x80cf78
call fcn.0071ea6c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x80ce0f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x80ce50
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0080a940
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x80cfe0
call fcn.0071ea6c
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040ac60
mov eax, esi
mov edx, 0x80d00c
call fcn.0040ac60
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x80ce68
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x80ced6
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x80d020
call fcn.0071ea6c
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040ac60
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x80ce9f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x80ceca
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x80d050
call fcn.0071ea6c
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040ac60
mov eax, esi
mov edx, 0x80d00c
call fcn.0040ac60
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x80cee2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x80cf0d
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x80d07c
call fcn.0071ea6c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040ac60
mov eax, esi
mov edx, 0x80d00c
call fcn.0040ac60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80cf50
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409edc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409edc
lea eax, [ebp - 4]
call fcn.00409e7c
ret
Function at 0x840d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x840e08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409e7c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040f5f4
mov eax, dword [ebp - 4]
test eax, eax
je 0x840d7f
sub eax, 4
mov eax, dword [eax]
mov esi, eax
dec esi
test esi, esi
jl 0x840dae
inc esi
xor ebx, ebx
movzx eax, di
shr eax, 8
mov edx, dword [ebp - 4]
xor byte [edx + ebx], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
add di, ax
imul ax, di, 0xd201
add ax, 0x7f6a
mov edi, eax
inc ebx
dec esi
jne 0x840d89
mov eax, dword [ebp - 4]
test eax, eax
je 0x840dba
sub eax, 4
mov eax, dword [eax]
mov esi, eax
dec esi
test esi, esi
jl 0x840dea
inc esi
xor ebx, ebx
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
mov edx, 2
call fcn.0042910c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040ac60
mov eax, dword [ebp - 8]
inc ebx
dec esi
jne 0x840dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x840e0f
lea eax, [ebp - 0xc]
call fcn.00409e7c
lea eax, [ebp - 4]
call fcn.00409ea0
ret