joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100168fa
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10040b84]
test eax, eax
jne 0x1001696b
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, dword [ebp + 8]
cmp ebx, eax
jne 0x10016918
xor eax, eax
jmp 0x1001696a
push esi
push edi
push 8
pop esi
push esi
call fcn.10016ef1
mov edi, eax
pop ecx
test edi, edi
je 0x10016945
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10016956
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call fcn.100177de
pop ecx
and dword [0x10040b88], 0
mov eax, esi
mov dword [0x10040b84], esi
jmp 0x10016968
mov eax, dword [0x10040b8c]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [0x10040b8c], edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x407240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x407253
xor al, al
pop esi
pop ebp
ret 4
push 0
push 0
push 0
push 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x407300
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esi], eax
call fcn.004d3553
add esp, 0x18
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x407290
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4072c9
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4072b9
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x4072d9
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4072ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop esi
pop ebp
ret 4

Function at 0x407670
Capabilities:
Move file

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x407680
mov eax, dword [edi]
jmp 0x407682
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x40768a
mov ecx, dword [esi]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40769d
pop edi
mov al, 1
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x14], 8
jb 0x4076ab
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4076b3
mov esi, dword [esi]
push eax
push 3
push edi
push esi
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xbe
push str.utility::ufile::moveFile
call fcn.0040b730
add esp, 0x1c
xor al, al
pop edi
pop esi
ret
Function at 0x408250
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x408273
mov eax, dword [edi]
jmp 0x408275
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x40827d
mov ecx, dword [esi]
push 0
push 1
push eax
push ecx
push str.shell_filename____s___param____s___runas___d__show___d
push 0xb
push str.utility::process::shell
call fcn.0040b730
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004dbb40
add esp, 0x28
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4082dc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov eax, str.runas
mov ecx, str.open
cmovb eax, ecx
cmp dword [edi + 0x14], 8
jb 0x4082f8
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x408300
mov esi, dword [esi]
push 0
push 0
push edi
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
cmp eax, 0x20
jg 0x408341
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x18
push str.utility::process::shell
call fcn.0040b730
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret
Function at 0x408460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e09e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x40849b
mov eax, dword [esi]
jmp 0x40849d
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x4084a5
mov ecx, dword [edi]
push 0
push eax
push ecx
push str.createProcess_filename____s___param____s___show___d
push 0xea
push str.utility::process::create
call fcn.0040b730
push edi
mov edx, 0x53b59c
lea ecx, [ebp - 0x98]
call fcn.00408630
push 0x53b59c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407f80
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 8
jb 0x408502
push dword [ebp - 0x98]
call fcn.004c5e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
cmp dword [esi + 0x10], eax
je 0x408564
push esi
mov edx, 0x53b5a0
lea ecx, [ebp - 0xb0]
call fcn.00408630
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004080a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 8
jb 0x408564
push dword [ebp - 0xb0]
call fcn.004c5e80
add esp, 4
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004dbb40
add esp, 0xc
mov dword [ebp - 0x80], 0x44
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x50], eax
push ecx
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x54], 1
movdqu xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4085f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xfd
push str.utility::process::create
call fcn.0040b730
add esp, 0x10
xor esi, esi
jmp 0x408601
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x14], 8
jb 0x408612
push dword [ebp - 0x28]
call fcn.004c5e80
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret

Function at 0x40b120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004dbb40
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40b17b
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
setae al
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret
Function at 0x40b2a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x38
lea eax, [ebp - 0x3c]
mov esi, ecx
push 0
push eax
call fcn.004dbb40
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x34], str.open
jb 0x40b2e2
mov eax, dword [esi]
jmp 0x40b2e4
mov eax, esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40b31b
cmp dword [esi + 0x14], 8
jb 0x40b304
mov esi, dword [esi]
push 5
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d2943
mov esp, ebp
pop ebp
ret

Function at 0x40d810
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x55c4e0]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x40d86a
push 0
push str.CoInitialize_error
push str.Error
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.004d2943
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 0x18
xor ecx, ecx
mov eax, esp
sub esp, 0x18
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov ecx, esp
xor eax, eax
push eax
push 0x53ae8c
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00406340
call fcn.0043f0b0
mov dword [0x5657b0], 0x441440
call fcn.0040b8c0
push 0x53cce4
push str.downloader_start._version_is_:__s_
push 0xad
push str.wWinMain
call fcn.0040b730
add esp, 0x40
push str.commoninit_end
push 0xaf
push str.wWinMain
call fcn.0040b730
add esp, 8
mov ecx, esi
call fcn.0040d630
add esp, 4
push str.duilibInit2_end
push 0xb2
push str.wWinMain
call fcn.0040b730
add esp, 0xc
call fcn.0040d6e0
xorps xmm0, xmm0
lea ecx, [esp + 0x10]
push edi
movdqa xmmword [esp + 0x14], xmm0
push esi
mov dword [esp + 0x18], vtable.DownloaderImpl.0
mov dword [esp + 0x20], 0
call fcn.0040e820
test al, al
je 0x40d94f
call fcn.00490010
cmp dword [0x5657bc], 0
jne 0x40d98b
push 0x4e0
call fcn.004d2a92
mov esi, eax
add esp, 4
test esi, esi
je 0x40d984
push 0x4e0
push 0
push esi
call fcn.004dbb40
add esp, 0xc
mov ecx, esi
call fcn.00418ff0
jmp 0x40d986
xor eax, eax
mov dword [0x5657bc], eax
call fcn.00419470
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004d2943
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e710
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x5657b8], 0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x414530
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push 0x10
lea esi, [ebx + 0x550]
mov dword [ebx + 0x5b8], esi
call fcn.004d2a92
mov edi, eax
add esp, 4
test edi, edi
je 0x414571
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
mov dword [edi], vtable.MemberFuncRunable_class_DMainFrame_.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x414ab0
mov dword [edi + 0xc], 0
jmp 0x414573
xor edi, edi
cmp dword [esi + 4], 0
jne 0x4145a9
push 0
push 0
push 0
push 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x407300
push 0
push 0
mov dword [esi + 8], eax
mov dword [esi], edi
call fcn.004d3553
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret

Function at 0x416830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x5660bc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
test esi, esi
jne 0x41689d
push 0x38
call fcn.004d2a92
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x41688e
mov ecx, eax
call fcn.0040c5e0
mov esi, eax
jmp 0x416890
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x5660bc], esi
push 2
push 0x53b894
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405660
test eax, eax
jne 0x4168ba
mov eax, 0x82
jmp 0x4168d7
push 2
push 0x53be60
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405660
neg eax
sbb eax, eax
neg eax
add eax, 0x83
movzx eax, ax
push 0x53e3f0
push eax
call fcn.0048cda0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x416911
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x53ae8c
mov word [edi], ax
call fcn.00406340
jmp 0x416994
push ebx
call fcn.0048cda0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x41693a
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x53ae8c
mov ecx, edi
call fcn.00406440
jmp 0x416994
call fcn.0048cda0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
shr esi, 1
push esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00406340
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004062d0
cmp dword [ebp - 0x18], 8
jb 0x416994
push dword [ebp - 0x2c]
call fcn.004c5e80
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret 4

Function at 0x418dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov dword [ebp + 8], eax
add ecx, 4
pop ebp
jmp fcn.00410880
Function at 0x41adb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x5657bc]
push edi
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x41addc
mov ecx, dword [0x5657b4]
push eax
call fcn.0040bb40
mov dword [esi + 0x34c], 0
mov eax, dword [esi + 0x350]
test eax, eax
je 0x41adfc
mov ecx, dword [0x5657b4]
push eax
call fcn.0040bb40
mov dword [esi + 0x350], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [esi + 0x26c]
call edi
mov eax, dword [esi + 0x9c]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x41ae4a
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ae38
push 0xffffffffffffffff
push dword [esi + 0x9c]
call ebx
push dword [esi + 0x9c]
call edi
mov dword [esi + 0x9c], 0
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x41ae62
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x41ae79
push eax
call edi
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 0x110]
test eax, eax
je 0x41aeb2
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41aea0
push 0xffffffffffffffff
push dword [esi + 0x110]
call ebx
push dword [esi + 0x110]
call edi
mov dword [esi + 0x110], 0
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x41aeca
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0x114]
test eax, eax
je 0x41aee1
push eax
call edi
mov dword [esi + 0x114], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x41af17
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41af05
push 0xffffffffffffffff
push dword [esi + 0x120]
call ebx
push dword [esi + 0x120]
call edi
mov dword [esi + 0x120], 0
mov ecx, dword [esi + 0x11c]
test ecx, ecx
je 0x41af2f
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x11c], 0
mov eax, dword [esi + 0x124]
test eax, eax
je 0x41af46
push eax
call edi
mov dword [esi + 0x124], 0
mov eax, dword [esi + 0x130]
test eax, eax
je 0x41af7f
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41af6d
push 0xffffffffffffffff
push dword [esi + 0x130]
call ebx
push dword [esi + 0x130]
call edi
mov dword [esi + 0x130], 0
mov ecx, dword [esi + 0x12c]
pop ebx
test ecx, ecx
je 0x41af98
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x12c], 0
mov eax, dword [esi + 0x134]
test eax, eax
je 0x41afaf
push eax
call edi
mov dword [esi + 0x134], 0
lea ecx, [esi + 0x13c]
call fcn.0042bdf0
lea ecx, [esi + 0x1a0]
call fcn.0042bdf0
lea ecx, [esi + 0x204]
call fcn.0042bdf0
mov ecx, dword [0x5657b4]
lea eax, [esi + 0x268]
push eax
mov byte [esi + 0x400], 1
call fcn.0040ba50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41aff0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0x26
mov edi, ecx
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
push str.0A3E7733_8B36_47AC_A87E_A23A7DD0404C
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
call fcn.00406340
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x41b04f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41b04f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x41b060
push dword [ebp - 0x18]
call fcn.004c5e80
add esp, 4
test esi, esi
jne 0x41b0de
push 0x26
xor eax, eax
mov dword [ebp - 4], 7
push str.0A3E7733_8B36_47AC_A87E_A23A7DD0404C
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], esi
mov word [ebp - 0x18], ax
call fcn.00406340
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push esi
cmovae eax, dword [ebp - 0x18]
push eax
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp dword [ebp - 4], 8
mov esi, eax
jb 0x41b0ab
push dword [ebp - 0x18]
call fcn.004c5e80
add esp, 4
test esi, esi
je 0x41b0bf
push 0
push 0
push 0x2b73
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push str.wnd_exist
push 0xf0
push str.DownloaderModel::popupExistPwnd
call fcn.0040b730
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.wnd_not_exist
push 0xf4
push str.DownloaderModel::popupExistPwnd
mov dword [edi + 0x26c], esi
call fcn.0040b730
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004dbb40
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x41b163
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41b1be
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x41b1de
xor ecx, ecx
jmp 0x41b1f6
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b1e7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00406340
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d2943
mov esp, ebp
pop ebp
ret
Function at 0x41b640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51025e
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
mov dword [ebp - 0x824], 0
call fcn.004dbb40
mov eax, dword [0x5660bc]
add esp, 0xc
mov dword [ebp - 0x820], 0
test eax, eax
jne 0x41b6dd
push 0x38
call fcn.004d2a92
add esp, 4
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41b6cf
mov ecx, eax
call fcn.0040c5e0
jmp 0x41b6d1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5660bc], eax
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, eax
call fcn.0040cef0
cmp dword [eax + 0x14], 8
jb 0x41b6f3
mov eax, dword [eax]
lea ecx, [ebp - 0x820]
push ecx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0x828], 8
mov edi, eax
jb 0x41b71f
push dword [ebp - 0x83c]
call fcn.004c5e80
add esp, 4
test edi, edi
jne 0x41b766
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x800
push eax
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], edi
push eax
lea eax, [ebp - 0x818]
push eax
push edi
push str.Version
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x814], ax
jne 0x41b786
xor ecx, ecx
jmp 0x41b79f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b790
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.00406340
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret 4

Function at 0x41b850
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push 0xc
lea edi, [ebx + 0x98]
mov dword [ebx + 0x100], edi
call fcn.004d2a92
mov esi, eax
add esp, 4
test esi, esi
je 0x41b891
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], vtable.MemberFuncRunable_class_DownloaderModel_.0
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x41b8d0
jmp 0x41b893
xor esi, esi
cmp dword [edi + 4], 0
jne 0x41b8c9
push 0
push 0
push 0
push 0
mov byte [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x407300
push 0
push 0
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.004d3553
add esp, 0x18
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x41e720
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x256
push eax
mov word [ebp - 0x25c], ax
mov esi, edx
lea eax, [ebp - 0x25a]
mov edi, ecx
push eax
call fcn.004dbb40
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41e7b0
lea eax, [ebp - 0x260]
push eax
push 4
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x41e7a9
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x25c], ax
jne 0x41e7d0
xor ecx, ecx
jmp 0x41e7ef
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e7e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.00406340
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d2943
mov esp, ebp
pop ebp
ret