joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b810
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d6f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004665e5
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b1b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00466513
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00462dd7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00462dd7
push 1
push 0
push 0
mov ecx, esi
call fcn.00462d7f
push 1
push 0
push 1
mov ecx, esi
call fcn.00462d7f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466657
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b990
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004665e5
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b1b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00466513
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43ba54
cmp dword [esp + 0x40], 1
jne 0x43ba52
cmp ecx, eax
jge 0x43ba54
mov eax, ecx
cmp eax, 0xc8
jge 0x43ba60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b810
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466657
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c1e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004611f7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046688d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467da9
test eax, eax
je 0x43c2fc
mov ecx, dword [esp + 0x3c]
call fcn.004668ba
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c2c0
push edi
mov ecx, esi
call fcn.00463f22
mov ecx, esi
call fcn.0043c460
cmp dword [esp + 0x38], 1
jne 0x43c2f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046405d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43ed20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ed53
push esi
call fcn.00441e10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ed4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43edd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43edc2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ed77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43edbe
cmp eax, 2
je 0x43edc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ed6a
cmp eax, 3
je 0x43ed9d
cmp eax, 1
jne 0x43ed6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ed6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ed6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ee00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ede8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ee00
add esp, 4
pop esi
ret

Function at 0x44acd0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44ad73
test eax, eax
jbe 0x44ad73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44ad73
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44ad1e
xor esi, esi
jmp 0x44ad24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44ad4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00404040
add esi, eax
push esi
mov ebx, esi
call fcn.00404040
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44ad30
pop ebp
test edi, edi
pop edi
jne 0x44ad73
test ebx, ebx
je 0x44ad73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00450b40
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44aeb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44afcd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44afcd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00461649
mov esi, eax
test esi, esi
je 0x44afcd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44afcd
mov ecx, esi
call fcn.0044ae20
cmp edi, eax
jge 0x44afcd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44af53
mov dword [esp + 0x34], 1
jmp 0x44afae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44afcd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044a3d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x461fed
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x462025
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004600a1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460079
jmp 0x462031
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4636df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463721
call fcn.00469194
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463721
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463718
xor eax, eax
jmp 0x463729
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046372f
pop edi
pop esi
pop ebx
ret 4
Function at 0x4696c4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4696f2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469710
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046962a
jmp 0x469710
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469710
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046962a
test edi, edi
mov eax, edi
jne 0x4696fa
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x52e8ce
Capabilities:
Encode data using xor

Disassembly:
test eax, 0xaf0bc5cd
out 0xc3, eax
in al, dx
sub al, 0x6d
lcall 0xa20a, 0xe9d62624
mov bl, 0x4b
ret
or dword [ecx - 0x38], 0x1f
nop
aam 0x4c
mov esi, 0xe812e306
pop es
lodsd eax, dword [esi]
xor bl, byte [edi]
sbb ah, 0x1d
sti
sar bh, cl
xor dword [ebp - 0x3e], edi
jge 0x52e892
jge 0x52e892
inc ebx
mov bl, 0xe8
jb 0x52e8b7
inc edi
pop esi
mov edi, 0x8f73f6d4
cld
lcall 0x5932, 0xe75822a6
mov dword [0x27e3df9e], eax
invalid
jecxz 0x52e910
scasd eax, dword es:[edi]
xor dl, byte cs:[edx + 0x4a7fbb52]
aas
or al, 0x73
pushal
and eax, 0x9e23e178
xchg dh, cl
adc dword [edx + 0x4780728a], 0x65
mov ah, 0x53
or eax, 0xc33353fd
call 0xaea0b3ae
mov dl, 0x17
out dx, eax

Function at 0x5fc185
Capabilities:
Encode data using xor

Disassembly:
inc ecx
nop
fld xword [edx - 0x40073726]
cli
xor dl, cl
sub al, al
invalid
Function at 0x401aa9
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x43bddb
call fcn.0043ac4f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.QQPlayer.DLL_class_CQmString___cdecl_qzonemusic::GetAppDataFolder_void_]
mov dword [esp], 0x4417b0
push eax
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00401020
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.QQPlayer.DLL_public:_wchar_t_const____thiscall_CQmString::operator_wchar_t_const__void_]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401a68
mov esi, dword [sym.imp.QQPlayer.DLL_public:_void___thiscall_CQmString::destructor_void_]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call esi
push dword [ebp - 0x10]
push 0x441788
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401b27
mov dword [0x459004], edi
jmp 0x401b57
cmp dword [0x45b2a4], edi
mov dword [0x459004], 1
jne 0x401b57
mov eax, dword [section..data]
imul eax, eax, 0x3e8
push 0x401099
push eax
push edi
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x45b2a4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d8
call fcn.0043ad27
ret
Function at 0x406103
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x45b27c]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x10
mov eax, 0x43c26b
call fcn.0043ac4f
mov edi, dword [ebp + 0xd4]
mov esi, dword [ebp + 0xd8]
and word [ebp], 0
push 0xc6
lea eax, [ebp + 2]
push 0
push eax
mov dword [ebp - 0x18], edi
call fcn.0043aeb2
push dword [esi]
push 1
push dword [esi + 0xc]
push edi
call dword [sym.imp.MSVCR80.dll_fread]
mov ebx, eax
mov eax, dword [esi + 0xc]
add esp, 0x1c
dec ebx
neg ebx
sbb bl, bl
cdq
idiv dword [esi + 0x10]
inc bl
test bl, bl
mov byte [ebp - 0xd], bl
mov dword [esi + 0x14], eax
je 0x40628e
push eax
lea eax, [ebp]
push 0x445560
push eax
call fcn.00401b76
add esp, 0xc
lea eax, [ebp]
lea ecx, [esi + 0x18]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00401873
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
xor eax, eax
cmp ecx, 1
sete byte [ebp - 0xe]
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x406240
xor edx, edx
dec ebx
cmp byte [ebp - 0xe], dl
je 0x4061c1
cmp byte [edi], dl
jmp 0x4061c5
cmp word [edi], 0
sete dl
test edx, edx
je 0x4061f3
test eax, eax
je 0x4061ea
cmp edi, eax
je 0x4061ea
imul ecx, dword [ebp - 0x14]
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov ecx, dword [esi + 0x10]
inc dword [ebp - 0x14]
lea eax, [ecx + edi]
add edi, ecx
test ebx, ebx
jne 0x4061b5
test eax, eax
je 0x406218
cmp edi, eax
je 0x406218
mov ecx, dword [esi + 0x10]
imul ecx, dword [ebp - 0x14]
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x406240
push edi
lea eax, [ebp]
push 0x445538
push eax
call fcn.00401b76
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp]
push eax
call fcn.00403b00
sub dword [esi + 0x14], edi
cmp dword [esi + 0x10], 1
jle 0x406266
test byte [esi + 4], 0x80
je 0x406266
push dword [esi + 0x14]
push dword [ebp - 0x18]
call fcn.00402a66
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
push 0x44551c
call fcn.00403b00
mov bl, byte [ebp - 0xd]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.0043ac40
add ebp, 0xcc
leave
ret
lea eax, [ebp - 0x18]
push eax
call fcn.0040480e
pop ecx
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x18]
call fcn.00403b8b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012d8
jmp 0x406269
Function at 0x406489
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x45b27c]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 8
mov eax, 0x43c2d3
call fcn.0043ac4f
mov eax, dword [ebp + 0xd4]
mov esi, dword [ebp + 0xd8]
mov ebx, dword [ebp + 0xdc]
and word [ebp], 0
push 0xc6
mov dword [ebp - 0x14], eax
lea eax, [ebp + 2]
push 0
push eax
call fcn.0043aeb2
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
add esp, 0xc
imul edi, eax
test ebx, ebx
jne 0x4064ea
mov ebx, dword [ebp - 0x14]
and dword [ebp - 0x10], 0
test byte [esi + 4], 0x80
je 0x406541
cmp dword [ebp - 0x14], 0
jne 0x406527
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00439cd2
mov ecx, dword [esi + 0x14]
add ecx, ecx
push ecx
push ebx
push eax
mov dword [ebp - 0x10], eax
call fcn.0043aec4
mov ebx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 0x14], ebx
push dword [esi + 0x14]
push dword [ebp - 0x14]
call fcn.00402a66
pop ecx
pop ecx
lea ecx, [esi + 0x18]
push 0x44551c
call fcn.00403b00
push dword [esi]
push 1
push edi
push ebx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp - 0x10], 0
je 0x406568
push dword [ebp - 0x10]
call fcn.0043adcc
pop ecx
test bl, bl
je 0x40658e
push dword [esi + 0x14]
lea eax, [ebp]
push 0x445560
push eax
call fcn.00401b76
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [esi + 0x18]
call fcn.00403b00
jmp 0x4065b0
lea eax, [ebp - 0x10]
push eax
call fcn.0040480e
pop ecx
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x18]
call fcn.00403b8b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.0043ac40
add ebp, 0xcc
leave
ret
Function at 0x40dd43
Capabilities:
Terminate thread

Disassembly:
push 0x14
mov eax, 0x43cc85
call fcn.0043ac4f
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x445c58
cmp dword [esi + 0x50], 0xffffffff
mov dword [ebp - 4], 3
je 0x40dd96
mov eax, dword [esi + 0x54]
test eax, eax
mov dword [esi + 0x58], 1
je 0x40dd81
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x40dd96
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
or dword [esi + 0x50], 0xffffffff
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esi + 4]
mov eax, dword [ebx + 4]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d47d
mov eax, dword [ebx + 8]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d47d
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cceb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40de6a
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
cmp dword [eax + 4], 0
je 0x40ddfb
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
push dword [eax + 4]
call edi
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
and dword [eax + 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
cmp dword [eax + 0x24], 0
je 0x40de22
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
push dword [eax + 0x24]
call edi
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
and dword [eax + 0x24], 0
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
cmp dword [eax + 0x28], 0
je 0x40de49
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
push dword [eax + 0x28]
call edi
lea ecx, [ebp - 0x18]
call fcn.0040ccc8
and dword [eax + 0x28], 0
lea ecx, [ebp - 0x18]
call fcn.0040cc6c
mov eax, dword [ebx + 8]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d47d
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cceb
test al, al
je 0x40ddd4
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40de94
push eax
call edi
and dword [esi + 0x54], 0
mov ecx, esi
call fcn.0040d9eb
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x40deb3
push eax
call edi
and dword [esi + 0x64], 0
lea ecx, [esi + 0x84]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call dword [sym.imp.QQPlayer.DLL_public:_void___thiscall_CMyMutex::destructor_void_]
lea ecx, [esi + 0x2c]
call fcn.0040d979
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0040da4e
call fcn.0043ad27
ret
Function at 0x40e524
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x2c54]
mov eax, 0x2cd4
call fcn.0043afe0
mov eax, dword [0x45b27c]
xor eax, ebp
mov dword [ebp + 0x2c50], eax
mov eax, dword [ebp + 0x2c5c]
test eax, eax
push esi
mov esi, ecx
jne 0x40e557
xor eax, eax
jmp 0x40e693
push 0x2cb8
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0043aec4
add esp, 0xc
cmp dword [ebp - 0x68], 0
je 0x40e550
push ebx
push edi
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x68], 0x90000000
mov ebx, dword [sym.imp.MSVCR80.dll_wcsncmp]
jne 0x40e5ee
cmp dword [esi + 0x34], 0
je 0x40e6f5
lea eax, [ebp - 0x74]
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.0040d86a
jmp 0x40e5d6
lea ecx, [ebp - 0x74]
call fcn.0040d613
mov eax, dword [eax]
cmp eax, dword [ebp - 0x68]
jne 0x40e5ce
lea ecx, [ebp - 0x74]
call fcn.0040d613
push 0x3f
lea ecx, [ebp - 0x64]
push ecx
add eax, 4
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x40e618
lea ecx, [ebp - 0x70]
call fcn.0040cd2a
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.0040d891
push eax
lea ecx, [ebp - 0x74]
call fcn.0040d2c6
test al, al
je 0x40e5a4
cmp dword [ebp - 0x68], 0xa0000000
jne 0x40e6f5
cmp dword [esi + 0x34], 0
je 0x40e6f5
lea eax, [ebp - 0x74]
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.0040d86a
jmp 0x40e6dd
lea ecx, [ebp - 0x74]
call fcn.0040d613
mov ecx, dword [ebp + 0x12c]
mov dword [eax + 0x194], ecx
lea ecx, [ebp - 0x74]
call fcn.0040d613
mov ecx, dword [ebp + 0x130]
mov dword [eax + 0x198], ecx
push dword [esi + 0x34]
push dword [ebp - 0x68]
push 0x445e18
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
add esp, 0xc
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0x50], 0xffffffff
pop edi
pop ebx
jne 0x40e690
push esi
push 0
push 0x40e124
call dword [sym.imp.MSVCR80.dll__beginthread]
push eax
push 0x445dd8
mov dword [esi + 0x50], eax
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
add esp, 0x14
cmp dword [esi + 0x50], 0xffffffff
je 0x40e550
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x2c50]
xor ecx, ebp
pop esi
call fcn.0043ac40
add ebp, 0x2c54
leave
ret 4
lea ecx, [ebp - 0x74]
call fcn.0040d613
mov eax, dword [eax]
cmp eax, dword [ebp - 0x68]
jne 0x40e6d5
lea ecx, [ebp - 0x74]
call fcn.0040d613
push 0x3f
lea ecx, [ebp - 0x64]
push ecx
add eax, 4
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x40e723
lea ecx, [ebp - 0x70]
call fcn.0040cd2a
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.0040d891
push eax
lea ecx, [ebp - 0x74]
call fcn.0040d2c6
test al, al
je 0x40e6ab
cmp dword [esi + 0x34], 0x100
jbe 0x40e712
push 0x445d90
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
pop ecx
lea ecx, [esi + 0x2c]
call fcn.0040da10
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0x2c]
call fcn.0040d8d7
jmp 0x40e654
lea ecx, [ebp - 0x74]
call fcn.0040d613
mov ecx, dword [ebp + 0x128]
mov dword [eax + 0x190], ecx
lea ecx, [ebp - 0x74]
call fcn.0040d613
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x88], ecx
jmp 0x40e640