joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61040c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x6104ae
cmp dword [ebx + 0xac], 0
jne 0x6104a8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x61034c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x6104a8
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 0x61046e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x6104a8
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.004ad504
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x61047d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x7b5c40]
cmp dword [eax + 0x190], 0
je 0x610959
test bl, bl
jne 0x6108ac
cmp dword [esi + 0xb4], 0
jne 0x6108a1
mov eax, esi
call fcn.00613b54
push eax
push 0x6106f0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x610872
mov eax, dword [0x7b5c40]
cmp byte [eax + 0xeb], 0
je 0x610872
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x610853
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x610872
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 0x61085b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x6108a1
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ad504
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x610881
inc dword [esi + 0xb4]
jmp 0x610959
cmp dword [esi + 0xb4], 0
jle 0x610959
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x610959
cmp dword [esi + 0x58], 0
je 0x61090e
mov eax, dword [0x7b5c40]
cmp byte [eax + 0xeb], 0
je 0x61090e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x6108ef
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x61090e
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 0x6108f7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x61093d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ad504
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x61091d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x600138]
call fcn.0040dc04
pop edi
pop esi
pop ebx
ret
Function at 0x611750
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 0x6117ad
cmp byte [ebx + 0xeb], 0
jne 0x6117ad
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a7fc
mov eax, dword [esi]
test eax, eax
je 0x61179a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x6117ba
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040aa54
jmp 0x6117ba
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040aa54
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x6133dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x61344d
mov eax, esi
call fcn.0055a600
test al, al
je 0x61344d
mov eax, dword [ebx + 0x98]
call fcn.0055a198
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x61344d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x61343e
push 0
mov eax, dword [ebx + 0x98]
call fcn.0055a198
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005503d0
jmp 0x61344d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.006131e8
pop esi
pop ebx
ret
Function at 0x624520
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7b6080], 0
jne 0x624537
call fcn.006244dc
mov eax, edi
dec eax
test eax, eax
jl 0x62455f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7b5c80]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x624541
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x627638
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 0x627669
dec al
je 0x6276a4
dec al
je 0x6276e8
dec al
je 0x62775a
jmp 0x6277f5
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6277f5
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 0x627679
jmp 0x6277f5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6277f5
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 0x6276b4
jmp 0x6277f5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6277f5
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 0x62771b
xor edx, edx
mov dword [esp + 4], edx
jmp 0x627730
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 0x627748
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x6276f8
jmp 0x6277f5
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 0x6277f5
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 0x6277c1
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.00624568
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 0x627776
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x634368
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x634396
mov eax, ebx
call fcn.00634e24
cmp dword [ebx + 0x40], 0
je 0x63438f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x634407
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6343f9
cmp dword [ebx + 8], 0
je 0x6343b8
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 0x6343ca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6343f9
cmp dword [ebx + 8], 0
je 0x6343ab
cmp eax, 3
je 0x6343dd
dec eax
jne 0x6343ab
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 0x6343ab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6343ab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x634425
cmp dword [ebx + 0x14], 0xcc
je 0x634425
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.00634430
pop ebx
ret
Function at 0x65ae40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65ae92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x65aeac
mov edx, dword [ebp - 4]
call fcn.0040b56c
mov eax, dword [ebp - 8]
call fcn.0040b308
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65ae99
lea eax, [ebp - 8]
call fcn.0040a664
pop eax
jmp eax

Function at 0x672ac4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x672b8f
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 0x672aeb
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jns 0x672af6
call fcn.004084c8
mov eax, ecx
mov ecx, edx
add ecx, ecx
add ecx, eax
cmp ecx, eax
jbe 0x672b14
movzx ebx, word [eax]
xor edx, ebx
imul edx, edx, 0x1000193
add eax, 2
cmp ecx, eax
ja 0x672b02
mov ebx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.00677f7c
test al, al
je 0x672b5f
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.006772d0
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
call fcn.0040b6a4
jne 0x672b77
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0040aa54
jmp 0x672b77
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.00677b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x672b96
lea eax, [ebp - 4]
call fcn.0040a664
pop eax
jmp eax
Function at 0x69f784
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x69f8dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b308
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x69f7fc
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x69f7f1
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
or eax, 0x70000
or eax, 0x80000000
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
jmp 0x69f8c4
mov eax, dword [ebp - 0x10]
call fcn.00407058
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x69f8bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, 0x69f8f8
call fcn.0040aa9c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b308
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x69f864
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040b308
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x69f864
cmp dword [ebp - 0x1c], 0
jne 0x69f895
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x69f88d
mov eax, dword [ebp - 0x34]
and eax, 0xffff
or eax, 0x70000
or eax, 0x80000000
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
jmp 0x69f8a5
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.0040b368
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69f8c4
mov eax, dword [ebp - 0x18]
call fcn.00407074
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69f8e3
lea eax, [ebp - 0x24]
call fcn.0040a664
pop eax
jmp eax
Function at 0x6a1f34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a20c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x6a209d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6a2050
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b308
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x6a201f
mov eax, dword [ebp - 0x14]
call fcn.00407058
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b308
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x6a2046
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x6a20d8
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6a2046
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
xor edx, edx
or eax, dword [ebp - 0x10]
or edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x6a2046
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x30]
xor edx, edx
call fcn.0042c0d0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x6a20e8
call fcn.0040b56c
mov eax, dword [ebp - 0x2c]
call fcn.0065ae40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a207f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a20a4
cmp dword [ebp - 0x18], 0
je 0x6a209a
mov eax, dword [ebp - 0x18]
call fcn.00407074
pop eax
jmp eax
Function at 0x6a272c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x6a2858
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6a2800
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0042736c
test al, al
je 0x6a27f6
push 0x20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x489b90]
call fcn.004b49d0
mov dword [ebp - 0x14], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
lea edx, [ebp - 0x5c]
mov ecx, 0x40
mov eax, dword [ebp - 0x14]
call fcn.004b39cc
cmp word [ebp - 0x5c], 0x5a4d
jne 0x6a27f6
cmp dword [ebp - 0x20], 0
je 0x6a27f6
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov eax, dword [ebp - 0x14]
call fcn.004b2930
lea edx, [ebp - 0x154]
mov ecx, 0xf8
mov eax, dword [ebp - 0x14]
call fcn.004b39cc
cmp dword [ebp - 0x154], 0x4550
jne 0x6a27f6
movzx eax, word [ebp - 0x150]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a282f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a285f
cmp dword [ebp - 0x14], 0
je 0x6a2855
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
call fcn.004088bc
pop eax
jmp eax

Function at 0x6b1684
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 0x6b16d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x6b16bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6b16ac
jmp 0x6b16d5
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 0x6b16bd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x72ab0c
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 0x72ac72
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x72ab4e
or ebx, 0xffff
mov eax, esi
call fcn.0040b308
mov esi, eax
jmp 0x72ab50
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 0x72ab80
mov eax, edi
call fcn.0040a664
jmp 0x72ac55
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x72abd0
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 [0x7b6260]
call fcn.0042c0d0
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 [0x7add84]
mov dl, 1
mov eax, dword [0x72f040]
call fcn.0042dc44
call fcn.00409d5c
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040b494
mov eax, dword [edi]
test eax, eax
je 0x72abe8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x72ac55
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040b308
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 0x72ac55
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 [0x7b6260]
call fcn.0042c0d0
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 [0x7add84]
mov dl, 1
mov eax, dword [0x72f040]
call fcn.0042dc44
call fcn.00409d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72ac79
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040a6c4
pop eax
jmp eax

Function at 0x72ae86
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x72ae47
add esp, 0xfffffff0
call fcn.00408ea8
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.00735a38
mov dl, 1
mov eax, dword [0x72921c]
call fcn.0072e020
mov dword [edi + 0xb8], eax
mov dl, 1
mov eax, dword [0x71416c]
call fcn.00722e10
mov dword [edi + 0xb4], eax
mov eax, dword [0x7282ec]
call fcn.0072db9c
push 0
push 0
push 0
push 1
push 0x72aee8
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0xb0], esi
test esi, esi
jne 0x72aeb5
mov ecx, dword [0x7adfd4]
mov dl, 1
mov eax, dword [0x72f0f8]
call fcn.0042db70
call fcn.00409d5c
push 0
push 0x10010
push 0x72ac94
mov eax, dword [edi + 0xb0]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x72aee2
call fcn.00408f00
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x72c3c0
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 0x72c59c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xb9], 0
mov byte [ebx + 0xb8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x72c40a
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x72c40c
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040b308
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xb0]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0xa0], edi
test edi, edi
jne 0x72c460
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 [0x7ad940]
mov dl, 1
mov eax, dword [0x72f1c0]
call fcn.0042dc44
call fcn.00409d5c
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x72c5b8
call fcn.0040b6a4
jne 0x72c479
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0072aacc
mov eax, dword [ebp - 0x10]
call fcn.0040b308
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0071cfd0
mov eax, dword [ebp - 0x14]
call fcn.0040b308
push eax
mov eax, dword [ebx + 0xa0]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0xa4], edi
test edi, edi
jne 0x72c505
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 [0x7b6260]
call fcn.0042c0d0
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 [0x7adf34]
mov dl, 1
mov eax, dword [0x72f1c0]
call fcn.0042dc44
call fcn.00409d5c
mov eax, dword [ebx + 0x14]
push eax
mov eax, ebx
call fcn.0071d124
push eax
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0xa4]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x72c572
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 [0x7b6260]
call fcn.0042c0d0
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 [0x7ae11c]
mov dl, 1
mov eax, dword [0x72f1c0]
call fcn.0042dc44
call fcn.00409d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72c5a3
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040a6c4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a6c4
pop eax
jmp eax