joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0e70
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x554300]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4d0e97
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x4d0edf
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x20], ebx
jmp 0x4d0ee3
mov ebp, dword [esp + 0x1c]
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4d0f43
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
dec ebx
jne 0x4d0f04
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4d0f77
jmp 0x4d0f50
mov eax, dword [esi + 4]
push 1
push 0x527da6
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x527da7
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4d0f50
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4d7b18
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4fbd3d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x554910]
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.004e14d6
mov dword [ebp - 0x14], eax
cmp dword [0x55d6d4], esi
jne 0x4fbe30
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4fbdbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4fbf10
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4fbf10
push 0x531d24
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4fbf10
push eax
call ebx
push 0x531d30
push edi
mov dword [0x55d6d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x55d6d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x55d6dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x55d6e4], eax
test eax, eax
je 0x4fbe2d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x55d6e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4fbe55
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4fbe48
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4fbe6a
push 4
pop eax
jmp 0x4fbf12
cmp dword [ebp - 0x14], esi
je 0x4fbe6a
push dword [0x55d6d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4fbe4f
mov eax, dword [0x55d6e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4fbec8
cmp dword [0x55d6e4], edi
je 0x4fbec8
push eax
call ebx
push dword [0x55d6e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4fbec8
test eax, eax
je 0x4fbec8
call ecx
test eax, eax
je 0x4fbebd
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 0x4fbebd
test byte [ebp - 8], 1
jne 0x4fbec8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4fbef8
mov eax, dword [0x55d6d8]
cmp eax, edi
je 0x4fbef5
push eax
call ebx
test eax, eax
je 0x4fbef5
call eax
mov esi, eax
test esi, esi
je 0x4fbef5
mov eax, dword [0x55d6dc]
cmp eax, edi
je 0x4fbef5
push eax
call ebx
test eax, eax
je 0x4fbef5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x55d6d4]
call ebx
test eax, eax
je 0x4fbf10
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4fbf12
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d2694
mov esp, ebp
pop ebp
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2a12e3d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5f0f3c6d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x410af0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x12c
mov eax, dword [0x453b8c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push edi
lea eax, [esp + 0xc]
mov edi, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x80
lea ecx, [esp + 0x38]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov edi, eax
call ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [0x456798]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push esi
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push edi
add ecx, 0xffffffff
add edx, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x34], edx
lea edx, [esp + 0x30]
push edx
add eax, 1
push 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
push 1
push 4
add eax, 0xffffffff
push esi
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [0x4567a0]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
sub edi, dword [esp + 0xc]
sub ebx, dword [esp + 0x10]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.GDI32.dll_PatBlt]
push 0xf00021
push ebx
push 1
push ecx
push edx
push esi
mov dword [esp + 0x38], eax
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xf00021
push 1
push edi
push eax
push ecx
push esi
call ebp
mov edx, dword [0x45679c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0xf00021
add ebx, 0xffffffff
push ebx
push 1
add eax, 1
push eax
add ecx, 0xffffffff
push ecx
push esi
call ebp
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push 0xf00021
push 1
add edi, 0xffffffff
push edi
add edx, 0xffffffff
push edx
add eax, 1
push eax
push esi
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x410c4a
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x410c5a
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0042c60f
add esp, 0x12c
ret
Function at 0x413d33
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x453b8c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x413d70
push 0x4456b0
push 4
push eax
call fcn.0042dea5
push eax
call fcn.004010a0
add esp, 0x10
jmp 0x413d82
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x413ded
push edi
call fcn.0042df87
mov edi, dword [eax]
call fcn.0042df87
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0042df2d
add esp, 0x18
mov ebx, eax
call fcn.0042df87
cmp dword [eax], 0
je 0x413dcd
call fcn.0042df87
push dword [eax]
call fcn.004116a9
pop ecx
jmp 0x413dd4
call fcn.0042df87
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x413ded
cmp ebx, esi
jae 0x413ded
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x413def
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c60f
leave
ret
Function at 0x41a7cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41a80f
call fcn.0041cf6b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a80f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41a82a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041a386
test ebx, ebx
mov esi, eax
je 0x41a828
test edi, edi
je 0x41a828
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41b827
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41b86d
call fcn.0041cf6b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b86d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41b8b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41b899
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 0x41b899
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41b8ad
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 0x42c60f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453b8c]
jne 0x42c619
repz ret
jmp fcn.00430e20
Function at 0x4351ec
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4544f8]
je 0x435207
inc edi
cmp edi, 0x17
jb 0x4351f8
cmp edi, 0x17
jae 0x435387
push ebp
push 3
call fcn.0043b2ad
cmp eax, 1
pop ecx
je 0x435353
push 3
call fcn.0043b2ad
test eax, eax
pop ecx
jne 0x43523b
cmp dword [0x453bb0], 1
je 0x435353
cmp ebx, 0xfc
je 0x435386
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x458c10
push ebp
call fcn.0043821d
add esp, 0xc
test eax, eax
je 0x435271
push esi
push esi
push esi
push esi
push esi
call fcn.0042f546
add esp, 0x14
push 0x104
mov esi, 0x458c29
push esi
push 0
mov byte [0x458d2d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4352b5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043821d
add esp, 0xc
test eax, eax
je 0x4352b5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042f546
add esp, 0x14
push esi
call fcn.00433c90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4352fa
push esi
call fcn.00433c90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x458f24
push 0x448474
sub ecx, eax
push ecx
push eax
call fcn.0043a3a6
add esp, 0x14
test eax, eax
je 0x4352fa
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042f546
add esp, 0x14
jmp 0x4352fc
xor esi, esi
push 0x448470
push ebx
push ebp
call fcn.0043a2e8
add esp, 0xc
test eax, eax
je 0x43531c
push esi
push esi
push esi
push esi
push esi
call fcn.0042f546
add esp, 0x14
push dword [edi*8 + 0x4544fc]
push ebx
push ebp
call fcn.0043a2e8
add esp, 0xc
test eax, eax
je 0x43533e
push esi
push esi
push esi
push esi
push esi
call fcn.0042f546
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043b0f0
add esp, 0xc
jmp 0x435386
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x435386
cmp ebp, 0xffffffff
je 0x435386
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4544fc]
push dword [esi]
call fcn.00433c90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43b0f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00432c4e
xor ebx, ebx
cmp dword [0x459174], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43b1c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43b2a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43b2a6
push eax
call fcn.00432be0
mov dword [esp], 0x4496a4
push edi
mov dword [0x459174], eax
call esi
push eax
call fcn.00432be0
mov dword [esp], 0x449690
push edi
mov dword [0x459178], eax
call esi
push eax
call fcn.00432be0
mov dword [0x45917c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042e7d4
test eax, eax
pop ecx
pop ecx
je 0x43b194
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f546
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43b1c6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00432be0
cmp eax, ebx
pop ecx
mov dword [0x459184], eax
je 0x43b1c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432be0
pop ecx
mov dword [0x459180], eax
mov eax, dword [0x459180]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43b24b
cmp dword [0x459184], ecx
je 0x43b24b
push eax
call fcn.00432c57
push dword [0x459184]
mov esi, eax
call fcn.00432c57
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43b24b
cmp edi, ebx
je 0x43b24b
call esi
cmp eax, ebx
je 0x43b218
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b218
test byte [ebp - 0x18], 1
jne 0x43b24b
lea eax, [ebp - 0x10]
push eax
call fcn.0042e80b
test eax, eax
pop ecx
je 0x43b233
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f546
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43b242
or dword [ebp + 0x10], 0x200000
jmp 0x43b286
or dword [ebp + 0x10], 0x40000
jmp 0x43b286
mov eax, dword [0x459178]
cmp eax, dword [ebp - 8]
je 0x43b286
push eax
call fcn.00432c57
cmp eax, ebx
pop ecx
je 0x43b286
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43b286
mov eax, dword [0x45917c]
cmp eax, dword [ebp - 8]
je 0x43b286
push eax
call fcn.00432c57
cmp eax, ebx
pop ecx
je 0x43b286
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459174]
call fcn.00432c57
cmp eax, ebx
pop ecx
je 0x43b2a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b2a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f51d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x453b8c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043f4b2
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042c7e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43f56c
cmp dword [ebp - 0x1c], 5
jb 0x43f584
jmp 0x43f580
cmp dword [ebp - 0x10], 1
jne 0x43f584
cmp dword [ebp - 0x1c], 4
ja 0x43f580
jne 0x43f584
cmp dword [ebp - 0x18], 0
jbe 0x43f584
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x449704
call fcn.00401170
test eax, eax
jge 0x43f5a5
mov byte [0x45565c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042c60f
add ebp, 0x78
leave
ret
Function at 0x10055b76
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, dword [0x100c51b8]
xor eax, ebp
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov ecx, ebx
push eax
call fcn.1006a276
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push 0x10055774
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1005c681
mov dword [esp + 4], edx
mov dword [esp], eax
movsd xmm0, qword [ebx + 0x50]
movsd qword [esp + 0x10], xmm0
mov ecx, 0xda5c54c2
mov eax, 0xb14e87b
cmp ecx, 0xb14e87b
je 0x10055c0e
cmp ecx, 0xa315b28
je 0x10055c27
cmp ecx, 0xda5c54c2
jne 0x10055bd9
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp esi, ecx
sbb edi, edx
mov ecx, 0xa315b28
cmovb ecx, eax
jmp 0x10055bd9
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov edx, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
mov dword [ebx + 0x58], ecx
mov ecx, 0xa315b28
jmp 0x10055bd9
xor esi, esi
push esi
push esi
push dword [ebp + 8]
push 0x10055019
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x1c], eax
mov edi, ebx
mov ebx, dword [ebx + 0x58]
lea ecx, [esp + 0x20]
call fcn.10007bca
push ebx
push eax
push str._s__qm_init_finish__d_n
call fcn.100629c3
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x1c], 0
sete bl
push 8
call fcn.1008792d
add esp, 4
mov dword [eax], edi
mov dword [eax + 4], ebx
push esi
push esi
push eax
push 0x10055891
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x20]
call fcn.100087f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.100879aa
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10055cb6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, ecx
mov eax, dword [0x100c51b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
call fcn.1005c681
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x50], eax
call fcn.1005c66d
push esi
call fcn.10062958
add esp, 4
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
mov ecx, ebx
push edi
call fcn.1006a276
mov ecx, edi
call fcn.10007bca
push str.5.1.1.20
push eax
push str._s__welcome_to_qm__version:_s_n
call fcn.100629c3
add esp, 0xc
mov ebx, esp
sub esp, 0x18
mov ecx, esp
xor esi, esi
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
push edi
call fcn.10007eb6
call fcn.100814d2
add esp, 0x18
mov esp, ebx
mov ecx, eax
call fcn.10081018
mov ebx, esp
sub esp, 0x18
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
push edi
call fcn.10007eb6
call fcn.1000c65a
add esp, 0x18
mov esp, ebx
mov ecx, eax
call fcn.1000bbee
mov ebx, esp
sub esp, 0x18
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
push edi
call fcn.10007eb6
call fcn.1000ac34
add esp, 0x18
mov esp, ebx
movzx edx, byte [ebp + 0x18]
mov ecx, eax
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1000ab0e
push 1
call fcn.1007d3b9
add esp, 4
call fcn.1004ceb7
call fcn.10022f7a
mov dword [ebp - 0x38], esp
sub esp, 0x18
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
push edi
call fcn.10007eb6
call fcn.10061d30
add esp, 0x18
mov byte [ebp - 0x29], al
mov edi, 0xa7c62532
cmp edi, 0x55a05199
jg 0x10055dff
cmp edi, 0x91a8f252
je 0x10055e36
cmp edi, 0xa7c62532
jne 0x10055dd1
mov esp, dword [ebp - 0x38]
cmp byte [ebp - 0x29], 0
mov edi, 0x91a8f252
mov eax, 0x6d0149dc
cmovne edi, eax
jmp 0x10055dd1
cmp edi, 0x55a0519a
je 0x10055e59
cmp edi, 0x6d0149dc
jne 0x10055dd1
call fcn.100824aa
mov ecx, eax
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10055ca7
call fcn.100823e8
mov edi, 0x55a0519a
push ebx
call fcn.10055b76
add esp, 4
mov ebx, eax
jmp 0x10055dd1
push esi
push esi
push dword [ebp - 0x30]
push 0x10055996
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ebx, ebx
test eax, eax
sete bl
mov edi, 0x55a0519a
jmp 0x10055dd1
lea ecx, [ebp - 0x28]
call fcn.100087f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100879aa
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14