joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4131e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449a1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x1174]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esi], 0x456718
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x24], 0x16
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.00412d30
mov dword [ebp + 4], eax
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x1198]
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.00412d30
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x11d0], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41fa60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449db9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0x8b2490
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x34]
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x48]
inc edx
push eax
lea ecx, [esp + 0xc]
mov dword [esi + 0x44], edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
push ecx
mov ecx, 0x8b25d8
mov dword [esp + 0x30], 0
call fcn.0041f720
lea ecx, [esp + 8]
mov dword [eax], esi
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x8b2490
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x420d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x45008c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x426bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x48
cmp eax, 1
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], 0
jne 0x426d42
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x426bfa
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [ebx]
test eax, eax
je 0x426c0f
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebx], 0
mov esi, dword [sym.imp.WINMM.dll_mmioOpenA]
push 0
push 0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x426d5b
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
push 0x10000
push 0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
jne 0x426d02
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.WAVE
push edi
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x426c6d
push 0x4580fc
push edi
push eax
call ebp
mov esi, eax
test esi, esi
je 0x426d5b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x426d5b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x426d5b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x426d5b
push ebp
call fcn.00427580
mov dword [ebx + 0x90], eax
mov edi, eax
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
mov ecx, 0x48
mov edi, edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x426cd0
mov ecx, dword [ebx + 0x90]
push 0x10000
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x20], 0x204d454d
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [ebx + 4], eax
mov ecx, ebx
call fcn.004263a0
mov esi, eax
test esi, esi
jge 0x426d27
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, ebx
call fcn.00426520
test eax, eax
jl 0x426d9b
mov ecx, dword [ebx + 0xc]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x30], ecx
pop ebx
add esp, 0x48
ret 0xc
mov edx, dword [esp + 0x5c]
push 0x11002
push 0
push edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
test eax, eax
mov dword [ebx + 4], eax
jne 0x426d6a
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [esp + 0x60]
push eax
mov ecx, ebx
call fcn.00426850
mov esi, eax
test esi, esi
jge 0x426d94
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, ebx
call fcn.00426520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
Function at 0x427b70
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x458630
call fcn.0042811c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x427bb0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x427bb0
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x427bc8
cmp eax, 0x20b
je 0x427bb5
mov dword [ebp - 0x1c], ebx
jmp 0x427bdc
cmp dword [ecx + 0x84], 0xe
jbe 0x427bb0
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x427bd6
cmp dword [ecx + 0x74], 0xe
jbe 0x427bb0
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x1f4b2f4], 0xffffffff
or dword [0x1f4b2f8], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x1f4aea0]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x1f4ae9c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1f4b2f0], eax
call fcn.00428220
call fcn.004282c0
cmp dword [0x497c50], ebx
jne 0x427c3c
push fcn.004282c0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004282ae
push 0x47749c
push 0x477498
call sub.MSVCR71.dll__initterm
push 0x428264
call fcn.00427aa0
mov eax, dword [0x1f4ae98]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x1f4ae94]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x427c90
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x477494
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x427d0e
cmp al, bl
je 0x427cba
cmp dword [ebp - 0x20], ebx
jne 0x427d0e
mov al, byte [esi]
cmp al, bl
je 0x427cca
cmp al, 0x20
ja 0x427cca
inc esi
mov dword [ebp - 0x24], esi
jmp 0x427cba
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x427ce6
movzx eax, word [ebp - 0x54]
jmp 0x427ce9
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004475c0
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x427d06
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x427d63
cmp al, 0x22
jne 0x427d1d
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x427d30
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x427ca8
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00428157
ret
Function at 0x1004ce0c
Capabilities:
Encode data using xor

Disassembly:
pushfd
lea esp, [esp + 0xc]
jne 0x10048ae7
lea eax, [ebx + 0x3d1cb961]
movzx eax, bl
pushal
mov byte [edi - 1], 0
lea eax, [ebp*8 - 0x1793d75d]
mov dword [esp + 0x1c], ebx
pushfd
movsx ax, bl
lea eax, [0x1004e04d]
pushal
mov dword [esp + 0x3c], 0x10048174
call fcn.100772e2
or ah, byte [ebp - 0x7a2b89a9]
sub al, 0xfd
salc
mov eax, fs
mov ebp, 0xd59082d6
lds edx, [esi - 0x415dafa2]
xchg edi, eax
pop es
fild word [ebp + 0x21]
mov dl, 0x3b
jg 0x10047cf7
jno 0x10047d30
cmp bh, bl
cmp eax, 0xa3e25150
fistp qword [0xa3e25150]
in eax, 0xaa
sal byte [edi + 0x6a983dfe], cl
sbb al, 0xf0
iretd
cmovb esp, dword [esi + 0xf66f8be]
mov dword [0xe9093cef], eax
test al, 0xf3
add al, byte [eax]
mov bl, 0xf6
mov edx, 0x8f85d476
pop ds
and dword [edx + 0x64], ebx
rol byte [ebp + ecx*2 + 0x6f], 0xd6
retf 0x4c93
clc
sub al, 0x9c
sub ebx, edi
sal al, cl
sbb edi, 0xe6c0bd4c
lea esp, [esp + 4]
add ebx, esp
rcr al, cl
mov edi, ebx
bt sp, bp
mov al, 0x2e
push 0x2c17b9d2
repne scasb al, byte es:[edi]
lea esp, [esp + 4]
jb 0x1004dbaa
pushal
lea esp, [esp + 0x20]
jne 0x10048ae7
lahf
pushal
not ah
not al
mov byte [edi - 1], 0
lahf
not ah
seto al
mov dword [esp + 0x1c], ebx
push dword [esp + 4]
lahf
movzx ax, al
cwde
lea eax, [0x1004e04d]
mov word [esp], ax
mov dword [esp + 0x1c], 0x10048a5f
pushal
mov word [esp], 0x76c5
call fcn.1005ccab
xor ecx, dword [edi + 0x13]
enter 0xffffffffffff85d4, 0xffffffffffffffe8
pop ecx
pop esi
not dword [ebx - 0x23]
out dx, al
adc ecx, eax
aam 0x85
call 0x63fc2ce5
fucomp st(6)
xor al, 0xe4
adc ch, dh
loop 0x1004ce83
aad 0xfe
invalid
pushfd
push edi
jmp 0x10047c9a
Function at 0x1004d0c1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
lea esp, [esp + 0x2c]
jbe 0x1005ebaf
bsf bx, dx
pushal
inc di
mov edi, dword [edx + 0x24]
bsf bx, cx
add edi, eax
sar cx, cl
clc
ror cl, cl
mov ebx, dword [edx + 0x20]
adc ecx, ecx
pushfd
movzx cx, dl
shr cl, 4
add ebx, eax
bts ecx, 0x13
stc
bsf cx, bx
shr cx, cl
mov dword [ebp - 8], 0
stc
bswap cx
bt ax, sp
mov ecx, dword [edx + 0x18]
sub esp, 0xffffffdc
pushfd
jmp 0x10076b7c
rcl al, cl
clc
mov al, 0xb7
mov al, 0x2e
clc
cmp dl, 0xd4
repne scasb al, byte es:[edi]
jmp 0x1005cc79
clc
push ebp
sub ecx, dword [edx + 0x10]
cmp bh, 0xe0
cmp dl, bh
cmp ecx, dword [edx + 0x14]
call fcn.1004c439
lea esp, [esp + 0x2c]
ja 0x100493a0
stc
sub ebx, edi
adc edi, ecx
rcl al, cl
lea edi, [0x52ae7980]
add ebx, esp
add al, bh
sar di, cl
mov edi, ebx
sal al, cl
je 0x1005d268
pushal
mov al, 0x2e
pushfd
jmp 0x1005f514
repne scasb al, byte es:[edi]
pushfd
mov word [esp + 8], 0x3a74
mov word [esp + 4], 0x228a
lea esp, [esp + 0x28]
jne 0x10048ae7
push ebx
lahf
mov dword [esp], ebp
mov byte [edi - 1], 0
call fcn.1005cc2c
lea esp, [esp + 0x2c]
je 0x1004c6be
or si, 0xd213
mov esi, dword [eax + 0x3c]
setns dh
bts dx, si
shl dx, cl
add esi, eax
stc
lea edx, [eax*8 - 0x28b44d2b]
sbb dx, sp
add dh, ch
mov edx, dword [esi + 0x78]
test dx, 0x45d3
push edi
cmp al, 0xd4
pushal
test edx, edx
push esp
lea esp, [esp + 0x28]
je 0x1004c6be
ror cx, 0xc
pushfd
bswap cx
stc
add edx, eax
ror cx, 6
mov ecx, dword [esi + 0x7c]
cmp edx, ebp
push eax
pushal
add ecx, edx
bt esp, 0x1d
mov dword [ebp - 0x10], ecx
mov ch, 0x68
bt edi, ebx
mov ecx, dword [ebp + 0xc]
stc
cmc
cmp ecx, 0xffff
jmp 0x1004c8b4
Function at 0x6c5c21c0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x6c5c2220
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6c5c6034]
test esi, esi
jle 0x6c5c2340
mov eax, dword [0x6c5c6038]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6c5c2254
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6c5c22d7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6c5c2240
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x6c5c2367
mov eax, dword [0x6c5c6038]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x6c5c6038]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6c5c2347
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6c5c22d0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6c5c22e0
add dword [0x6c5c6034], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6c5c6038]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6c5c22d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6c5c225e
mov eax, dword [0x6c5c6038]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop
Function at 0x6c5c2600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6c5c6044
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6c5c603c]
sub esp, 4
test ebx, ebx
je 0x6c5c2655
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6c5c264e
test esi, esi
je 0x6c5c264e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6c5c2630
mov dword [esp], 0x6c5c6044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6c5c2980
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6c5c0000], 0x5a4d
jne 0x6c5c29a5
mov ecx, dword [0x6c5c003c]
cmp dword [ecx + 0x6c5c0000], 0x4550
lea edx, [ecx + 0x6c5c0000]
je 0x6c5c29b0
ret
cmp word [ecx + 0x6c5c0018], 0x10b
jne 0x6c5c29a5
push esi
movzx eax, word [ecx + 0x6c5c0014]
push ebx
movzx esi, word [ecx + 0x6c5c0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6c5c0000
test esi, esi
je 0x6c5c29f8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6c5c29ee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6c5c29fa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6c5c29e0
xor eax, eax
pop ebx
pop esi
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x601f3e08
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xca86864
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x437e50
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x437ea9
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x437e96
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x437e90
shr eax, 8
cmp al, 2
je 0x437ea9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
call fcn.0044f6c0
test eax, eax
jne 0x437f0b
push str.iphlpapi.dll
call fcn.00437b40
add esp, 4
mov dword [0x4bed48], eax
test eax, eax
je 0x437ee5
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x4bed44]
test eax, eax
cmovne ecx, eax
mov dword [0x4bed44], ecx
push 3
push 2
push 0
push 6
call fcn.00437ce0
add esp, 0x10
test al, al
setne byte [0x4c0830]
push 0x4c0838
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret

Function at 0x43a340
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x14]
push esi
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call fcn.00470230
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push dword [ebp + 0x18]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43a40e
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43a3f0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43a3f0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x43a3f0
cmp esi, dword [ebp - 0xc]
jb 0x43a3f0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43a3fe
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x43a40e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43fbb0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x548], 2
jne 0x43fbc8
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0043fb70
mov al, 1
pop ebp
ret
Function at 0x4010fe
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x4286b6
call fcn.00416d94
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, esi
jl 0x401174
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004013eb
mov eax, dword [edi]
push esi
push 1
push 0x64
push edi
call dword [eax + 0x20]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x20006
push ebx
push esi
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.AppID
push SysReAllocString
mov dword [ebp - 0x10], esi
call edi
cmp eax, esi
jne 0x401168
lea ecx, [ebp - 0x14]
call fcn.00407046
cmp eax, esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
je 0x40117c
mov edi, eax
lea ecx, [ebp - 0x14]
call fcn.00407046
mov eax, edi
call fcn.00416e6c
ret 8
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push str.A3CD040A_E706_4836_B7D3_3B364C7BD9F8
mov byte [ebp - 4], 1
push ecx
mov dword [ebp - 0x18], esi
call edi
mov edi, eax
cmp edi, esi
jne 0x4011ae
lea ecx, [ebp - 0x10]
call fcn.00407046
mov edi, eax
cmp edi, esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
je 0x4011b8
lea ecx, [ebp - 0x10]
call fcn.00407046
jmp 0x40116a
mov edi, str.LocalService
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 0xc], esi
je 0x4011f4
push edi
push 0x44b74c
lea eax, [ebp - 0x10]
push eax
call fcn.004089f8
push str.ServiceParameters
push str._Service
lea eax, [ebp - 0x10]
push eax
call fcn.004089f8
mov ecx, dword [ebp + 8]
call fcn.0040132b
mov eax, dword [ebp + 8]
call fcn.00408836
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4011ae

Function at 0x40132b
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x454b30]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push edi
call fcn.004012e9
test eax, eax
je 0x401353
xor eax, eax
inc eax
jmp 0x4013de
push ebx
push esi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
jne 0x401376
push esi
add edi, 0x30
push edi
push str._PCFILTER__Couldnt_open_service_manager
jmp 0x4013c2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push str.RPCSS
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push 1
push 2
push 0x10
push 0xf01ff
add edi, 0x30
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, esi
jne 0x4013cd
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push edi
push str._PCFILTER__Couldnt_create_service
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4013dc
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push ebx
call esi
xor eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041618f
leave
ret