joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018d60
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.1006e670
mov al, byte [0x1009bcc4]
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x15]
mov esi, dword [esp + 0x201c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test esi, esi
stosb byte es:[edi], al
je 0x10018d93
mov byte [esi], 0
mov edi, dword [esp + 0x2018]
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x10018e43
cmp eax, 0x1fff
ja 0x10018e43
lea edx, [esp + 0x14]
push edx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10018e43
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x10085f04
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10018e43
mov edx, dword [esp + 0x2020]
push ebx
mov ecx, edx
xor eax, eax
mov ebx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, dword [eax + 8]
shr eax, 0x10
push ecx
push eax
dec edx
push str._d._d._d._d
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x1c
mov eax, 1
pop ebx
pop edi
pop esi
add esp, 0x200c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x200c
ret

Function at 0x10018e50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
mov al, byte [0x1009bcc4]
push edi
mov byte [esp + 8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x110]
lea edx, [esp + 8]
stosw word es:[edi], ax
push ecx
push str.CLSID_sInprocServer32
push 0x104
push edx
stosb byte es:[edi], al
mov dword [esp + 0x14], 1
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, dword [esp + 0x124]
add esp, 0x10
lea eax, [esp + 0x118]
lea edx, [esp + 4]
push eax
push ecx
push edx
lea eax, [esp + 0x14]
push 0x1009bcc4
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
neg eax
sbb eax, eax
pop edi
inc eax
add esp, 0x108
ret
Function at 0x10018ed0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x48
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
test ebp, ebp
mov dword [esp + 0x10], 0
je 0x10018eea
mov byte [ebp], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10018ef5
mov byte [eax], 0
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x5c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x10018f11
pop edi
pop esi
pop ebp
add esp, 0x48
ret
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1001902c
lea ecx, [esp + 0x60]
lea edx, [esp + 0x10]
push ecx
push edx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1001902c
test ebp, ebp
je 0x10018fae
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x20]
push str.StringFileInfo_04x_04xFileDescription
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x60]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x18]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10018fae
mov edi, dword [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x10019013
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x20]
push str.StringFileInfo_04x_04xCompanyName
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x60]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x18]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10019013
mov edi, dword [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
mov esi, 1
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x48
ret
mov esi, dword [esp + 0x14]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x48
ret
Function at 0x10019710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov al, byte [0x1009bcc4]
push esi
push edi
mov byte [esp + 0x10], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
push 0x4000
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x100197a8
mov ecx, dword [esp + 0x118]
lea edx, [esp + 0x10]
push ecx
push str.CLSID083863F1_70DE_11d0_BD40_00A0C911CE86Instance_s
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push eax
push esi
push ecx
push str.FilterData
push edx
push closesocket
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 0x4000
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001979e
mov edi, dword [esi + 4]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x10c
ret

Function at 0x10019db0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x1009bdd4]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push str.mee.db
stosw word es:[edi], ax
push ecx
push str._s_s
lea edx, [esp + 0x11c]
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [esp + 0x110]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10019ea0
mov edx, dword [esp + 0x218]
lea ecx, [esp + 8]
push 0
push ecx
push 8
push edx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
je 0x10019e9a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
Function at 0x1001b9a0
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x10070af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push 0x100770b8
push 3
push ebx
push 0x100770a8
mov byte [esp + 0x2c], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x1001ba1a
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push ebx
push edx
mov ecx, dword [eax]
push 0x10077098
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x1001ba1a
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x1001ba1e
push esi
push eax
call fcn.1001b1a0
add esp, 8
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x18], bl
cmp ecx, ebx
je 0x1001ba34
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x18], 0xffffffff
je 0x1001ba46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x1001d7f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [0x1009bdd4]
push ebx
push esi
and ecx, 0xffff
push eax
push ecx
push edx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x1001d868
mov eax, dword [0x1009bdd4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jae 0x1001d868
mov ecx, dword [0x1009bdd4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001d868
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1001d868
mov ecx, ebx
push edi
mov edi, dword [esp + 0x18]
mov edx, ecx
mov esi, eax
mov eax, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x1001da70
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
xor eax, eax
lea edx, [esp]
push esi
mov esi, ecx
push edx
push 0x202
lea ecx, [esi + 0x900]
mov byte [esi], 0
mov byte [esi + 0x100], 0
mov dword [esi + 0x91c], 0xffffffff
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, 0x14
mov dword [esi + 0x910], eax
mov dword [esi + 0x914], eax
mov dword [esi + 0x918], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, esi
pop esi
add esp, 0x190
ret

Function at 0x1001daf0
Capabilities:
Parse url
Resolve dns

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x48]
push esi
push edi
test ebx, ebx
jne 0x1001db09
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3c
ret 8
mov esi, dword [esp + 0x4c]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
lea edi, [esi + 0x100]
push eax
push 0x10000000
push ebx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x1001db66
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
cmp byte [edi], 0
jne 0x1001db75
mov byte [edi], 0x2f
mov byte [esi + 0x101], 0
mov ecx, dword [esp + 0x24]
mov word [esi + 0x900], 2
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [esi + 0x902], ax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1001dba4
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
mov edx, dword [eax + 0xc]
pop edi
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, 1
mov dword [esi + 0x904], ecx
pop esi
pop ebx
add esp, 0x3c
ret 8
Function at 0x1001dbc0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push eax
mov word [esi + 0x900], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov word [esi + 0x902], ax
mov edi, dword [esp + 0x14]
push edi
push esi
call ebx
lea edx, [esi + 0x100]
mov ecx, dword [esp + 0x1c]
push ecx
push edx
call ebx
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1001dc0f
pop edi
pop esi
pop ebx
ret 0x10
mov eax, dword [eax + 0xc]
pop edi
mov ecx, dword [eax]
mov eax, 1
mov edx, dword [ecx]
mov dword [esi + 0x904], edx
pop esi
pop ebx
ret 0x10

Function at 0x1001dc60
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x110
push esi
mov esi, dword [esp + 0x118]
push edi
mov eax, dword [esi + 0x91c]
cmp eax, 0xffffffff
je 0x1001dc81
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x91c], eax
jne 0x1001dca5
pop edi
xor eax, eax
pop esi
add esp, 0x110
ret 4
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 8]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x14], 1
call edi
cmp eax, 0xffffffff
je 0x1001dd33
mov eax, dword [esi + 0x91c]
mov edx, dword [esi + 0x910]
lea ecx, [esi + 0x900]
push 0x10
push ecx
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_connect]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0
push eax
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1001dd33
mov edx, dword [esi + 0x91c]
lea ecx, [esp + 8]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x14], 0
call edi
cmp eax, 0xffffffff
jne 0x1001dd46
push esi
call fcn.1001dc30
pop edi
xor eax, eax
pop esi
add esp, 0x110
ret 4
pop edi
mov eax, 1
pop esi
add esp, 0x110
ret 4
Function at 0x1001e010
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x114]
mov eax, dword [esi + 0x91c]
cmp eax, 0xffffffff
jne 0x1001e035
or eax, eax
pop esi
add esp, 0x10c
ret 0xc
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x918]
push edx
push 0
push 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x1001e07a
or eax, 0xffffffff
pop esi
add esp, 0x10c
ret 0xc
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
mov edx, dword [esi + 0x91c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
pop esi
add esp, 0x10c
ret 0xc

Function at 0x1001e0b0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x114]
mov eax, dword [esi + 0x91c]
cmp eax, 0xffffffff
jne 0x1001e0d5
or eax, eax
pop esi
add esp, 0x10c
ret 0xc
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x914]
push 0
push edx
push 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x1001e11a
or eax, 0xffffffff
pop esi
add esp, 0x10c
ret 0xc
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
mov edx, dword [esi + 0x91c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
pop esi
add esp, 0x10c
ret 0xc

Function at 0x1001e2f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 4]
xor eax, eax
cmp ecx, 6
sete al
add esp, 0x94
ret
Function at 0x1001fe50
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x44]
test eax, eax
jne 0x1001fe7a
mov eax, dword [esi + 0x34]
push ecx
push 0x10087648
push eax
call fcn.100222a0
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x58]
test eax, eax
jne 0x1001fe9e
mov eax, dword [esi + 0x34]
push ecx
push 0x10085170
push eax
call fcn.10022350
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x40]
test eax, eax
jne 0x1001fec2
mov eax, dword [esi + 0x34]
push ecx
push 0x10087638
push eax
call fcn.10022400
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov eax, dword [esi + 0x48]
lea ebp, [esi + 0x48]
test eax, eax
jne 0x1001fee6
mov eax, dword [esi + 0x34]
push ebp
push 0x10087628
push eax
call fcn.100224b0
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov eax, dword [esi + 0x4c]
lea edi, [esi + 0x4c]
test eax, eax
jne 0x1001ff0a
mov eax, dword [esi + 0x34]
push edi
push 0x10085798
push eax
call fcn.10022560
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov eax, dword [esi + 0x50]
lea ebx, [esi + 0x50]
test eax, eax
jne 0x1001ff2e
mov eax, dword [esi + 0x34]
push ebx
push 0x10087618
push eax
call fcn.10022610
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov ecx, dword [esi + 0x54]
lea eax, [esi + 0x54]
test ecx, ecx
jne 0x1001ff52
mov ecx, dword [esi + 0x34]
push eax
push 0x10087608
push ecx
call fcn.100226c0
add esp, 0xc
test eax, eax
jl 0x1001fffd
mov eax, dword [edi]
test eax, eax
je 0x1001ff60
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x1001ff6e
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1001ff7f
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x1001fffd
mov eax, dword [esi + 0x40]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
jl 0x1001fffd
mov eax, dword [ebp]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jge 0x1001ffa4
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x58]
test eax, eax
je 0x1001ffb3
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xc]
lea eax, [esi + 0x24]
push eax
push 0
push esi
push 0x10021d10
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x20], eax
test eax, eax
je 0x1001fff8
mov ecx, dword [esi + 0x28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx]
push 0x10087604
push str.DAILY.UNINIT_MASTERPLAYER_B
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, 0x8000ffff
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10021030
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10070fab
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov ecx, dword [ebp + 0x28]
push ebx
mov eax, dword [edi + 0xc]
push 5
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [edi + 0x10], ebx
je 0x10021174
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x10021174
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x30]
mov word [esp + 0x10], bx
push 0xc
mov dword [esp + 0x2c], ebx
call fcn.1003bfe0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov eax, 1
cmp esi, ebx
mov byte [esp + 0x28], al
je 0x100210d2
push str.STARTPOS
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.1006e3e3
cmp eax, ebx
mov dword [esi], eax
jne 0x100210d4
mov eax, str.STARTPOS
test eax, eax
je 0x100210d4
push 0x8007000e
call fcn.1006e336
jmp 0x100210d4
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x34], esi
jne 0x100210ea
push 0x8007000e
call fcn.1006e336
cmp esi, ebx
mov byte [esp + 0x28], 2
je 0x100210f7
mov ecx, dword [esi]
jmp 0x100210f9
xor ecx, ecx
mov eax, dword [edi + 4]
lea edi, [esp + 0x10]
add eax, 4
push edi
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x28], bl
je 0x10021149
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10021149
mov eax, dword [esi]
cmp eax, ebx
je 0x10021130
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10021140
push eax
call fcn.1003c010
add esp, 4
push esi
call fcn.1003c010
add esp, 4
cmp edi, ebx
pop esi
jl 0x10021169
cmp word [esp + 0xc], 0x14
jne 0x10021169
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x30]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x10021190
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10070fdb
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov ecx, dword [ebp + 0x24]
push ebx
mov eax, dword [edi + 0xc]
push 4
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [edi + 0x10], ebx
je 0x100212d4
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x100212d4
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x30]
mov word [esp + 0x10], bx
push 0xc
mov dword [esp + 0x2c], ebx
call fcn.1003bfe0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov eax, 1
cmp esi, ebx
mov byte [esp + 0x28], al
je 0x10021232
push str.STARTPOS
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.1006e3e3
cmp eax, ebx
mov dword [esi], eax
jne 0x10021234
mov eax, str.STARTPOS
test eax, eax
je 0x10021234
push 0x8007000e
call fcn.1006e336
jmp 0x10021234
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x34], esi
jne 0x1002124a
push 0x8007000e
call fcn.1006e336
cmp esi, ebx
mov byte [esp + 0x28], 2
je 0x10021257
mov ecx, dword [esi]
jmp 0x10021259
xor ecx, ecx
mov eax, dword [edi + 4]
lea edi, [esp + 0x10]
add eax, 4
push edi
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x28], bl
je 0x100212a9
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100212a9
mov eax, dword [esi]
cmp eax, ebx
je 0x10021290
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100212a0
push eax
call fcn.1003c010
add esp, 4
push esi
call fcn.1003c010
add esp, 4
cmp edi, ebx
pop esi
jl 0x100212c9
cmp word [esp + 0xc], 0x14
jne 0x100212c9
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x100212f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007100b
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov ecx, dword [ebp + 0x20]
push ebx
mov eax, dword [edi + 0xc]
push 8
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [edi + 0x10], ebx
je 0x10021434
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x10021434
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x30]
mov word [esp + 0x10], bx
push 0xc
mov dword [esp + 0x2c], ebx
call fcn.1003bfe0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov eax, 1
cmp esi, ebx
mov byte [esp + 0x28], al
je 0x10021392
push str.STARTPOS
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.1006e3e3
cmp eax, ebx
mov dword [esi], eax
jne 0x10021394
mov eax, str.STARTPOS
test eax, eax
je 0x10021394
push 0x8007000e
call fcn.1006e336
jmp 0x10021394
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x34], esi
jne 0x100213aa
push 0x8007000e
call fcn.1006e336
cmp esi, ebx
mov byte [esp + 0x28], 2
je 0x100213b7
mov ecx, dword [esi]
jmp 0x100213b9
xor ecx, ecx
mov eax, dword [edi + 4]
lea edi, [esp + 0x10]
add eax, 4
push edi
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x28], bl
je 0x10021409
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10021409
mov eax, dword [esi]
cmp eax, ebx
je 0x100213f0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10021400
push eax
call fcn.1003c010
add esp, 4
push esi
call fcn.1003c010
add esp, 4
cmp edi, ebx
pop esi
jl 0x10021429
cmp word [esp + 0xc], 0x14
jne 0x10021429
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8