joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4418e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4848f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp dword [ebp + 8], 0
je 0x44191c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x44191c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x441923
xor eax, eax
jmp 0x4419fa
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00422770
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x44194f
mov dword [ebp - 0x14], 1
jmp 0x441956
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x4419e1
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x44197c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00437be0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.0046a7b0
mov byte [ebp - 4], 1
push 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00472f60
movzx ecx, al
cmp ecx, 1
jne 0x4419b1
mov dword [ebp - 0x18], 1
jmp 0x4419b8
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00416de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004219d0
mov eax, dword [ebp - 0x20]
jmp 0x4419fa
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004219d0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x442510
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484a63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00424e20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00424e20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00424e20
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00442bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x443070
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x4448b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x4448c6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x4448e5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x4a24b8]
mov dword [edx + ecx*4 + 0x88], eax
jmp 0x4448bd
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x444ef0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 0x10], 0x40
jne 0x444f0b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x40
jmp 0x444f83
cmp dword [ebp + 0x10], 0x40
jbe 0x444f34
mov dword [ebp - 8], 0x20
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00444700
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], ecx
jmp 0x444f40
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, 0x40
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x36
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x2a0]
push edx
call fcn.00449870
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
push 0x5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x2e0]
push eax
call fcn.00449870
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x444f95
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jge 0x444fcf
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, 0x36
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx + 0x2a0], cl
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, 0x5c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx + 0x2e0], cl
jmp 0x444f8c
mov eax, dword [ebp + 8]
push eax
call fcn.004448b0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00444d30
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call fcn.004448b0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2e0
push ecx
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.00444d30
add esp, 0xc
push 0xa8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x150
push ecx
call fcn.004492f0
add esp, 0xc
push 0xa8
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
mov eax, dword [ebp + 8]
add eax, 0x1f8
push eax
call fcn.004492f0
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x445090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x4450b4
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4450b4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4450b8
xor eax, eax
jmp 0x445108
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x4450ef
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.SHELL32.dll_SHOpenFolderAndSelectItems]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 8], 0
jne 0x4450fe
mov dword [ebp - 0xc], 1
jmp 0x445105
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x446110
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0
je 0x446126
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x44612d
xor eax, eax
jmp 0x446292
mov dword [ebp - 0x18], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44628f
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x446204
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44617b
jmp 0x446204
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4461e3
mov ecx, dword [ebp - 4]
push ecx
call fcn.004462a0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4461e3
lea edx, [ebp - 8]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00446050
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x186a0
jle 0x4461f7
jmp 0x446204
mov edx, 1
test edx, edx
jne 0x446163
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x446289
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x446289
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004492f0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0xc]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x446282
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x446289
mov dword [ebp - 0x18], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x446a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, 1
test eax, eax
je 0x446b00
push 0
push 0
push 0
push 0xa2
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x41
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x41
call dword [sym.imp.USER32.dll_keybd_event]
xor ecx, ecx
je 0x446ab4
mov dword [ebp - 0x10], 0x186a0
mov dword [ebp - 0xc], 0
push 0x41
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 4], ax
movsx edx, word [ebp - 4]
and edx, 1
je 0x446a8c
jmp 0x446a8e
jmp 0x446ab2
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x446a98
jmp 0x446ab2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, 1
test edx, edx
jne 0x446a75
jmp 0x446aea
push 0x41
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 8], ax
movsx eax, word [ebp - 8]
and eax, 1
je 0x446aea
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0
push 0xa2
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x446be9
mov dword [ebp - 0x84], 0
push 0x6c
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.00449870
add esp, 0xc
mov edx, 0x1c
imul eax, edx, 0
mov dword [ebp + eax - 0x84], 1
mov ecx, 0x1c
imul edx, ecx, 0
mov eax, 0xa2
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
shl ecx, 0
mov dword [ebp + ecx - 0x84], 1
mov edx, 0x1c
shl edx, 0
mov eax, 0x41
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
shl ecx, 1
mov dword [ebp + ecx - 0x84], 1
mov edx, 0x1c
shl edx, 1
mov eax, 0x41
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
shl ecx, 1
mov dword [ebp + ecx - 0x7c], 2
mov edx, 0x1c
imul eax, edx, 3
mov dword [ebp + eax - 0x84], 1
mov ecx, 0x1c
imul edx, ecx, 3
mov eax, 0xa2
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
imul edx, ecx, 3
mov dword [ebp + edx - 0x7c], 2
push 0x1c
lea eax, [ebp - 0x84]
push eax
push 4
call dword [sym.imp.USER32.dll_SendInput]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
je 0x446be9
xor eax, eax
jmp 0x446bee
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x447070
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0xa0000000
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4470a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4477b0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x447968
cmp dword [ebp + 0xc], 0
je 0x447839
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x80000016
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x447839
push 0
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00448a70
mov ecx, dword [ebp + 0xc]
call fcn.004215b0
mov dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x80000016
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
je 0x447968
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x16
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x447968
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
ja 0x44789b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00422e10
jmp 0x4478ac
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004317d0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x4478ca
mov dword [ebp - 0x24], 1
jmp 0x4478d1
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4478ed
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x44791e
mov dword [ebp - 0x2c], 1
jmp 0x447925
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x447941
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0x16
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447da0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x447ef5
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x447ef5
xor ecx, ecx
je 0x447e25
push 0
push 0x10000
push 0x447fe0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x447e25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x48d0cc
push str._s:WinHttpSetStatusCallback___failed:_d
mov eax, dword [ebp - 0xc]
push eax
call fcn.00448a40
add esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0x1f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x447e68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x48d148
push str._s:WinHttpQueryOption___failed:_d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00448a40
add esp, 0x10
mov edx, dword [ebp - 4]
or edx, 0x100
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
or eax, 0x2000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
or ecx, 0x1000
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x3300
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 0x1f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x447eca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenRequest
push str._s:WinHttpSetOption___failed:_d
mov edx, dword [ebp - 0xc]
push edx
call fcn.00448a40
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x447ef5
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x447ef5
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00447070
mov ecx, dword [ebp + 0x14]
add ecx, 4
mov dword [ebp + 0x14], ecx
jmp 0x447ed0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x20
Function at 0x447f00
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x447f29
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x447f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x48cdfc
push str._s:WinHttpOpen___failed:_d
mov eax, dword [ebp - 4]
push eax
call fcn.00448a40
add esp, 0x10
jmp 0x447fba
mov dword [ebp - 8], 0x2a0
mov ecx, dword [ebp - 8]
or ecx, 0x800
mov dword [ebp - 8], ecx
push 4
lea edx, [ebp - 8]
push edx
push 0x54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x447fba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenSession
push 0x48ce90
mov edx, dword [ebp - 4]
push edx
call fcn.00448a40
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x447fcc
mov dword [ebp - 0xc], 1
jmp 0x447fd3
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x448960
Capabilities:
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x448a30
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x448a30
cmp dword [ebp - 0x10], 0
je 0x448a1b
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x4489d3
mov dword [ebp - 0x14], 1
jmp 0x4489da
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x4489f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x448a30
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x46faa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x46fb6e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x46faf3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jmp 0x46fb06
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x46fb57
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00421160
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041e1ec
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx