joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d730
Capabilities:
Create thread

Disassembly:
push str.LogOff
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x460a00], eax
je 0x40d799
push 0
push 0
push 0x40d680
call dword [sym.imp.MSVCRT.dll__beginthread]
mov eax, dword [0x460a00]
add esp, 0xc
push 0x2bf20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40d778
push str.Logoff_succ_n
jmp 0x40d784
cmp eax, 0x102
jne 0x40d78c
push str.LogOff_timeout_n
call fcn.0041e6c0
add esp, 4
mov ecx, dword [0x460a00]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x40d7a0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1800
call fcn.00444b40
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x80a]
mov word [esp + 0x808], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1810]
push 0x800
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80c]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
lea edx, [esp + 0x10]
push 0x800
push edx
lea eax, [esp + 0x818]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x828
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x1810]
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 4
mov esi, eax
push ecx
push 0x456084
push 0x27
push esi
call edi
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esi + 0x28]
push edx
push 0x456084
push 0x7ff
push eax
call edi
push esi
push 0
push 0x40da10
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0x1c
pop edi
pop esi
add esp, 0x1800
ret

Function at 0x410410
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push str.AddressBook::Initiative_GetAddressBook_Info__n
call fcn.0041e6c0
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
mov dword [0x460b14], 1
je 0x41043b
push eax
call fcn.00411af0
add esp, 4
mov eax, dword [0x5e81fc]
test eax, eax
je 0x410457
push eax
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x5e81fc], 0
mov ecx, 0x5e81b0
call fcn.0040b8f0
mov ecx, 0x5e81b0
call fcn.0040b960
mov eax, dword [esi]
mov ecx, 0x5e81b0
push eax
push str.YMINI
call fcn.0040b9d0
mov ecx, dword [esi + 4]
push ecx
push str.TMINI
mov ecx, 0x5e81b0
call fcn.0040b9d0
push 0
push 0
push 0x4104e0
mov dword [0x460b18], 1
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov eax, 1
pop esi
ret 4
Function at 0x413320
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x413334
pop ecx
ret
mov al, byte [esp]
test al, 0x20
je 0x413340
xor eax, eax
pop ecx
ret
test al, 7
jne 0x413348
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x4136d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x445a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x456050]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
push 0x104
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x20]
push edi
push eax
push edi
push edi
push 0x457604
mov dword [esp + 0x148], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x456a0c
push edx
call fcn.00409280
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x13c]
add esp, 0xc
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, edi
jl 0x413762
push ecx
mov dword [ebp], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4137ec
mov ecx, dword [0x456050]
cmp eax, edi
mov dword [ebp], ecx
mov esi, eax
jne 0x413775
xor ebx, ebx
jmp 0x41377e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov eax, dword [ebp]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x413791
cmp ebx, dword [eax - 4]
jle 0x4137cc
mov edx, dword [0x456054]
add eax, 0xfffffff4
cmp eax, edx
je 0x4137c0
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4137b8
mov edx, dword [ebp]
sub edx, 0xc
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x456050]
mov dword [ebp], eax
push ebx
mov ecx, ebp
call fcn.004044c0
cmp eax, edi
je 0x4137ec
mov edi, dword [ebp]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov dword [eax - 8], ebx
mov ecx, dword [ebp]
mov byte [ecx + ebx], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x456054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41381b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41381b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x120]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x413cd0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00413840
mov edi, str.ymini.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00413c60
add esp, 0x10
test eax, eax
je 0x413e21
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0xc]
push ecx
push 0x1388
push str.ChatRefreshInterval
push str.main
call esi
lea edx, [esp + 0xc]
mov dword [0x5e8204], eax
push edx
push 0xa
push str.ChatIdleRetryCount
push str.main
call esi
mov dword [0x5e8208], eax
lea eax, [esp + 0xc]
push eax
push 0
push str.DefaultAutoLogin
push str.main
call esi
lea ecx, [esp + 0xc]
mov dword [0x5e8210], eax
push ecx
push 0xea60
push str.MsgCheckInterval
push str.main
call esi
lea edx, [esp + 0xc]
mov dword [0x5e8200], eax
push edx
push 0xea60
push str.OPIRefreshInterval
push str.main
call esi
mov ecx, dword [0x5e8204]
mov dword [0x5e820c], eax
cmp ecx, 0x1388
je 0x413de9
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
mov dword [0x5e8204], ecx
mov ecx, dword [0x5e8200]
cmp ecx, 0xea60
je 0x413e09
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
shl edx, 3
mov dword [0x5e8200], edx
cmp eax, 0xea60
je 0x413e21
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [0x5e820c], eax
pop edi
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x413f70
Capabilities:
Accept command line arguments

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x41400d
mov esi, dword [sym.imp.MSVCRT.dll__mbsstr]
push str.yminimsgr:
push eax
call esi
add esp, 8
test eax, eax
je 0x414000
push str.ClickIEBT
push eax
call esi
add esp, 8
test eax, eax
je 0x413ff1
push str.User_Click_IE_toolbar_button_n
call fcn.0041e6c0
add esp, 4
push str.MiniYMsgCore
push str.MiniYMsgCore
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413fec
push 0
push 0
push 0x509
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push str.Error_Command_n
call fcn.0041e6c0
add esp, 4
pop esi
ret
call fcn.00415460
push str.Error_Command_n
call fcn.0041e6c0
add esp, 4
pop esi
ret
push str.No_User_Command_n
call fcn.0041e6c0
add esp, 4
pop esi
ret

Function at 0x414010
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x414036
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x414038
mov eax, esi
pop esi
ret
Function at 0x417ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445e72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00403f90
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], edi
mov eax, dword [0x456050]
mov dword [esi + 0x20], eax
mov ecx, dword [0x456050]
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 3
call fcn.0041d340
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 4
call fcn.0041d340
lea ecx, [esi + 0xe0]
mov byte [esp + 0x14], 5
call fcn.0041d340
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 0x138], edi
mov dword [esi + 0x13c], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x148], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], esi
mov dword [esi + 0x168], 1
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], esi
mov dword [esi + 0x190], 2
mov dword [esi + 0x194], edi
mov edx, dword [0x456050]
pop edi
mov dword [esi + 0x1a0], edx
mov eax, dword [0x456050]
mov dword [esi + 0x1a4], eax
mov dword [esi], 0x447700
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x418820
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
cmp edi, 2
je 0x418840
cmp edi, 3
je 0x418840
mov dword [esi + 0x19c], 1
jmp 0x41884a
mov dword [esi + 0x19c], 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41888f
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x418872
mov ecx, dword [esi + 4]
push 0
push ecx
call ebp
jmp 0x41889b
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000000
je 0x41889b
mov eax, dword [esi + 4]
push 9
push eax
call ebp
jmp 0x41889b
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004187a0
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x4188dc
cmp edi, 4
je 0x4188dc
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call ebx
mov eax, dword [esi + 4]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
call ebx
mov ecx, dword [esi + 4]
push 1
push ecx
jmp 0x4188e2
mov edx, dword [esi + 4]
push 0
push edx
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x5e8860]
push 0
push 0x32
call ebp
push eax
push 0x31
call ebp
push eax
push 1
push 0xd8
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
mov ecx, esi
call fcn.00418510
push edi
mov ecx, esi
call fcn.00418250
mov ecx, esi
call fcn.00418db0
cmp edi, 2
je 0x41894a
cmp edi, 1
jne 0x418951
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x41895b
cmp edi, 3
je 0x41895b
cmp edi, 4
jne 0x41896d
mov edx, dword [esi + 4]
push 0
push 0xd1
push 0x111
push edx
call ebx
mov eax, dword [esi + 0x148]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x148]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edx, dword [esi + 0x148]
push eax
push 0
push 0xb1
push edx
call ebx
mov dword [esi + 0x198], 0
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x41a380
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
push esi
test ecx, ecx
push edi
je 0x41a391
lea edi, [ecx - 0x1c]
mov dword [esp + 0xc], edi
jmp 0x41a39d
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41a454
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, dword [esp + 0x1c]
mov ebp, eax
push ebp
mov ecx, ebx
mov dword [esp + 0x28], 0xffffffff
call fcn.004048d0
test eax, eax
je 0x41a447
mov edx, dword [ebx]
mov dword [edx - 8], ebp
mov eax, dword [ebx]
mov byte [eax + ebp], 0
mov eax, dword [ebx]
test eax, eax
je 0x41a447
lea ecx, [ebp + 1]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [ebx]
mov dword [esp + 0x24], eax
cmp dword [esi - 0xc], 1
jle 0x41a433
mov ecx, ebx
call fcn.00404520
mov edx, dword [esi - 8]
mov ecx, ebx
push edx
call fcn.004044c0
test eax, eax
je 0x41a433
mov ecx, dword [esi - 8]
mov edi, dword [ebx]
inc ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx]
mov dword [edx - 8], eax
mov ecx, dword [ebx]
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
pop ebp
jge 0x41a4a5
xor esi, esi
jmp 0x41a470
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov esi, eax
test esi, esi
jne 0x41a49c
push 0xffffffffffffffff
add edi, 0x1c
call dword [sym.imp.USER32.dll_MessageBeep]
test edi, edi
je 0x41a484
lea eax, [edi - 0x1c]
jmp 0x41a486
xor eax, eax
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41a4ef
mov ecx, dword [ebx]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx - 8]
cmp edx, eax
jle 0x41a4ef
push 0xffffffffffffffff
lea esi, [edi + 0x1c]
call dword [sym.imp.USER32.dll_MessageBeep]
test esi, esi
je 0x41a4ce
lea eax, [esi - 0x1c]
jmp 0x41a4d0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x18
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0x18
Function at 0x41ac82
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [0x5e883c], eax
call fcn.00413e30
call fcn.00413cd0
push 0
push 0
push 0x41ac50
call dword [sym.imp.MSVCRT.dll__beginthread]
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x41ab40
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x457ee0]
lea ebx, [esi + 0x28c]
test eax, eax
jne 0x41ace1
mov dword [0x457ee0], 0
lea edx, [ebx + 0x1c]
push edx
push 0x457eb0
push 0x5e8858
call fcn.0040fb10
mov edi, eax
test di, di
je 0x41ad6f
lea esi, [ebx + 8]
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x5e888c
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5e88c0]
push 0x5e888c
mov dword [esi + 8], eax
mov dword [0x5e88c0], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5e885c]
mov edx, dword [0x456074]
mov eax, dword [0x45606c]
push 0
push ecx
mov ecx, dword [0x456068]
push 0
sub edx, eax
push 0
push edx
mov edx, dword [0x456070]
and edi, 0xffff
sub edx, ecx
push edx
push eax
push ecx
push 0xcf0000
push 0
push edi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10

Function at 0x41ba10
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x41ba31
push str.Call_of_one_the_CPictureExWnd::Load___member_functions_before_calling_Draw___n
call fcn.0041e6c0
add esp, 4
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, esi
call fcn.0041c670
test eax, eax
je 0x41ba7f
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x41bff0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x74], eax
test eax, eax
jne 0x41ba71
push str.Draw:_Couldnt_start_a_GIF_animation_thread_n
call fcn.0041e6c0
add esp, 4
xor eax, eax
pop esi
add esp, 8
ret
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x41ba2a
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x7c]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x7c]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x34]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x5c]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x41ba2a
mov edx, dword [esi + 4]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x41baf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [0x5e8860]
push ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x10]
push ebp
push esi
push edi
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41bbf3
mov eax, dword [0x5e8860]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x41bbf3
mov eax, dword [0x5e8860]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x41bb70
push str.Load__resource_:_Error_allocating_memory_n
call fcn.0041e6c0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [esp + 0x1c]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41bbce
test edi, edi
je 0x41bbce
mov ecx, ebp
mov esi, eax
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push ebp
push ebx
call fcn.0041b350
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push str.Load__resource_:_Error_locking_memory_n
call fcn.0041e6c0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
push ebx
push str.Load__resource_:_Error_loading_resource__s_n
call fcn.0041e6c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x41e6c0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov eax, dword [0x458234]
sub esp, 0x340
test eax, eax
push esi
push edi
je 0x41e75d
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.LogToDebug
mov edi, 4
push str.SOFTWAREYahooMiniMsgr
push SysReAllocStringLen
mov dword [0x458234], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 0
call esi
test eax, eax
jne 0x41e723
mov eax, dword [esp + 8]
mov dword [0x5e8968], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push str.LogToFile
push str.SOFTWAREYahooMiniMsgr
push SysReAllocStringLen
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 0
call esi
test eax, eax
jne 0x41e75d
mov ecx, dword [esp + 8]
mov dword [0x5e896c], ecx
mov eax, dword [0x5e896c]
test eax, eax
jne 0x41e773
mov eax, dword [0x5e8968]
test eax, eax
je 0x41e861
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x148]
lea edx, [esp + 0x350]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34c]
push edx
push eax
lea ecx, [esp + 0x150]
push 0x1ff
push ecx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x24]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [esp + 0xcc]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__strtime]
add esp, 4
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.MSVCRT.dll__strdate]
add esp, 4
lea ecx, [esp + 0x20]
push eax
push str.__s__s___x:_x_
push 0x31
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [0x5e8968]
add esp, 0x1c
test eax, eax
je 0x41e81c
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x148]
push eax
call esi
mov eax, dword [0x5e896c]
test eax, eax
je 0x41e861
push 0x458250
push str.c:ymini.log
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x41e861
lea ecx, [esp + 0x148]
lea edx, [esp + 0x14]
push ecx
push edx
push str._s_s_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop edi
pop esi
add esp, 0x340
ret
Function at 0x41f2c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push esi
push edi
push 0x5e89f4
push eax
push ecx
call fcn.0041f170
mov esi, eax
add esp, 0xc
lea ecx, [esi - 1]
cmp ecx, 1
jl 0x41f302
mov al, byte [ecx + 0x5e89f3]
mov dl, 0xcd
imul dl
mov bl, byte [ecx + 0x5e89f4]
xor bl, al
mov byte [ecx + 0x5e89f4], bl
dec ecx
cmp ecx, 1
jge 0x41f2e4
mov edi, dword [esp + 0x18]
mov byte [esi + 0x5e89f4], 0
mov al, byte [0x5e89f5]
mov edx, 0x5e89f5
test al, al
mov esi, edi
je 0x41f36e
mov cl, byte [edx]
inc edx
cmp cl, 0x7f
mov byte [esp + 0x14], cl
ja 0x41f335
mov ecx, dword [esp + 0x14]
and ecx, 0xff
jmp 0x41f35d
cmp cl, 0xe0
jae 0x41f342
and ecx, 0x1f
shl ecx, 6
jmp 0x41f355
mov bl, byte [edx]
and ecx, 0xf
shl ecx, 6
and ebx, 0x3f
inc edx
add ebx, ecx
shl ebx, 6
mov ecx, ebx
mov bl, byte [edx]
inc edx
and ebx, 0x3f
add ecx, ebx
mov eax, ecx
sar eax, 8
mov byte [esi], al
inc esi
mov byte [esi], cl
mov al, byte [edx]
inc esi
test al, al
jne 0x41f31d
mov eax, esi
mov byte [esi], 0
sub eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x41f4c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret