joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4df7d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x56a300]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4df7f7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x4df83f
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x20], ebx
jmp 0x4df843
mov ebp, dword [esp + 0x1c]
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4df8a3
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
dec ebx
jne 0x4df864
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4df8d7
jmp 0x4df8b0
mov eax, dword [esi + 4]
push 1
push 0x539f3e
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x539f3f
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4df8b0
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4e7da4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x50dfa7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56a910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004f0c8e
mov dword [ebp - 0x14], eax
cmp dword [0x5755bc], esi
jne 0x50e09a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x50e027
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x50e17a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x50e17a
push 0x544c78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x50e17a
push eax
call ebx
push 0x544c84
push edi
mov dword [0x5755bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5755c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5755c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5755cc], eax
test eax, eax
je 0x50e097
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5755c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x50e0bf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x50e0b2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x50e0d4
push 4
pop eax
jmp 0x50e17c
cmp dword [ebp - 0x14], esi
je 0x50e0d4
push dword [0x5755bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x50e0b9
mov eax, dword [0x5755c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x50e132
cmp dword [0x5755cc], edi
je 0x50e132
push eax
call ebx
push dword [0x5755cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x50e132
test eax, eax
je 0x50e132
call ecx
test eax, eax
je 0x50e127
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x50e127
test byte [ebp - 8], 1
jne 0x50e132
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x50e162
mov eax, dword [0x5755c0]
cmp eax, edi
je 0x50e15f
push eax
call ebx
test eax, eax
je 0x50e15f
call eax
mov esi, eax
test esi, esi
je 0x50e15f
mov eax, dword [0x5755c4]
cmp eax, edi
je 0x50e15f
push eax
call ebx
test eax, eax
je 0x50e15f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5755bc]
call ebx
test eax, eax
je 0x50e17a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x50e17c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1242
mov esp, ebp
pop ebp
ret
Function at 0x63ece2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf062dc10
jmp 0x63ed3c
pushfd
mov word [esp + 4], dx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
pushal
jmp 0x63ece4
jmp 0x63eccc
push word [esp + 0x1f]
jg 0x63ed53
lea esp, [esp + 0x13]
push word [esp + 9]
jmp 0x63ecff
mov word [esp + 0xe], bx
lea esp, [esp + 1]
mov dword [esp + 0x34], edi
jmp 0x63ed2c
mov word [esp + 0xe], bx
lea esp, [esp + 1]
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
jmp 0x63ed36
pushfd
jmp 0x63e701
xchg ch, cl
xchg ah, cl
lea ebp, [edi + ebp]
mov esi, dword [esp]
jmp 0x63ed87
lea esp, [esp + 0x13]
push word [esp + 9]
jmp 0x63ed1f
jmp 0x63edb3
jmp 0x63ed97
lea esp, [esp + 3]
sub esp, 0xa8
mov ebp, esp
jmp 0x63edc7
mov ebx, esi
rdtsc
jmp fcn.0063ee38
mov edi, dword [esp + 0x2c]
rdtsc
xchg si, dx
cmc
jo 0x63ed5e
mov ah, bh
jmp 0x63edb5
sub esp, 0x1b
mov ah, cl
cmc
jmp 0x63ed62
mov ah, bh
lea esi, [esp]
stc
js 0x63ed60
sub esp, 0x1b
mov ah, cl
cmc
lea esp, [esp + 3]
jmp 0x63ed66
adc ebx, eax
jno 0x63ed70
mov ebx, esi
rdtsc
jmp fcn.0063ee38

Function at 0x63edea
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 0xf], ax
mov dword [esp + 0x28], ecx
jmp 0x63ec10
mov dword [esp + 0xf], esp
mov word [esp + 0xf], ax
mov dword [esp + 0x28], ecx
call fcn.0063ec45
rol dword [esi - 0x2c], 1
mov bl, 0x4e
invalid
mov dword [esp + 0xf], ebx
push dword [esp + 0x1e]
jbe 0x63ec03
mov dword [esp + 0xf], esp
jmp 0x63ebed
mov dword [esp + 8], eax
pushal
mov dword [esp + 0x17], ebx
mov byte [esp + 0xa], ch
jmp 0x63ec1f
lea esp, [esp + 0x16]
mov dword [esp + 7], esi
pop word [esp + 6]
jmp 0x63ec8f
jmp 0x63ecbd
pushal
push dword [esp + 7]
jl 0x63ecfd
lea esp, [esp + 0x16]
mov dword [esp + 7], esi
pop word [esp + 6]
mov dword [esp + 8], eax
pushal
jmp 0x63ec94

Function at 0x64158b
Capabilities:
Execute anti-debugging instructions

Disassembly:
not dh
pushfd
jmp 0x641536
lea ebp, [esp + 4]
jmp 0x6414de
mov edi, dword [esp + 0x30]
mov ebp, 0xa2400fb6
bsf ax, sp
jg 0x6414f4
jle 0x6414f4
jmp 0x641563
sub esp, 0xb8
mov esi, esp
sub esp, 5
jbe 0x641520
lea ecx, [ecx*4]
lea esp, [esp + 1]
jmp fcn.0064156e
lea ecx, [ecx*4]
lea esp, [esp + 1]
mov byte [esp + 1], dh
jmp 0x64150f

Function at 0x64cb41
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x630f43
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x630f5d
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x630f4c
pop esi
jmp 0x630f68
ret 4
mov byte [esp + 1], ah
lea esp, [esp + 4]
jmp 0x630f36

Function at 0x66f7fa
Capabilities:
Encode data using base64

Disassembly:
sub esp, 5
push dword [esp + 3]
lea esp, [esp + 1]
jmp 0x66f853
lea esp, [esp + 0xc]
cmp dl, 0x3d
jne 0x66ef81
je 0x66f04e
Function at 0x4076c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4076d3
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 0x407780
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esi], eax
call fcn.004c6f53
add esp, 0x18
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x407710
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x407749
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407739
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 0x407759
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x40776e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop esi
pop ebp
ret 4

Function at 0x408660
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x550910]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x408683
mov eax, dword [edi]
jmp 0x408685
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x40868d
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.0040bb40
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004cff10
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 0x4086ec
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 0x408708
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x408710
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 0x408751
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x18
push str.utility::process::shell
call fcn.0040bb40
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6343
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004c6343
mov esp, ebp
pop ebp
ret
Function at 0x408870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500cce
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x550910]
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 0x4088ab
mov eax, dword [esi]
jmp 0x4088ad
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x4088b5
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.0040bb40
push edi
mov edx, 0x52d104
lea ecx, [ebp - 0x98]
call fcn.00408a40
push 0x52d104
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407ff0
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 8
jb 0x408912
push dword [ebp - 0x98]
call fcn.004b9830
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 0x408974
push esi
mov edx, 0x52d108
lea ecx, [ebp - 0xb0]
call fcn.00408a40
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004084b0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 8
jb 0x408974
push dword [ebp - 0xb0]
call fcn.004b9830
add esp, 4
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004cff10
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 0x408a05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xfd
push str.utility::process::create
call fcn.0040bb40
add esp, 0x10
xor esi, esi
jmp 0x408a11
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x14], 8
jb 0x408a22
push dword [ebp - 0x28]
call fcn.004b9830
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.004c6343
mov esp, ebp
pop ebp
ret

Function at 0x40b530
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x550910]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004cff10
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 0x40b58b
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.004c6343
mov esp, ebp
pop ebp
ret
Function at 0x40b6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x550910]
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.004cff10
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 0x40b6f2
mov eax, dword [esi]
jmp 0x40b6f4
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 0x40b72b
cmp dword [esi + 0x14], 8
jb 0x40b714
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.004c6343
mov esp, ebp
pop ebp
ret

Function at 0x40dc90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x550910]
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 0x40dcea
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.004c6343
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 0x52c9f8
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.004067b0
call fcn.00442260
mov dword [0x559990], 0x4445f0
call fcn.0040bcd0
push 0x52e8a4
push str.downloader_start._version_is_:__s_
push 0xad
push str.wWinMain
call fcn.0040bb40
add esp, 0x40
push str.commoninit_end
push 0xaf
push str.wWinMain
call fcn.0040bb40
add esp, 8
mov ecx, esi
call fcn.0040dab0
add esp, 4
push str.duilibInit2_end
push 0xb2
push str.wWinMain
call fcn.0040bb40
add esp, 0xc
call fcn.0040db60
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.0040ee10
test al, al
je 0x40ddcf
call fcn.00483940
call fcn.0040f130
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004c6343
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ed00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x559998], 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 0x414e60
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.004c6492
mov edi, eax
add esp, 4
test edi, edi
je 0x414ea1
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
mov dword [edi], vtable.MemberFuncRunable_class_DMainFrame_.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x4153e0
mov dword [edi + 0xc], 0
jmp 0x414ea3
xor edi, edi
cmp dword [esi + 4], 0
jne 0x414ed9
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 0x407780
push 0
push 0
mov dword [esi + 8], eax
mov dword [esi], edi
call fcn.004c6f53
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret

Function at 0x416980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50249b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x550910]
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 [0x55a4fc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
test esi, esi
jne 0x4169ed
push 0x38
call fcn.004c6492
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4169de
mov ecx, eax
call fcn.0040c9f0
mov esi, eax
jmp 0x4169e0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x55a4fc], esi
push 2
push 0x52d408
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405ad0
test eax, eax
jne 0x416a0a
mov eax, 0x82
jmp 0x416a27
push 2
push 0x52d9d0
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405ad0
neg eax
sbb eax, eax
neg eax
add eax, 0x83
movzx eax, ax
push 0x52ffa4
push eax
call fcn.004806d0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x416a61
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x52c9f8
mov word [edi], ax
call fcn.004067b0
jmp 0x416ae4
push ebx
call fcn.004806d0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x416a8a
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x52c9f8
mov ecx, edi
call fcn.004068b0
jmp 0x416ae4
call fcn.004806d0
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.004067b0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00406740
cmp dword [ebp - 0x18], 8
jb 0x416ae4
push dword [ebp - 0x2c]
call fcn.004b9830
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.004c6343
mov esp, ebp
pop ebp
ret 4

Function at 0x418b80
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.00411200
Function at 0x41ae00
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.004067b0
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 0x41ae5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41ae5f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x41ae70
push dword [ebp - 0x18]
call fcn.004b9830
add esp, 4
test esi, esi
jne 0x41aeee
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.004067b0
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 0x41aebb
push dword [ebp - 0x18]
call fcn.004b9830
add esp, 4
test esi, esi
je 0x41aecf
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.0040bb40
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.0040bb40
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41af20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x550910]
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.004cff10
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x41af73
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 0x41afce
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 0x41afee
xor ecx, ecx
jmp 0x41b006
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aff7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004067b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004c6343
mov esp, ebp
pop ebp
ret