joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433950
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x4339b3
cmp dword [esi + 0x80], 0
je 0x4339b9
mov ecx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xcc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4339b9
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x433ea0
push 0
push 0
call fcn.004658c6
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x4339b3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4339b3
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x4339b3
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret

Function at 0x433a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.004543b0
mov eax, dword [eax + 0xc]
push str.TYPE_PIC
push 0x546
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x433aec
call fcn.004543b0
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x433aec
call fcn.004543b0
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x433aec
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x433ae5
test ebx, ebx
je 0x433ae5
push edi
push eax
push ebx
call fcn.00469940
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
push edi
push esi
call fcn.00433360
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x4365c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2f18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.00443550
push eax
lea ecx, [esp + 0x30]
call fcn.004554d5
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.00443550
mov ecx, eax
call fcn.004551dd
cmp dword [esi + 0x11c], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x4366e1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x118]
call fcn.0045543d
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x128]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0045570f
test edi, edi
je 0x43669b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x11c]
push edi
push eax
call fcn.0045579e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x11c]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x118]
test edx, edx
je 0x4366fe
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00455529
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x436fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a3b48
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.004543b0
mov eax, dword [eax + 0xc]
push 0
push 0
push 0
push 0
push 0x548
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
xor ebx, ebx
mov eax, esi
call fcn.00436b20
mov edi, vtable.CBitmap.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], ebx
call fcn.004543b0
mov eax, dword [eax + 0xc]
push 0x548
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0045570f
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00443550
mov ecx, eax
call fcn.004551dd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push 1
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0044656a
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00407420
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x40
ret
Function at 0x4383c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x20]
call fcn.004379a0
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
add esp, 4
mov ebp, 0xf
lea esp, [esp]
mov ecx, edi
mov esi, edx
call fcn.00437f50
xor eax, ebx
add edi, 6
sub ebp, 1
mov edx, eax
mov ebx, esi
jne 0x4383f0
mov ecx, dword [esp + 0x24]
add ecx, 0x5a
mov dword [esp + 0x14], edx
call fcn.00437f50
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
xor eax, esi
push ecx
mov dword [esp + 0x14], eax
call fcn.00437c60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x438440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x164
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x168]
push ebx
push ebp
mov ebp, dword [esp + 0x174]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x438473
sub eax, ecx
mov ebx, eax
cdq
and edx, 7
add eax, edx
mov esi, eax
sar esi, 3
lea eax, [esi*8]
mov dword [ebp], eax
mov al, 0x16
mov cl, 0x62
mov byte [esp + 0x30], al
mov byte [esp + 0x37], al
mov byte [esp + 0x40], al
mov byte [esp + 0x47], al
xor eax, eax
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], cl
mov dl, 0x53
lea ecx, [esp + 0x48]
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
push 1
push ecx
lea eax, [esp + 0x38]
mov byte [esp + 0x39], 0x17
mov byte [esp + 0x3a], 0x12
mov byte [esp + 0x3b], 0x11
mov byte [esp + 0x3c], 0x23
mov byte [esp + 0x3d], 0x43
mov byte [esp + 0x3e], dl
mov byte [esp + 0x40], 0x32
mov byte [esp + 0x43], 0x75
mov byte [esp + 0x44], 0x78
mov byte [esp + 0x45], 0x74
mov byte [esp + 0x46], 0x76
mov byte [esp + 0x47], 0x79
mov byte [esp + 0x49], 0x17
mov byte [esp + 0x4a], 0x12
mov byte [esp + 0x4b], 0x11
mov byte [esp + 0x4c], 0x23
mov byte [esp + 0x4d], 0x43
mov byte [esp + 0x4e], dl
mov byte [esp + 0x28], 0
call fcn.004370e0
lea edx, [esp + 0xb0]
push 0
push edx
lea eax, [esp + 0x48]
call fcn.004370e0
lea eax, [esp + 0x118]
push 1
push eax
lea eax, [esp + 0x58]
call fcn.004370e0
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x4385cd
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], esi
lea esp, [esp]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
call fcn.004383c0
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x30]
push ecx
mov edx, ecx
push edx
call fcn.004383c0
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.004383c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x24
add edi, 8
add ebp, 8
sub esi, 1
jne 0x438570
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4385da
dec ebx
or ebx, 0xfffffff8
inc ebx
je 0x438631
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea eax, [edx + eax*8]
push eax
call fcn.004383c0
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x30]
push edx
mov eax, edx
push eax
call fcn.004383c0
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call fcn.004383c0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add esp, 0x24
mov dword [edi], ecx
mov dword [edi + 4], edx
add dword [ebp], 8
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f97b
add esp, 0x164
ret
Function at 0x438830
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x439200
Capabilities:
Access peb ldr_data
Get ntdll base address
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4a3b18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push 0x4db98c
push eax
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov edi, ecx
mov dword [esp + 0x18], ebx
call fcn.004394c0
add esp, 0xc
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x14]
mov byte [esi + 0x68], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov ebx, 0x10
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [esp + 0x28], ebx
jae 0x43928a
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
mov ecx, esi
call fcn.00438860
mov eax, esi
call fcn.004391d0
cmp dword [esp + 0x28], ebx
jb 0x4392b0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043fc36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045f97b
add esp, 0x30
ret 4

Function at 0x43a820
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x43a82f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [section..data]
test eax, eax
je 0x43a83d
call fcn.0043a6d0
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x43a931
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4dbdc0]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dbdc0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4dbdc0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dbdc0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4dbdc0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dbdc0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4dbdc0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dbdc0]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x43a857
pop edi
pop ebx
test edx, edx
je 0x43a951
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dbdc0]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x43a935
not eax
pop esi
ret 0xc
Function at 0x4405cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4405f3
cmp dword [edi + 0x54], 0
jne 0x4405f3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004543b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00440590
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x446316
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44635d
call fcn.004543b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44635d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x446379
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00445e90
mov esi, eax
test edi, edi
je 0x446377
test ebx, ebx
je 0x446377
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x446b69
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a0df8
call fcn.00465fc0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x446b8e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x446bd4
lea ecx, [ebp - 0x10]
call fcn.00402b40
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00446380
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402b00
mov eax, esi
call fcn.00466098
ret 8
Function at 0x44fbdd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x44fc25
call fcn.004543b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44fc25
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x44fc68
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x44fc51
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x44fc51
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x44fc65
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4568c1
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4568ec
call fcn.004543b0
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x45690f
push eax
push dword [esi + 4]
call fcn.00456847
push esi
push eax
mov ecx, 0x4ddd64
call fcn.004564bb
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x45730e
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4a102a
call fcn.00465fc0
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.004572ce
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00402b40
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x457375
push eax
push dword [esi + 8]
call fcn.00456847
push dword [esi + 0xc]
mov ecx, 0x4ddd64
push eax
call fcn.004564bb
mov eax, esi
call fcn.00466098
ret 0x1c

Function at 0x45f97b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d8b40]
jne 0x45f985
repz ret
jmp fcn.0046972f
Function at 0x4771af
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00469dac
and dword [ebp - 4], 0
cmp dword [0x4deaf0], 0
mov ebx, eax
jne 0x477260
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x477311
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ae3b8
push edi
call esi
test eax, eax
je 0x477311
push eax
call fcn.00469d3a
mov dword [esp], 0x4ae3a8
push edi
mov dword [0x4deaf0], eax
call esi
push eax
call fcn.00469d3a
mov dword [esp], 0x4ae394
push edi
mov dword [0x4deaf4], eax
call esi
push eax
call fcn.00469d3a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4deaf8], eax
call esi
push eax
call fcn.00469d3a
pop ecx
mov dword [0x4deb00], eax
test eax, eax
je 0x477260
push 0x4ae360
push edi
call esi
push eax
call fcn.00469d3a
pop ecx
mov dword [0x4deafc], eax
mov eax, dword [0x4deafc]
cmp eax, ebx
je 0x4772b8
cmp dword [0x4deb00], ebx
je 0x4772b8
push eax
call fcn.00469db5
push dword [0x4deb00]
mov esi, eax
call fcn.00469db5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4772b8
test edi, edi
je 0x4772b8
call esi
test eax, eax
je 0x4772af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4772af
test byte [ebp - 0xc], 1
jne 0x4772b8
or dword [ebp + 0x10], 0x200000
jmp 0x4772f1
mov eax, dword [0x4deaf4]
cmp eax, ebx
je 0x4772f1
push eax
call fcn.00469db5
pop ecx
test eax, eax
je 0x4772f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4772f1
mov eax, dword [0x4deaf8]
cmp eax, ebx
je 0x4772f1
push eax
call fcn.00469db5
pop ecx
test eax, eax
je 0x4772f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4deaf0]
call fcn.00469db5
pop ecx
test eax, eax
je 0x477311
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x477313
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47b980
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00465b30
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x47b9e5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x47b9e5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0046538b
add eax, 0x40
push eax
call fcn.004656e5
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045f97b
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.0049d252
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x47ba74
call fcn.0047b840
test eax, eax
jle 0x47ba74
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045f97b
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045f97b
add esp, 0x108
ret

Function at 0x47e4f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor eax, eax
cmp ecx, edx
je 0x47e51f
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [ecx]
lea esi, [esi + edi - 0x61c88647]
inc ecx
xor eax, esi
cmp ecx, edx
jne 0x47e500
pop edi
pop esi
ret

Function at 0x4851d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a18e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004190f0
mov dword [esp + 0x18], 0
test edi, edi
je 0x485214
add edi, 0x28
jmp 0x485216
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x48522e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4