joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462270
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a8f28
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x617960]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [esp + 0x3c], 7
push str.main
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00437ef0
lea edx, [esp + 0x24]
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x1c]
call fcn.00465540
mov edx, eax
mov byte [esp + 0x48], 1
cmp dword [esi + 0x30], 0x10
jb 0x4622ec
mov ecx, dword [esi + 0x1c]
jmp 0x4622ef
lea ecx, [esi + 0x1c]
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x4622fa
mov eax, dword [eax]
push ecx
push eax
push esi
push str.Curl__X_:___s_______s_
push dword [edx]
call fcn.00465770
mov byte [esp + 0x5c], 0
add esp, 0x14
mov edi, dword [esp + 0x20]
test edi, edi
je 0x46233e
or ebx, 0xffffffff
lea ecx, [edi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x46233e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x46233e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x462359
push dword [esp + 0x24]
call fcn.0047e2e9
add esp, 4
cmp dword [esi + 0x38], 0
mov dword [esi + 0x50], 3
jne 0x46236c
lea eax, [esi + 0x3c]
mov dword [esi + 0x38], eax
mov al, byte [esi + 0x34]
mov ecx, 0xa
cmp dword [esi + 0x44], ecx
mov byte [esp + 0x10], al
mov eax, 1
cmovl ecx, dword [esi + 0x44]
cmp ecx, eax
cmovl ecx, eax
xor edi, edi
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x46244f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
sub esp, 0x18
lea eax, [esi + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004373c0
sub esp, 0x18
mov dword [esp + 0x78], 2
mov ecx, esp
lea eax, [esi + 4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004373c0
push dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0x7c], 0xffffffff
call fcn.004617e0
test al, al
jne 0x46246b
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x14]
jge 0x46244f
xor edi, edi
mov eax, dword [esi + 0x38]
cmp byte [eax], 0
jne 0x46242e
cmp byte [esi + 0x3c], 0
jne 0x46242e
push 0x64
call ebx
inc edi
cmp edi, 0x32
jl 0x462416
mov eax, dword [esi + 0x38]
cmp byte [eax], 0
jne 0x46244f
cmp byte [esi + 0x3c], 0
jne 0x46244f
mov edi, dword [esp + 0x18]
mov byte [esp + 0x10], 1
cmp edi, dword [esp + 0x14]
jl 0x4623a0
mov dword [esi + 0x50], 1
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x50], 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467100
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa177
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x617960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x600140
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0043e640
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0043d220
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x635058]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x46bb70
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov word [edi + 4], ax
mov byte [edi + 6], al
jmp 0x46bb90
movzx esi, byte [eax + str.80_]
mov ecx, 7
mov edx, esi
shr esi, 3
and edx, 7
sub ecx, edx
mov edx, 1
shl edx, cl
test byte [esi + ebx], dl
je 0x46bbca
mov edx, eax
mov esi, eax
and edx, 7
sar esi, 3
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [esi + edi], dl
inc eax
cmp eax, 0x38
jl 0x46bb90
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x46bcc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, ecx
cmp eax, 4
jae 0x46be5e
mov byte [ebp + eax - 0xc], 0
inc eax
cmp eax, 4
jl 0x46bcdd
xor eax, eax
cmp eax, 4
jae 0x46be5e
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 4
jl 0x46bcf3
mov ecx, dword [ebp + 0xc]
push esi
movzx eax, byte [ecx]
mov byte [esi], al
movzx eax, byte [ecx + 1]
mov byte [esi + 1], al
movzx eax, byte [ecx + 2]
mov byte [esi + 2], al
movzx eax, byte [ecx + 3]
mov byte [esi + 3], al
movzx eax, byte [ecx + 4]
mov byte [esi + 4], al
movzx eax, byte [ecx + 5]
mov byte [esi + 5], al
movzx eax, byte [ecx + 6]
mov byte [esi + 6], al
movzx eax, byte [ecx + 7]
mov byte [esi + 7], al
call fcn.0046be70
mov eax, dword [ebp + 8]
test eax, eax
jne 0x46bdab
mov dword [ebp - 0x10], 0x10
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 4]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov byte [esi + 1], al
movzx eax, byte [esi + 6]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov byte [esi + 3], al
lea eax, [ebp - 8]
push eax
push edi
push esi
call fcn.0046bef0
mov cl, byte [ebp - 0xc]
add edi, 6
mov eax, dword [ebp - 8]
xor cl, al
mov dl, byte [ebp - 6]
mov al, ah
mov bl, byte [ebp - 5]
xor al, byte [ebp - 0xb]
xor dl, byte [ebp - 0xa]
xor bl, byte [ebp - 9]
dec dword [ebp - 0x10]
mov byte [esi + 4], cl
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov byte [esi + 7], bl
jne 0x46bd51
jmp 0x46be19
cmp eax, 1
jne 0x46be45
lea eax, [edi + 0x5a]
mov edi, 0xf
mov dword [ebp - 0x10], eax
nop
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 4]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov byte [esi + 1], al
movzx eax, byte [esi + 6]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov byte [esi + 3], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push esi
call fcn.0046bef0
mov cl, byte [ebp - 0xc]
mov eax, dword [ebp - 8]
xor cl, al
mov dl, byte [ebp - 6]
mov al, ah
mov bl, byte [ebp - 5]
xor al, byte [ebp - 0xb]
xor dl, byte [ebp - 0xa]
xor bl, byte [ebp - 9]
sub dword [ebp - 0x10], 6
dec edi
mov byte [esi + 4], cl
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov byte [esi + 7], bl
jns 0x46bdc0
mov byte [ebp - 0xb], al
movzx eax, byte [esi]
mov byte [esi + 4], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 2]
mov byte [esi + 6], al
movzx eax, byte [esi + 3]
mov byte [esi + 7], al
mov byte [ebp - 0xc], cl
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], bl
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
push esi
call fcn.0046c0d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049355b
mov esp, ebp
pop ebp
ret 0xc
call fcn.00498485
int3
Function at 0x46bef0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 6
jae 0x46c044
mov byte [ebp + eax - 0xc], 0
inc eax
cmp eax, 6
jl 0x46bf09
xor eax, eax
cmp eax, 8
jae 0x46c044
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 8
jl 0x46bf1f
push ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0046c050
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
xor edx, edx
sub esi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 6
jl 0x46bf48
mov edx, dword [ebp - 0xc]
mov al, dl
shr al, 2
mov cl, dl
mov dl, byte [ebp - 0xa]
and cl, 3
mov byte [ebp - 0x14], al
mov al, dh
shl cl, 4
shr al, 4
or cl, al
mov al, dl
mov byte [ebp - 0x13], cl
and dl, 0x3f
shr al, 6
mov cl, dh
and cl, 0xf
mov byte [ebp - 0x11], dl
mov dl, byte [ebp - 8]
shl cl, 2
or cl, al
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 9]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x10], al
mov al, dl
shl cl, 4
and dl, 0xf
shr al, 4
or cl, al
shl dl, 2
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 7]
mov al, cl
and cl, 0x3f
shr al, 6
or dl, al
mov byte [ebp - 0xd], cl
mov byte [ebp - 0xe], dl
xor ebx, ebx
lea esp, [esp]
mov al, byte [ebp + ebx - 0x14]
movzx edx, al
and al, 1
shl al, 4
movzx ecx, al
mov eax, edx
shr eax, 1
and edx, 0x20
and eax, 0xf
or ecx, eax
movzx eax, bl
shl eax, 6
or ecx, edx
movzx eax, byte [ecx + eax + 0x5ff500]
and al, 0xf
mov byte [ebp + ebx - 0x14], al
inc ebx
cmp ebx, 8
jl 0x46bfd0
pop esi
xor ecx, ecx
pop ebx
jmp 0x46c010
mov al, byte [ebp + ecx*2 - 0x14]
shl al, 4
or al, byte [ebp + ecx*2 - 0x13]
mov byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 4
jl 0x46c010
lea eax, [ebp - 0xc]
push eax
call fcn.0046baf0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
mov dword [edi], eax
pop edi
call fcn.0049355b
mov esp, ebp
pop ebp
ret 0xc
call fcn.00498485
int3
Function at 0x46c320
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aae00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x617960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
push ebx
push 0x5fca10
mov edi, 1
push edi
push 0
push 0x5fcae0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi], eax
cmp eax, 0x80004005
jne 0x46c3a0
push 0x601340
call fcn.004adf9c
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx]
test edx, edx
je 0x46c386
mov ecx, dword [edx]
lea eax, [esi + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0xc]
push edx
call dword [ecx + 0xc]
mov dword [esi], eax
cmp eax, 0x80004005
jne 0x46c40f
push 0x6013a8
call fcn.004adf9c
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c5f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edi
cmovae eax, dword [ebp + 8]
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi], eax
test eax, eax
je 0x46c6b7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VariantToUInt16
push eax
call esi
push str.VariantToInt16
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.VariantToBoolean
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.VariantToUInt32
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.VariantToInt32
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.VariantToUInt64
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.VariantToInt64
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.VariantToDouble
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.VariantToString
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.VariantGetStringElem
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.VariantGetInt32Elem
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.VariantGetInt64Elem
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
push str.VariantGetDoubleElem
push dword [edi]
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
pop esi
jmp 0x46c712
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x46c723
push dword [ebp + 8]
call fcn.0047e2e9
add esp, 4
mov eax, edi
pop edi
pop ebp
ret 0x18

Function at 0x46d850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x46d88b
test al, 8
jne 0x46d88b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x46d88b
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x46d88b
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x46d8ab
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.0046cd00
pop esi
pop ebp
ret 4
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x477800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
movzx eax, dx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4778f9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4778f9
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x1c]
push esi
push eax
call fcn.0049dad0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x14]
push 0x10
mov dword [ebp - 0x1c], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4778de
lea ecx, [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0x1c]
movdqu xmmword [esi], xmm0
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x4778e0
xor esi, esi
mov eax, dword [ebp - 0x20]
push edi
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, 1
jmp 0x4778fb
xor al, al
cmp dword [ebp + 0x1c], 8
mov byte [ebp - 0x15], al
jb 0x477912
push dword [ebp + 8]
call fcn.0047e2e9
mov al, byte [ebp - 0x15]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049355b
mov esp, ebp
pop ebp
ret
Function at 0x47ca90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
mov dword [0x634ed8], 0x602ac0
mov dword [0x634edc], 0
mov dword [0x634ee0], 0
call fcn.0047cdd0
push 0x634ee4
mov dword [0x634edc], eax
mov word [0x634f00], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0x634ed8
push 0x47cb20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [0x634efc], eax
xor ecx, ebp
mov eax, 0x634ed8
call fcn.0049355b
mov esp, ebp
pop ebp
ret
Function at 0x47d6d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac91b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x617960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ecx], vtable.JSON.0
mov byte [ecx + 0x48], 0
and dword [ecx + 0x48], 0xfffffeff
mov dword [ecx + 0x4c], 0
mov byte [ecx + 0x58], 0
mov eax, ecx
and dword [ecx + 0x58], 0xfffffeff
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x20], 1
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x483fc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x48400b
call fcn.0047f64a
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48400b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x484027
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0047de9c
mov ebx, eax
test edi, edi
je 0x484025
test esi, esi
je 0x484025
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3fec
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0049a01e
mov dword [ebp - 0x14], eax
cmp dword [0x6326cc], esi
jne 0x4a40df
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a406c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a41bf
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a41bf
push 0x5b4a70
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a41bf
push eax
call ebx
push 0x5b4a7c
push edi
mov dword [0x6326cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5b4a8c
push edi
mov dword [0x6326d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5b4aa0
push edi
mov dword [0x6326d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6326dc], eax
test eax, eax
je 0x4a40dc
push 0x5b4abc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6326d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a4104
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a40f7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a4119
push 4
pop eax
jmp 0x4a41c1
cmp dword [ebp - 0x14], esi
je 0x4a4119
push dword [0x6326cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a40fe
mov eax, dword [0x6326d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a4177
cmp dword [0x6326dc], edi
je 0x4a4177
push eax
call ebx
push dword [0x6326dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a4177
test eax, eax
je 0x4a4177
call ecx
test eax, eax
je 0x4a416c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a416c
test byte [ebp - 8], 1
jne 0x4a4177
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a41a7
mov eax, dword [0x6326d0]
cmp eax, edi
je 0x4a41a4
push eax
call ebx
test eax, eax
je 0x4a41a4
call eax
mov esi, eax
test esi, esi
je 0x4a41a4
mov eax, dword [0x6326d4]
cmp eax, edi
je 0x4a41a4
push eax
call ebx
test eax, eax
je 0x4a41a4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6326cc]
call ebx
test eax, eax
je 0x4a41bf
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a41c1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049355b
mov esp, ebp
pop ebp
ret
Function at 0x4d20e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4d2130
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4d212a
shr eax, 8
cmp al, 2
jne 0x4d212a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049355b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0049355b
mov esp, ebp
pop ebp
ret