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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x619d4f
add esp, 0xfffffff0
call fcn.00408644
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00480cec
mov eax, dword [0x7a3d28]
cmp byte [eax], 0
jne 0x619d7c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x7a44e4]
cmp word [eax + 2], 0
jne 0x619d96
mov eax, dword [0x7a44e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0061c1d0
mov eax, dword [0x7a4788]
cmp word [eax + 2], 0
jne 0x619db0
mov eax, dword [0x7a4788]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0061c3d4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x52cd6c]
call fcn.0053350c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x61c94c
mov dl, 1
mov eax, dword [0x442f38]
call fcn.00407f58
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x442f38]
call fcn.00407f58
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 [0x531d80]
call fcn.0053db14
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x619fa0
mov eax, dword [0x7a41ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0053e030
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x61cc34
mov dl, 1
mov eax, dword [0x442f38]
call fcn.00407f58
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x7a41ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426448
test eax, eax
je 0x619eca
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004262a0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042642c
test eax, eax
je 0x619ee2
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.0040aad8
push ebx
push 0x61bbb0
call fcn.0060eee8
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x7a3d28]
cmp byte [eax], 0
jne 0x619f33
mov eax, ebx
call fcn.0061a168
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.0061ce6c
mov eax, ebx
call fcn.0061daf4
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x619f97
call fcn.0040869c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61a494
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x7ab7d8]
cmp dword [eax + 0x188], 0
je 0x61a945
test bl, bl
jne 0x61a898
cmp dword [esi + 0xb4], 0
jne 0x61a88d
mov eax, esi
call fcn.0061d944
push eax
push 0x61a6dc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x61a85e
mov eax, dword [0x7ab7d8]
cmp byte [eax + 0xeb], 0
je 0x61a85e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x61a83f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x61a85e
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 0x61a847
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x61a88d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046b620
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x61a86d
inc dword [esi + 0xb4]
jmp 0x61a945
cmp dword [esi + 0xb4], 0
jle 0x61a945
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x61a945
cmp dword [esi + 0x58], 0
je 0x61a8fa
mov eax, dword [0x7ab7d8]
cmp byte [eax + 0xeb], 0
je 0x61a8fa
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x61a8db
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x61a8fa
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 0x61a8e3
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x61a929
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046b620
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x61a909
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x60b558]
call fcn.0040c99c
pop edi
pop esi
pop ebx
ret
Function at 0x61b6cc
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 0x61b729
cmp byte [ebx + 0xeb], 0
jne 0x61b729
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.00409f78
mov eax, dword [esi]
test eax, eax
je 0x61b716
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x61b736
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a1d0
jmp 0x61b736
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a1d0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x61d080
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x61d0f1
mov eax, esi
call fcn.005669f8
test al, al
je 0x61d0f1
mov eax, dword [ebx + 0x98]
call fcn.00566624
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x61d0f1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x61d0e2
push 0
mov eax, dword [ebx + 0x98]
call fcn.00566624
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0055d1c4
jmp 0x61d0f1
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0061ce8c
pop esi
pop ebx
ret
Function at 0x62be58
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x62be86
mov eax, ebx
call fcn.0062c914
cmp dword [ebx + 0x40], 0
je 0x62be7f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x62bef7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x62bee9
cmp dword [ebx + 8], 0
je 0x62bea8
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 0x62beba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x62bee9
cmp dword [ebx + 8], 0
je 0x62be9b
cmp eax, 3
je 0x62becd
dec eax
jne 0x62be9b
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 0x62be9b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x62be9b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x62bf15
cmp dword [ebx + 0x14], 0xcc
je 0x62bf15
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.0062bf20
pop ebx
ret

Function at 0x67137c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409df0
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6713ad
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409f78
add esp, 0x24
pop ebx
ret
Function at 0x69b3ac
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 0x69b3b4
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x69b569
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, 0x69b584
call fcn.0040ac88
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.00698f60
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x69b598
call fcn.00642c08
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x69b42f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x69b470
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.00698f60
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x69b600
call fcn.00642c08
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040ac30
mov eax, esi
mov edx, 0x69b62c
call fcn.0040ac30
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x69b488
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x69b4f6
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, 0x69b640
call fcn.00642c08
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040ac30
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x69b4bf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x69b4ea
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, 0x69b670
call fcn.00642c08
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040ac30
mov eax, esi
mov edx, 0x69b62c
call fcn.0040ac30
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x69b502
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x69b52d
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, 0x69b69c
call fcn.00642c08
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040ac30
mov eax, esi
mov edx, 0x69b62c
call fcn.0040ac30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69b570
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409e50
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409e50
lea eax, [ebp - 4]
call fcn.00409df0
ret
Function at 0x6cad4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x6cad66
add esp, 0xfffffff0
call fcn.00408644
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x6cae86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00406ef0
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x6cae70
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00547ca4
xor eax, eax
push ebp
push 0x6cae5d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00547ca4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040ab14
jmp 0x6cae28
lea eax, [esi + 4]
mov ecx, 1
mov edx, 1
call fcn.0040ae40
mov edi, dword [esi + 4]
mov ebx, edi
test ebx, ebx
je 0x6cae36
sub ebx, 4
mov ebx, dword [ebx]
dec ebx
jle 0x6cae42
mov eax, dword [esi + 4]
cmp word [eax], 0x5f
je 0x6cae16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cae64
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cae8d
lea eax, [ebp - 4]
call fcn.00409e38
ret
Function at 0x6df66c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x6df735
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, ecx
test eax, eax
je 0x6df693
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jns 0x6df69e
call fcn.00407d20
mov eax, ecx
mov ecx, edx
add ecx, ecx
add ecx, eax
cmp ecx, eax
jbe 0x6df6bc
movzx ebx, word [eax]
xor edx, ebx
imul edx, edx, 0x1000193
add eax, 2
cmp ecx, eax
ja 0x6df6aa
mov ebx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.006e4434
test al, al
je 0x6df707
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.006e39f0
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
call fcn.0040adc0
jne 0x6df71f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0040a1d0
jmp 0x6df71f
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.006e40e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6df73c
lea eax, [ebp - 4]
call fcn.00409df0
ret
Function at 0x75daf8
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 0x75dc5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x75db3a
or ebx, 0xffff
mov eax, esi
call fcn.0040aa20
mov esi, eax
jmp 0x75db3c
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 0x75db6c
mov eax, edi
call fcn.00409df0
jmp 0x75dc41
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x75dbbc
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 [0x7abbbc]
call fcn.0042a010
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 [0x7a4254]
mov dl, 1
mov eax, dword [0x761970]
call fcn.0042b7b0
call fcn.004094ec
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040abb0
mov eax, dword [edi]
test eax, eax
je 0x75dbd4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x75dc41
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040aa20
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 0x75dc41
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 [0x7abbbc]
call fcn.0042a010
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 [0x7a4254]
mov dl, 1
mov eax, dword [0x761970]
call fcn.0042b7b0
call fcn.004094ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x75dc63
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00409e50
ret

Function at 0x75de6e
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x75de2f
add esp, 0xfffffff0
call fcn.00408644
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.00767c98
mov dl, 1
mov eax, dword [0x75c524]
call fcn.007605b0
mov dword [edi + 0xa0], eax
mov dl, 1
mov eax, dword [0x71ca20]
call fcn.00727ce8
mov dword [edi + 0x9c], eax
mov eax, dword [0x75b674]
call fcn.00760158
push 0
push 0
push 0
push 1
push 0x75ded0
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0x98], esi
test esi, esi
jne 0x75de9d
mov ecx, dword [0x7a44dc]
mov dl, 1
mov eax, dword [0x761a28]
call fcn.0042b6e0
call fcn.004094ec
push 0
push 0x10010
push 0x75dc7c
mov eax, dword [edi + 0x98]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x75deca
call fcn.0040869c
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x75ee90
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 0x75f05c
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 0x75eed3
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x75eed5
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040aa20
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 0x75ef29
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 [0x7a3d10]
mov dl, 1
mov eax, dword [0x761af0]
call fcn.0042b7b0
call fcn.004094ec
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x75f078
call fcn.0040adc0
jne 0x75ef42
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0075dab8
mov eax, dword [ebp - 0x10]
call fcn.0040aa20
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00723790
mov eax, dword [ebp - 0x14]
call fcn.0040aa20
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 0x75efce
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 [0x7abbbc]
call fcn.0042a010
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 [0x7a4434]
mov dl, 1
mov eax, dword [0x761af0]
call fcn.0042b7b0
call fcn.004094ec
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 0x75f034
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 [0x7abbbc]
call fcn.0042a010
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 [0x7a4644]
mov dl, 1
mov eax, dword [0x761af0]
call fcn.0042b7b0
call fcn.004094ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x75f063
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00409e50
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409e50
ret
Function at 0x77f738
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor edx, edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409ed4
xor eax, eax
push ebp
push 0x77f7ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x7a46ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x77f7d9
push 0xff
lea eax, [ebp - 0x216]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowTextW
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x216]
call fcn.00426530
mov edx, dword [ebp - 0x21c]
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.0040b008
test eax, eax
je 0x77f7c5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x77f7de
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x77f780
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77f806
lea eax, [ebp - 0x21c]
call fcn.00409df0
lea eax, [ebp - 4]
call fcn.00409df0
ret