joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45643a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x49254e
call fcn.0045d7a0
sub esp, 0x244
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp + 8]
push 0x4bac90
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
push 0x208
lea eax, [ebp - 0x250]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x48], 1
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x250]
push eax
push ebx
call fcn.00456378
add esp, 0x18
push 0x53
pop eax
push 0x69
mov word [ebp - 0x44], ax
pop eax
push 0x61
mov word [ebp - 0x38], ax
pop eax
push 0x68
mov word [ebp - 0x3c], ax
pop eax
push 0x6c
pop ecx
push 0x2e
mov word [ebp - 0x42], ax
pop eax
push 0x70
mov word [ebp - 0x36], ax
pop eax
push 0x64
mov word [ebp - 0x3a], ax
pop eax
mov word [ebp - 0x34], ax
push 0x77
pop eax
mov word [ebp - 0x3e], ax
xor eax, eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x44]
push eax
mov word [ebp - 0x40], cx
mov word [ebp - 0x32], cx
mov word [ebp - 0x30], cx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45657c
push 0x65
pop ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 0x15], bl
push eax
push edi
mov word [ebp - 0x14], 0x614e
mov dword [ebp - 0x20], 0x68746150
mov word [ebp - 0x17], 0x6c69
mov dword [ebp - 0x1c], 0x646e6946
mov word [ebp - 0x10], 0x57
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x18], 0x46
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x456575
lea ecx, [ebp - 0x250]
push ecx
call eax
mov ecx, dword [ebp + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov ecx, dword [ebp + 8]
push 0x78
pop eax
push 0x2e
mov word [ebp - 0x28], ax
pop eax
mov word [ebp - 0x2c], ax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x2c]
push 0x4bac90
push eax
mov word [ebp - 0x26], bx
mov word [ebp - 0x2a], bx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45807b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push 0x2e
pop eax
push 0x6e
mov word [ebp - 0x20], ax
xor ebx, ebx
pop eax
push 0x65
pop edx
push 0x32
mov word [ebp - 0x2a], ax
pop eax
push 0x6c
mov word [ebp - 0x22], ax
pop eax
push 0x64
pop ecx
push 0x72
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], ax
mov word [ebp - 0x26], ax
pop eax
push 0x33
mov word [ebp - 0x2c], ax
pop eax
mov word [ebp - 0x24], ax
push 0x4b
pop eax
mov word [ebp - 0x30], ax
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x2e], dx
push eax
mov word [ebp - 0x28], dx
mov word [ebp - 0x1e], cx
mov word [ebp - 0xe], 0x6c75
mov byte [ebp - 0x13], dl
mov byte [ebp - 0xc], dl
mov byte [ebp - 8], dl
mov word [ebp - 0x11], 0x6f4d
mov word [ebp - 0xa], 0x6c69
mov byte [ebp - 4], dl
mov word [ebp - 3], 0x57
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xb], 0x46
mov word [ebp - 6], 0x6d61
mov byte [ebp - 7], 0x4e
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x12], 0x74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x458138
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ebx, eax
mov eax, ebx
pop ebx
leave
ret
Function at 0x458179
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x49583a
call fcn.0045d7a0
sub esp, 0x244
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp + 8]
push 0x4bac90
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
push 0x208
lea eax, [ebp - 0x250]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x48], 1
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x250]
push eax
push ebx
call fcn.0045807b
add esp, 0x18
push 0x53
pop eax
push 0x69
mov word [ebp - 0x44], ax
pop eax
push 0x61
mov word [ebp - 0x38], ax
pop eax
push 0x68
mov word [ebp - 0x3c], ax
pop eax
push 0x6c
pop ecx
push 0x2e
mov word [ebp - 0x42], ax
pop eax
push 0x70
mov word [ebp - 0x36], ax
pop eax
push 0x64
mov word [ebp - 0x3a], ax
pop eax
mov word [ebp - 0x34], ax
push 0x77
pop eax
mov word [ebp - 0x3e], ax
xor eax, eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x44]
push eax
mov word [ebp - 0x40], cx
mov word [ebp - 0x32], cx
mov word [ebp - 0x30], cx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4582bb
push 0x65
pop ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 0x15], bl
push eax
push edi
mov word [ebp - 0x14], 0x614e
mov dword [ebp - 0x20], 0x68746150
mov word [ebp - 0x17], 0x6c69
mov dword [ebp - 0x1c], 0x646e6946
mov word [ebp - 0x10], 0x57
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x18], 0x46
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4582b4
lea ecx, [ebp - 0x250]
push ecx
call eax
mov ecx, dword [ebp + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov ecx, dword [ebp + 8]
push 0x78
pop eax
push 0x2e
mov word [ebp - 0x28], ax
pop eax
mov word [ebp - 0x2c], ax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x2c]
push 0x4bac90
push eax
mov word [ebp - 0x26], bx
mov word [ebp - 0x2a], bx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x459d7a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], esi
test edi, edi
jne 0x459da1
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.0045bfd4
xor al, al
jmp 0x459e64
call fcn.004587a2
lea ecx, [esi + 4]
call fcn.0045a89f
push 2
xor ebx, ebx
push ebx
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
push ebx
push ebx
push edi
mov dword [ebp - 4], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jg 0x459ddd
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x459d95
inc eax
push eax
call sub.mfc140u.dll_operator_1
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add esp, 0x14
cmp eax, 1
je 0x459e0c
push edi
call sub.mfc140u.dll_operator
pop ecx
push ebx
push ebx
push ebx
push 2
jmp 0x459dd9
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, edi
mov byte [edi + edx], bl
mov dl, byte [edi]
test dl, dl
je 0x459e46
mov dword [ebp - 4], eax
lea esi, [ecx + 1]
inc eax
mov dword [ebp + 8], esi
cmp dl, 0xd
jne 0x459e38
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp - 4]
inc eax
jmp 0x459e3a
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, dword [ebp + 8]
test dl, dl
jne 0x459e1c
mov esi, dword [ebp - 8]
push dword [ebp + 0xc]
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call sub.mfc140u.dll_operator
pop ecx
mov ecx, esi
call fcn.0045a8fd
xor al, 1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4614ce
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
or ecx, 0xffffffff
mov al, byte [edx]
test al, al
je 0x461501
push esi
movzx eax, al
push 7
xor ecx, eax
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jns 0x4614e4
inc edx
mov al, byte [edx]
test al, al
jne 0x4614dc
pop esi
not ecx
mov eax, ecx
ret
Function at 0x46a8d3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x48c6eb
call fcn.0045d7a0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
call fcn.0044c318
mov byte [esi + 0x24], bl
lea ecx, [esi + 0x34]
push 0x4bac90
mov dword [ebp - 4], ebx
mov byte [esi + 0x25], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
call fcn.00445b1a
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004a0386
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x483d26
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
movsx eax, byte [esp + 8]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x4d3b10]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
mov dword [edx + 8], ecx
ret

Function at 0x4845be
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x484719
xor ebp, ebp
cmp dword [edi + 0x18], ebp
je 0x484719
cmp dword [edi + 0x7c], ebp
je 0x4845e7
push edi
call fcn.004844cc
pop ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00484768
add esp, 0x10
test eax, eax
je 0x48460a
push 0xffffffffffffff99
jmp 0x48471b
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x84
call ebx
mov esi, eax
pop ecx
test esi, esi
jne 0x484625
push 0xffffffffffffff98
jmp 0x48471b
push 0x4000
call ebx
mov dword [esi], eax
mov dword [esi + 0x4c], ebp
pop ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], ecx
test eax, eax
jne 0x48464e
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x48461e
mov dword [esi + 0x40], ebp
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ebp
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], ebp
test ecx, ecx
je 0x484693
lea eax, [esi + 4]
mov dword [esi + 0x24], ebp
push eax
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
call fcn.004b7a0a
pop ecx
test eax, eax
jne 0x484693
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x4846b6
mov al, byte [edi + 0x39]
jmp 0x4846b9
mov al, byte [edi + 0x3f]
mov ebx, dword [esp + 0x20]
lea ebp, [esi + 0x70]
mov byte [esi + 0x80], al
xor eax, eax
cmp byte [esi + 0x6c], al
push 0xc
pop ecx
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [ebp], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x484701
mov al, byte [ebx]
test al, al
je 0x484701
push eax
push ebp
call fcn.00483d26
pop ecx
pop ecx
add ebx, 1
jne 0x4846ed
mov eax, dword [esp + 0x14]
add eax, 0x1e
add eax, dword [edi + 0x78]
and dword [esi + 8], 0
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [edi + 0x7c], esi
jmp 0x48471c
push 0xffffffffffffff9a
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x49a995
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov eax, ecx
mov word [ebp - 0x11], 0x3433
push edi
push 8
pop ecx
lea ebx, [eax + 0x4c]
mov dword [ebp - 0xc], 0x62613938
mov esi, ebx
mov dword [ebp - 7], 0x666564
lea edi, [ebp - 0x34]
mov word [ebp - 0xe], 0x3736
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov word [ebp - 0x14], 0x3130
mov byte [ebp - 8], 0x63
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0xf], 0x35
call fcn.0049aaa5
push 0xf
xor ecx, ecx
xor esi, esi
pop edi
mov edx, dword [ebx]
lea ecx, [ecx + 8]
mov eax, edx
shr eax, 0x1c
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x80], al
mov eax, edx
shr eax, 0x18
and eax, edi
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x7f], al
mov eax, edx
shr eax, 0x14
and eax, edi
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x7e], al
mov eax, edx
shr eax, 0x10
and eax, edi
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x7d], al
mov eax, edx
shr eax, 0xc
and eax, edi
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x7c], al
mov eax, edx
shr eax, 8
and eax, edi
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x7b], al
mov eax, edx
shr eax, 4
and edx, edi
and eax, edi
mov al, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x7a], al
mov al, byte [ebp + edx - 0x14]
mov byte [ebp + ecx - 0x79], al
mov eax, dword [ebp + esi*4 - 0x34]
inc esi
mov dword [ebx], eax
lea ebx, [ebx + 4]
cmp esi, 8
jl 0x49a9e7
mov esi, dword [ebp + 8]
xor eax, eax
mov byte [ebp + ecx - 0x78], al
lea ecx, [ebp - 0x78]
lea edx, [ecx + 1]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov byte [esi], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49aa87
sub ecx, edx
lea eax, [ebp - 0x78]
push ecx
push eax
mov ecx, esi
call fcn.00447269
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x4a03a8
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 4]
mov dword [esi], 0x4c6648
push eax
call sub.VCRUNTIME140.dll_memset
and dword [esi + 0x48], 0
add esp, 0xc
and dword [esi + 0x44], 0
mov eax, esi
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
pop esi
ret
Function at 0x4b8078
Capabilities:
Check http status code

Disassembly:
mov eax, 0x4951e7
call fcn.0045d7a0
sub esp, 0x2c
push ebx
push esi
xor eax, eax
xor ebx, ebx
push edi
inc eax
mov edi, ecx
push eax
push eax
call fcn.00484eca
pop ecx
push eax
lea eax, [ebp - 0x18]
push 0x4d4ec0
push eax
call fcn.0046382e
sub esp, 0x10
mov dword [ebp - 4], ebx
mov ecx, eax
mov esi, esp
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
mov ecx, esi
call fcn.00445b1a
mov ecx, edi
call fcn.004b8005
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [edi + 0x18], bl
je 0x4b8194
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00484ee5
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 1
jb 0x4b80f6
mov eax, dword [eax]
push ebx
push 0x4883000
push ebx
push ebx
push str.HTTP_1.0
push 0x4c65bc
push eax
push dword [edi + 0x20]
call fcn.0040a76f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
add esp, 0x20
mov esi, eax
call fcn.00445d4f
test esi, esi
je 0x4b818d
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1f
push esi
call fcn.0042f804
or dword [ebp - 0x10], 0x180
lea eax, [ebp - 0x10]
push 4
push eax
push 0x1f
push esi
call fcn.0042f889
push ebx
push ebx
push ebx
push ebx
push esi
call fcn.0042f553
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 4
push eax
push 0x20000013
push esi
call fcn.0049d8c5
add esp, 0x48
movzx ebx, bl
cmp dword [ebp - 0x14], 0xc8
push 1
pop ecx
cmove ebx, ecx
push esi
call fcn.0049d9c9
pop ecx
mov ecx, edi
call fcn.00423aab
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4021e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x40225c
cmp dword [esi + 0x10], 0
jne 0x40226d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x401fb0
push 0
push 0
call fcn.00407681
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x40225c
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40226d
mov ecx, esi
call fcn.004022b0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004043bd
mov esp, ebp
pop ebp
ret
Function at 0x402bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x402c6c
cmp dword [esi + 0x10], 0
jne 0x402c7d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x402a00
push 0
push 0
call fcn.00407681
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x402c6c
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x402c7d
mov ecx, esi
call fcn.00402ca0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004043bd
mov esp, ebp
pop ebp
ret
Function at 0x402d00
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [0x41a424], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.Gaming_device
call edi
movups xmm0, xmmword [str.MARVO_KG902W_Driver]
push 0x41a468
push 1
movups xmmword [0x41a468], xmm0
push 0
movups xmm0, xmmword [0x41609c]
movups xmmword [0x41a478], xmm0
movq xmm0, qword [0x4160ac]
movq qword [0x41a488], xmm0
movups xmm0, xmmword [0x416074]
movups xmmword [0x41a48e], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a49e], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x402d9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402efc
movups xmm0, xmmword [0x416074]
push str.4695579F_999A_41d4_9FAF_EFFCE93EBE19
movq xmm1, qword [0x4160ac]
movups xmm3, xmmword [str.MARVO_KG902W_Driver]
movups xmm2, xmmword [0x41609c]
movq qword [0x41a888], xmm1
movups xmmword [0x41a88e], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a89e], xmm0
movups xmm0, xmmword [0x41605c]
movq qword [0x41a688], xmm1
movups xmmword [0x41a68e], xmm0
movq xmm0, qword [0x41606c]
movups xmmword [0x41a868], xmm3
movups xmmword [0x41a878], xmm2
movups xmmword [0x41a668], xmm3
movups xmmword [0x41a678], xmm2
movq qword [0x41a69e], xmm0
call edi
mov ecx, esi
mov dword [0x41aa6c], eax
call fcn.00402f10
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a868
push 0x41a668
push 0
mov dword [0x41aa68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x402efc
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402ee1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop word [eax + eax]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402ed0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402eb0
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043bd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004043bd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4036e0
Capabilities:
Create thread

Disassembly:
cmp dword [0x41a45c], 0
je 0x4036f2
cmp dword [0x41a458], 0
jne 0x40375c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a45c], eax
test eax, eax
je 0x40375c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a460], eax
test eax, eax
je 0x40375c
mov ecx, dword [0x41a45c]
push 0
push 0
push 0x41a44c
push 0x4031b0
mov dword [0x41a450], ecx
mov ecx, dword [0x41a464]
push 0
push 0
mov dword [0x41a454], ecx
mov dword [0x41a44c], eax
call fcn.00407681
add esp, 0x18
mov dword [0x41a458], eax
ret

Function at 0x403760
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x41a45c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4037c3
cmp dword [0x41a458], 0
je 0x4037b2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push 1
push 0x41a458
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x4037ad
cmp eax, 0x80
je 0x4037ad
push 0
push dword [0x41a458]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x41a45c]
test eax, eax
je 0x4037c3
push eax
call esi
mov dword [0x41a45c], 0
mov eax, dword [0x41a460]
test eax, eax
je 0x4037d9
push eax
call esi
mov dword [0x41a460], 0
mov eax, dword [0x41a458]
test eax, eax
je 0x4037ef
push eax
call esi
mov dword [0x41a458], 0
pop esi
ret