joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f16b
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0x2b0
mov eax, 0x43a7d9
call fcn.00422e53
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2b8]
xor esi, esi
push str.0.0.0.0
mov dword [ebp - 0x2bc], esi
call fcn.0041110a
lea eax, [ebp - 0x2a4]
mov dword [ebp - 4], esi
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x100
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
je 0x40f26c
movsx eax, word [ecx + 0xa]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041d660
push 0x11
call fcn.00419567
add esp, 0x10
mov ebx, eax
push dword [ebp - 0x2b0]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x11
push ebx
call fcn.00420956
add esp, 0xc
test ebx, ebx
je 0x40f217
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov ecx, dword [ebp - 0x2b8]
cmp dword [ecx - 0xc], 1
jg 0x40f228
cmp esi, dword [ecx - 4]
jle 0x40f249
lea ecx, [ebp - 0x2b8]
call fcn.00409ba5
push esi
lea ecx, [ebp - 0x2b8]
call fcn.00409bd7
test eax, eax
je 0x40f25f
mov ecx, dword [ebp - 0x2b8]
lea eax, [esi + 1]
mov edx, ebx
push eax
call fcn.004110d7
lea ecx, [ebp - 0x2b8]
call fcn.00411235
call dword [sym.imp.WS2_32.dll_WSACleanup]
push ebx
call fcn.0041eeae
pop ecx
lea eax, [ebp - 0x2b8]
mov ecx, edi
push eax
call fcn.0041105a
lea ecx, [ebp - 0x2b8]
call fcn.0041115a
mov eax, edi
call fcn.00422e02
ret 4

Function at 0x40f9dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x40fa29
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x40fa54
shr ecx, 2
test cl, 1
je 0x40fa5c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40fa8b
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x40fa8b
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411860
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
lea ebx, [ecx - 0x20]
push edi
test ecx, ecx
jne 0x411874
mov ebx, esi
xor edi, edi
inc edi
cmp dword [ebp + 0x14], esi
je 0x411928
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp + 0x14], eax
call fcn.004111a4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
test eax, eax
je 0x4118eb
mov eax, dword [ecx]
mov dword [eax - 8], edx
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + edx*2], cx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
test eax, eax
je 0x4118eb
lea eax, [edx + 1]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.00411235
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
cmp dword [ebp - 4], edx
jge 0x4118f4
mov edi, esi
jmp 0x41193f
mov eax, dword [ecx]
cmp dword [eax - 8], 0x1000
jle 0x411962
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x20
lea eax, [ebx - 0x20]
jne 0x411911
mov eax, esi
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edi, esi
jmp 0x411962
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, eax
test edi, edi
jne 0x411962
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x20
je 0x41194f
lea esi, [ebx - 0x20]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x411baa
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push 0xc
mov eax, 0x43a921
call fcn.00422e20
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
push 3
pop ebx
push esi
mov eax, 0x442998
mov dword [ebp - 4], ebx
push eax
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x65a94], eax
test eax, eax
jne 0x411bf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x65aa0], eax
jmp 0x411d6a
push esi
push 0x4400000
push ebx
push dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x65a98], eax
test eax, eax
jne 0x411c32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x65a94]
mov dword [edi + 0x65aa0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411d6a
movzx eax, bx
push esi
mov dword [edi + 0x65aa8], eax
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x411c6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x65a98]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x65aa0], eax
call esi
push dword [edi + 0x65a94]
call esi
xor esi, esi
jmp 0x411d6a
push dword [ebp + 8]
mov ebx, 0x400
lea eax, [edi + 0x63a90]
push ebx
push eax
call fcn.0042073a
push dword [ebp + 0xc]
lea eax, [edi + 0x64290]
push ebx
push eax
call fcn.0042073a
xor esi, esi
add esp, 0x18
inc esi
cmp dword [ebp + 0x14], 0
je 0x411cb0
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041105a
mov ebx, esi
jmp 0x411cc0
push 0x442998
lea ecx, [ebp - 0x14]
call fcn.0041131c
push 2
pop ebx
push dword [eax]
lea eax, [edi + 0x64a90]
mov dword [ebp - 0x10], ebx
push 0x400
push eax
call fcn.0042073a
add esp, 0xc
test bl, 2
je 0x411cec
and ebx, 0xfffffffd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.0041115a
mov dword [ebp - 4], 3
test bl, 1
je 0x411d06
and ebx, 0xfffffffe
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.0041115a
cmp dword [ebp + 0x18], 0
je 0x411d1d
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041105a
or ebx, 4
jmp 0x411d2d
push 0x442998
lea ecx, [ebp - 0x18]
call fcn.0041131c
or ebx, 8
push dword [eax]
lea eax, [edi + 0x65290]
push 0x400
push eax
call fcn.0042073a
add esp, 0xc
test bl, 8
je 0x411d53
lea ecx, [ebp - 0x18]
and ebx, 0xfffffff7
call fcn.0041115a
test bl, 4
je 0x411d60
lea ecx, [ebp - 0x14]
call fcn.0041115a
mov eax, dword [ebp + 0x10]
mov word [edi + 0x65a90], ax
lea ecx, [ebp + 8]
call fcn.0041115a
lea ecx, [ebp + 0xc]
call fcn.0041115a
lea ecx, [ebp + 0x14]
call fcn.0041115a
lea ecx, [ebp + 0x18]
call fcn.0041115a
mov eax, esi
call fcn.00422dee
ret 0x14
Function at 0x41220d
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x44b4b8]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x81c], 0
lea eax, [ebp - 0x810]
and dword [ebp - 0x810], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push ecx
push eax
mov dword [ebp - 0x820], 0x443a7c
call fcn.00412988
cmp dword [ebx + 0x65aa8], 0x1bb
mov edi, eax
push 0
mov eax, 0x4c00040
mov dword [ebp - 0x814], edi
mov ecx, 0x4400040
cmove ecx, eax
lea eax, [ebp - 0x820]
push ecx
push eax
push 0x442998
push str.HTTP_1.0
push esi
push str.POST
push dword [ebx + 0x65a98]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0x65a9c], eax
test eax, eax
jne 0x4122af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x65aa0], eax
xor eax, eax
jmp 0x412402
push 0x80000000
mov esi, str.Accept:___r_n
push esi
call fcn.0041e578
pop ecx
push eax
push esi
push dword [ebx + 0x65a9c]
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
call esi
test eax, eax
je 0x41229c
push 0x10000000
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
call fcn.0041e578
pop ecx
push eax
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push dword [ebx + 0x65a9c]
call esi
test eax, eax
je 0x41229c
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x80a]
push eax
call fcn.0041e790
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0041e790
push edi
push str.Content_Length:__d_r_n
lea eax, [ebp - 0x80c]
push 0x400
push eax
call fcn.0041f0d0
add esp, 0x28
lea eax, [ebp - 0x80c]
push 0x10000000
push eax
call fcn.0041e578
pop ecx
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebx + 0x65a9c]
call esi
test eax, eax
je 0x41229c
push 9
pop ecx
xor esi, esi
lea edi, [ebp - 0x844]
push esi
xor eax, eax
push 8
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x848]
mov dword [ebp - 0x848], 0x28
push eax
push dword [ebx + 0x65a9c]
mov dword [ebp - 0x844], esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x41229c
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], esi
push eax
push dword [ebp - 0x814]
push dword [ebp - 0x810]
push dword [ebx + 0x65a9c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41229c
push esi
push 8
push esi
push dword [ebx + 0x65a9c]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x4123f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x65aa0], eax
push dword [ebp - 0x810]
call fcn.0041eafb
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d4e3
mov esp, ebp
pop ebp
ret 4
Function at 0x412415
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c0c
call fcn.00434fb0
mov eax, dword [0x44b4b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, 0x4400040
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c0c], 0x443a7c
xor ebx, ebx
mov ecx, 0x4c00040
push ebx
mov dword [ebp - 0x1c08], ebx
cmp dword [esi + 0x65aa8], 0x1bb
cmove eax, ecx
push eax
lea eax, [ebp - 0x1c0c]
push eax
push 0x442998
push str.HTTP_1.0
push edx
push str.POST
push dword [esi + 0x65a98]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x65a9c], eax
test eax, eax
jne 0x41249e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x65aa0], eax
xor eax, eax
jmp 0x412638
push edi
push 0x80000000
mov edi, str.Accept:___r_n
push edi
call fcn.0041e578
pop ecx
push eax
push edi
push dword [esi + 0x65a9c]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x412624
xor eax, eax
mov edi, 0x7fe
push edi
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push ebx
push eax
call fcn.0041e790
xor eax, eax
push edi
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push ebx
push eax
call fcn.0041e790
push 0xbff
lea eax, [ebp - 0x1c03]
mov byte [ebp - 0x1c04], bl
push ebx
push eax
call fcn.0041e790
add esp, 0x20
lea eax, [ebp - 0x1004]
mov ecx, esi
push eax
call fcn.00412954
push str.__xml_version1.0_encodingutf_8__
mov edi, 0x400
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0042073a
push str._soap:Envelope_xmlns:si_http:__www.w3.org_2001_XMLSchema_instance_
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00420796
push str._xmlns:xsd_http:__www.w3.org_2001_XMLSchema_
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00420796
push str._xmlns:soap_http:__schemas.xmlsoap.org_soap_envelope___
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00420796
push str._soap:Body_
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00420796
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00420796
add esp, 0x48
lea eax, [ebp - 0x804]
push str.__soap:Body_
push edi
push eax
call fcn.00420796
push str.__soap:Envelope_
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00420796
add esp, 0x18
lea eax, [ebp - 0x804]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xfde9
call ebx
mov edi, eax
cmp edi, 1
jle 0x4125fe
xor ecx, ecx
lea eax, [ebp - 0x1c04]
push ecx
push ecx
push edi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push ecx
push 0xfde9
call ebx
mov ebx, str.Content_Type:_text_xml_r_n
push ebx
call fcn.0041e578
pop ecx
push edi
lea ecx, [ebp - 0x1c04]
push ecx
push eax
push ebx
push dword [esi + 0x65a9c]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x412634
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x65aa0], eax
xor eax, eax
jmp 0x412637
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d4e3
mov esp, ebp
pop ebp
ret 4
Function at 0x41264a
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x65a9c], 0
jne 0x412669
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x65aa0], eax
xor eax, eax
jmp 0x41269c
push edi
mov edi, 0x400
push edi
push 0
push dword [ebp + 8]
call fcn.0041e790
add esp, 0xc
push 0x44ecb0
push edi
push dword [ebp + 8]
push dword [esi + 0x65a9c]
call dword [sym.imp.WININET.dll_InternetReadFile]
pop edi
test eax, eax
je 0x412659
mov eax, dword [0x44ecb0]
pop esi
pop ebp
ret 8
Function at 0x412c23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 4], 0x400
call fcn.0041e578
mov esi, eax
pop ecx
test esi, esi
je 0x412c5e
lea edi, [ebx + esi*2]
push 1
push 0x441f28
push edi
call fcn.00420c9f
add esp, 0xc
test eax, eax
je 0x412c5e
sub edi, 2
dec esi
jne 0x412c44
lea eax, [ebp + 8]
push eax
push 1
push 0
lea eax, [ebx + esi*2]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412cbf
lea eax, [ebp - 4]
mov edi, 0x44e4b0
push eax
push edi
push 0
push 0
push str.Content_Type
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412cb4
mov esi, str.application_octet_stream
push esi
call fcn.0041e578
push eax
push esi
push 0x400
push edi
call fcn.0041e9ab
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412cdf
mov esi, str.application_octet_stream
push esi
call fcn.0041e578
push eax
push esi
push 0x400
mov edi, 0x44e4b0
push edi
call fcn.0041e9ab
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413d5f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ab3b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44b4b8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x44b4b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 4]
push ecx
mov ecx, edi
call fcn.004119a9
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f4
push dword [edi]
call esi
push 0x3f3
push dword [edi]
mov dword [ebx + 0x20], eax
call esi
lea edi, [ebx + 0x24]
mov dword [edi], eax
mov ecx, dword [0x44c5d0]
mov dword [esp + 0x14], ecx
and dword [esp + 0x38], 0
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xbc3
lea ecx, [esp + 0x18]
call fcn.00411256
mov eax, dword [esp + 0x20]
sub esp, 0xc
sub eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push 0x28
push eax
call esi
push eax
push ecx
push dword [esp + 0x28]
mov ecx, edi
push 0
call fcn.00413eec
push 0xbc4
lea ecx, [esp + 0x18]
call fcn.00411256
mov eax, dword [esp + 0x20]
sub esp, 0xc
sub eax, dword [esp + 0x24]
push 0x64
push 0x3b
push eax
call esi
push eax
push ecx
push dword [esp + 0x28]
mov ecx, edi
push 1
call fcn.00413eec
mov ecx, ebx
call fcn.00413a14
lea ecx, [esp + 0x14]
call fcn.0041115a
xor eax, eax
inc eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041d4e3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x414259
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x43ab6b
call fcn.00422e20
mov edi, ecx
cmp byte [ebp + 0xc], 0
jne 0x414271
mov byte [edi + 0x54], 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x414339
mov eax, dword [0x44c5d0]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
push 0xbb8
call fcn.00411256
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4142c0
cmp byte [edi + 0x54], al
je 0x4142b3
push dword [ebp + 0xc]
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x414331
cmp eax, 1
jne 0x4142eb
cmp byte [edi + 0x54], 0
je 0x4142d7
push dword [ebp + 0xc]
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x24]
call esi
push 5
push dword [edi + 0x28]
jmp 0x41432f
cmp eax, 2
jne 0x414331
cmp byte [edi + 0x54], 0
je 0x414302
push dword [ebp + 0xc]
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x24]
call esi
push 5
push dword [edi + 0x28]
call esi
push 5
push dword [edi + 0x2c]
call esi
cmp byte [edi + 0x54], 0
jne 0x414331
push 5
push dword [edi + 0x30]
call esi
push 0
push dword [edi + 0x20]
call esi
lea ecx, [ebp + 0xc]
call fcn.0041115a
call fcn.00422dee
ret 8
Function at 0x4146be
Capabilities:
Get common file path

Disassembly:
push 0x430
mov eax, 0x43abe5
call fcn.00422e53
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test esi, esi
je 0x414778
lea eax, [ebp - 0x21c]
push eax
call fcn.0041e578
pop ecx
movzx eax, word [ebp + eax*2 - 0x21e]
cmp eax, 0x5c
je 0x41472f
cmp eax, 0x2f
je 0x41472f
push 0x444364
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00420796
add esp, 0xc
push esi
mov esi, 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00420796
push 0x441f28
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00420796
push ebx
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00420796
add esp, 0x24
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.00409cae
jmp 0x414829
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
push dword [ebp - 0x43c]
lea ecx, [ebp - 0x438]
call fcn.0041131c
and dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea ecx, [ebp - 0x438]
call fcn.0041443a
push 0x441f28
lea ecx, [ebp - 0x438]
call fcn.00410c94
push ebx
lea ecx, [ebp - 0x438]
call fcn.00410c94
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call fcn.0042073a
add esp, 0xc
lea eax, [ebp - 0x424]
push dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x424]
mov ecx, edi
push eax
call fcn.00409cae
lea ecx, [ebp - 0x438]
call fcn.0041115a
xor eax, eax
inc eax
call fcn.00422e02
ret

Function at 0x414832
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x58
mov edi, edx
call fcn.0041dca4
xor ebx, ebx
pop ecx
test eax, eax
je 0x414856
mov ecx, eax
call fcn.0041402c
mov esi, eax
jmp 0x414858
mov esi, ebx
lea ecx, [ebp - 0x18]
call fcn.0041401f
mov cl, byte [edi + 0x46]
mov edx, 0x8000000
mov dword [ebp - 0x18], esi
test cl, cl
mov eax, dword [esi + 0x50]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
pop eax
cmovne eax, edx
mov dword [ebp - 0x14], fcn.0040d5f9
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edi
push eax
push 0x414341
push ebx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x4148c6
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, esi
call fcn.00414f00
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4148cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
xor esi, esi
call fcn.004137d8
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push 0x20019
push esi
push str.SoftwareBugSplat
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x41499e
test edi, edi
je 0x414936
push edi
call fcn.0041e578
pop ecx
test eax, eax
je 0x414936
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
jmp 0x41493c
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x41499e
mov edi, 0x1388
mov dword [ebp - 0x10], 1
push edi
call fcn.00419567
pop ecx
mov ebx, eax
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41497e
mov ecx, dword [ebp + 8]
push ebx
call fcn.00409cae
xor esi, esi
inc esi
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], eax
je 0x414994
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 8]
push eax
call edi
push ebx
call fcn.0041eeae
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4149a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], edx
mov dword [eax], esi
mov edi, ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push 0x20019
push esi
push str.SoftwareBugSplat
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x414a58
test edi, edi
je 0x414a0c
push edi
call fcn.0041e578
pop ecx
test eax, eax
je 0x414a0c
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov eax, dword [ebp - 4]
jmp 0x414a12
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x414a58
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], esi
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414a3f
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp - 0xc]
inc esi
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], eax
je 0x414a55
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 8]
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret