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

Disassembly:
push 0x2ac
mov eax, 0x432c65
call fcn.0041d526
and dword [ebp - 0x2b4], 0
mov ebx, ecx
push 0x439944
lea edi, [ebp - 0x2b4]
mov dword [ebp - 0x2b8], ebx
call fcn.0040ffb9
and dword [ebp - 4], 0
lea eax, [ebp - 0x2a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x40e205
mov ecx, edi
mov esi, ebx
call fcn.0040ff1d
mov esi, edi
call fcn.00410004
mov eax, ebx
jmp 0x40e272
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x2ac]
push eax
call fcn.00419780
push 0x11
call fcn.004182d5
add esp, 0x10
push dword [ebp - 0x2ac]
mov esi, eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x11
push esi
call fcn.0041be94
add esp, 0xc
push esi
lea ebx, [ebp - 0x2b4]
call fcn.0040f836
call dword [sym.imp.WS2_32.dll_WSACleanup]
push esi
call fcn.0041a842
mov esi, dword [ebp - 0x2b8]
pop ecx
mov ecx, ebx
call fcn.0040ff1d
mov esi, ebx
call fcn.00410004
mov eax, dword [ebp - 0x2b8]
call fcn.0041d5a9
ret

Function at 0x40e92b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x40e975
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x40e99c
shr eax, 2
test al, 1
je 0x40e9a5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40e9d8
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x40e9d7
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret
Function at 0x40f174
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f1d8
cmp dword [ebp + 0xc], 1
je 0x40f1b0
cmp dword [ebp + 0xc], 2
je 0x40f1b0
push 0xd
pop eax
jmp 0x40f1d8
mov eax, dword [ebp - 4]
test edi, edi
je 0x40f1d2
test eax, eax
je 0x40f1cd
test al, 1
jne 0x40f1ab
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40f1d2
jmp 0x40f1ab
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x4106d5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
test eax, eax
je 0x4106ec
lea edi, [eax - 0x20]
mov dword [ebp - 4], edi
jmp 0x4106f3
and dword [ebp - 4], 0
mov edi, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 8], 1
je 0x410760
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
or dword [ebp + 0xc], 0xffffffff
mov ebx, eax
mov ecx, ebx
mov edi, esi
call fcn.00410052
test eax, eax
je 0x410752
mov eax, dword [esi]
mov dword [eax - 8], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + ebx*2], cx
mov eax, dword [esi]
test eax, eax
je 0x410752
lea ecx, [ebx + 1]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp + 0xc], eax
call fcn.004100ce
cmp dword [ebp + 0xc], ebx
jge 0x4107a0
and dword [ebp - 8], 0
mov edi, dword [ebp - 4]
jmp 0x410775
push dword [esi]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4107d9
push 0xffffffffffffffff
lea esi, [edi + 0x20]
call dword [sym.imp.USER32.dll_MessageBeep]
test esi, esi
je 0x410789
lea eax, [esi - 0x20]
jmp 0x41078b
xor eax, eax
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4107d9
mov eax, dword [esi]
cmp dword [eax - 8], 0x1000
jle 0x4107d9
mov esi, dword [ebp - 4]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x20
je 0x4107c0
lea eax, [esi - 0x20]
jmp 0x4107c2
xor eax, eax
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
and dword [ebp - 8], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4109f0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push 0xc
mov eax, 0x43341c
call fcn.0041d4bd
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push ebx
mov esi, 0x439890
push esi
push esi
push ebx
mov dword [ebp - 4], 3
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x65a98], eax
cmp eax, ebx
jne 0x410a5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x65aa4], eax
lea esi, [ebp + 8]
call fcn.00410004
lea esi, [ebp + 0xc]
call fcn.00410004
lea esi, [ebp + 0x14]
call fcn.00410004
lea esi, [ebp + 0x18]
call fcn.00410004
xor eax, eax
call fcn.0041d595
ret 0x14
push ebx
push 0x4400000
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x65a9c], eax
cmp eax, ebx
jne 0x410a99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x65a98]
mov dword [edi + 0x65aa4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410a30
movzx eax, word [ebp + 0x10]
push ebx
mov dword [edi + 0x65aac], eax
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x410af7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x65a9c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x65aa4], eax
call esi
push dword [edi + 0x65a98]
call esi
lea esi, [ebp + 8]
call fcn.00410004
lea esi, [ebp + 0xc]
call fcn.00410004
lea esi, [ebp + 0x14]
call fcn.00410004
lea esi, [ebp + 0x18]
call fcn.00410004
mov eax, ebx
jmp 0x410a52
push dword [ebp + 8]
mov ebx, 0x400
lea eax, [edi + 0x63a94]
push ebx
push eax
call fcn.0041bd67
push dword [ebp + 0xc]
lea eax, [edi + 0x64294]
push ebx
push eax
call fcn.0041bd67
add esp, 0x18
cmp dword [ebp + 0x14], 0
je 0x410b39
lea ecx, [ebp + 0x14]
lea esi, [ebp - 0x18]
call fcn.0040ff1d
mov dword [ebp - 0x10], 1
jmp 0x410b4f
mov ebx, esi
lea esi, [ebp - 0x14]
call fcn.004101c7
mov dword [ebp - 0x10], 2
mov ebx, 0x400
push dword [eax]
lea eax, [edi + 0x64a94]
push ebx
push eax
call fcn.0041bd67
add esp, 0xc
test byte [ebp - 0x10], 2
je 0x410b73
and dword [ebp - 0x10], 0xfffffffd
lea esi, [ebp - 0x14]
call fcn.00410004
mov dword [ebp - 4], 3
test byte [ebp - 0x10], 1
je 0x410b8c
and dword [ebp - 0x10], 0xfffffffe
lea esi, [ebp - 0x18]
call fcn.00410004
cmp dword [ebp + 0x18], 0
je 0x410ba3
lea ecx, [ebp + 0x18]
lea esi, [ebp - 0x14]
call fcn.0040ff1d
or dword [ebp - 0x10], 4
jmp 0x410bb9
mov ebx, 0x439890
lea esi, [ebp - 0x18]
call fcn.004101c7
or dword [ebp - 0x10], 8
mov ebx, 0x400
push dword [eax]
lea eax, [edi + 0x65294]
push ebx
push eax
call fcn.0041bd67
add esp, 0xc
test byte [ebp - 0x10], 8
je 0x410bdd
and dword [ebp - 0x10], 0xfffffff7
lea esi, [ebp - 0x18]
call fcn.00410004
test byte [ebp - 0x10], 4
je 0x410beb
lea esi, [ebp - 0x14]
call fcn.00410004
mov ax, word [ebp + 0x10]
xor ebx, ebx
mov word [edi + 0x65a94], ax
inc ebx
jmp 0x410ad0
Function at 0x410e6c
Capabilities:
Send data
Send http request

Disassembly:
push ebx
push esi
dec eax
dec eax
push edi
mov esi, edx
je 0x410e98
dec eax
je 0x410e8e
dec eax
je 0x410e85
push ecx
call fcn.00410ea4
pop edi
pop esi
pop ebx
ret
mov edi, esi
call fcn.004112a9
jmp 0x410e81
push ecx
mov ebx, esi
call fcn.004110a2
jmp 0x410e81
pop edi
mov edx, ecx
mov ecx, esi
pop esi
pop ebx
jmp fcn.00410f4b

Function at 0x410f4b
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1410
call fcn.0042e4a0
mov eax, dword [0x4412dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
push 0x7fe
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push esi
push eax
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x1410], 0x43a9d8
mov dword [ebp - 0x140c], esi
call fcn.0041a3b0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
call fcn.004116e8
cmp dword [ebx + 0x65aac], 0x1bb
mov eax, 0x4400040
jne 0x410fbb
mov eax, 0x4c00040
push esi
push eax
lea eax, [ebp - 0x1410]
push eax
push 0x439890
push str.HTTP_1.0
push edi
push str.POST
push dword [ebx + 0x65a9c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0x65aa0], eax
cmp eax, esi
jne 0x410ffd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x65aa4], eax
xor eax, eax
jmp 0x411093
push 0x80000000
mov edi, str.Accept:___r_n
push edi
call fcn.0041a174
pop ecx
push eax
push edi
push dword [ebx + 0x65aa0]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x410fea
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push esi
push 0xfde9
call edi
mov dword [ebp - 0x1408], eax
cmp eax, 1
jle 0x411061
push esi
push esi
push eax
lea eax, [ebp - 0x1404]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push esi
push 0xfde9
call edi
push dword [ebp - 0x1408]
lea eax, [ebp - 0x1404]
push eax
mov esi, str.Content_Type:_application_x_www_form_urlencoded_r_n
push esi
call fcn.0041a174
pop ecx
push eax
push esi
push dword [ebx + 0x65aa0]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x410fea
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419542
leave
ret
Function at 0x4110a2
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x4412dc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push ebx
lea esi, [ebp - 0x810]
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x824], 0x43a9d8
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x810], edi
call fcn.0041181f
cmp dword [ebx + 0x65aac], 0x1bb
mov dword [ebp - 0x814], eax
mov eax, 0x4400040
jne 0x411100
mov eax, 0x4c00040
push edi
push eax
lea eax, [ebp - 0x824]
push eax
push 0x439890
push str.HTTP_1.0
push dword [ebp - 0x81c]
push str.POST
push dword [ebx + 0x65a9c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0x65aa0], eax
cmp eax, edi
jne 0x411147
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x65aa4], eax
xor eax, eax
jmp 0x411299
push 0x80000000
mov esi, str.Accept:___r_n
push esi
call fcn.0041a174
pop ecx
push eax
push esi
push dword [ebx + 0x65aa0]
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
call esi
test eax, eax
je 0x411134
push 0x10000000
mov edi, str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push edi
call fcn.0041a174
pop ecx
push eax
push edi
push dword [ebx + 0x65aa0]
call esi
test eax, eax
je 0x411134
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x80a]
push eax
call fcn.0041a3b0
mov edi, 0x400
push edi
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0041a3b0
push dword [ebp - 0x814]
lea eax, [ebp - 0x80c]
push str.Content_Length:__d_r_n
push edi
push eax
call fcn.0041a84d
add esp, 0x28
lea eax, [ebp - 0x80c]
push 0x10000000
push eax
call fcn.0041a174
pop ecx
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebx + 0x65aa0]
call esi
test eax, eax
je 0x411134
push 9
pop ecx
xor esi, esi
push esi
xor eax, eax
push 8
lea edi, [ebp - 0x848]
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x84c]
push eax
push dword [ebx + 0x65aa0]
mov dword [ebp - 0x84c], 0x28
mov dword [ebp - 0x848], esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x411134
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x814]
mov dword [ebp - 0x818], esi
push dword [ebp - 0x810]
push dword [ebx + 0x65aa0]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x411134
push esi
push 8
push esi
push dword [ebx + 0x65aa0]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x41128a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x65aa4], eax
push dword [ebp - 0x810]
call fcn.0041a6c5
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00419542
leave
ret 4
Function at 0x4112a9
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c10
call fcn.0042e4a0
mov eax, dword [0x4412dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [edi + 0x65aac], 0x1bb
mov dword [ebp - 0x1c10], 0x43a9d8
mov dword [ebp - 0x1c0c], ebx
mov eax, 0x4400040
jne 0x4112e9
mov eax, 0x4c00040
push ebx
push eax
lea eax, [ebp - 0x1c10]
push eax
push 0x439890
push str.HTTP_1.0
push ecx
push str.POST
push dword [edi + 0x65a9c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x65aa0], eax
cmp eax, ebx
jne 0x41132b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x65aa4], eax
xor eax, eax
jmp 0x4114cb
push esi
push 0x80000000
mov esi, str.Accept:___r_n
push esi
call fcn.0041a174
pop ecx
push eax
push esi
push dword [edi + 0x65aa0]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x4114b7
xor eax, eax
mov esi, 0x7fe
push esi
mov word [ebp - 0x1c04], ax
lea eax, [ebp - 0x1c02]
push ebx
push eax
call fcn.0041a3b0
xor eax, eax
push esi
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push ebx
push eax
call fcn.0041a3b0
push 0xbff
lea eax, [ebp - 0x1403]
push ebx
push eax
mov byte [ebp - 0x1404], bl
call fcn.0041a3b0
add esp, 0x24
lea eax, [ebp - 0x1c04]
push eax
push edi
call fcn.004117b0
push str.__xml_version1.0_encodingutf_8__
mov esi, 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bd67
push str._soap:Envelope_xmlns:si_http:__www.w3.org_2001_XMLSchema_instance_
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
push str._xmlns:xsd_http:__www.w3.org_2001_XMLSchema_
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
push str._xmlns:soap_http:__schemas.xmlsoap.org_soap_envelope___
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
push str._soap:Body_
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
lea eax, [ebp - 0x1c04]
push eax
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
add esp, 0x48
push str.__soap:Body_
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
push str.__soap:Envelope_
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0041bdca
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push ebx
push 0xfde9
call esi
mov dword [ebp - 0x1c08], eax
cmp eax, 1
jle 0x41148c
push ebx
push ebx
push eax
lea eax, [ebp - 0x1404]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push ebx
push 0xfde9
call esi
mov esi, str.Content_Type:_text_xml_r_n
push esi
call fcn.0041a174
pop ecx
push dword [ebp - 0x1c08]
lea ecx, [ebp - 0x1404]
push ecx
push eax
push esi
push dword [edi + 0x65aa0]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4114c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x65aa4], eax
xor eax, eax
jmp 0x4114ca
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00419542
leave
ret
Function at 0x4114d8
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
cmp dword [edi + 0x65aa0], 0
jne 0x4114f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x65aa4], eax
xor eax, eax
jmp 0x411527
push esi
mov esi, 0x400
push esi
push 0
push dword [ebp + 8]
call fcn.0041a3b0
add esp, 0xc
push 0x444690
push esi
push dword [ebp + 8]
push dword [edi + 0x65aa0]
call dword [sym.imp.WININET.dll_InternetReadFile]
pop esi
test eax, eax
je 0x4114e4
mov eax, dword [0x444690]
pop ebp
ret 4
Function at 0x411aa5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov ebx, 0x400
push edi
mov dword [ebp - 0xc], ebx
call fcn.0041a174
mov esi, eax
pop ecx
test esi, esi
je 0x411ae8
lea eax, [edi + esi*2]
mov dword [ebp - 4], eax
push 1
push 0x438b68
push dword [ebp - 4]
call fcn.0041c1e0
add esp, 0xc
test eax, eax
je 0x411ae8
sub dword [ebp - 4], 2
dec esi
jne 0x411acb
lea eax, [ebp - 8]
push eax
push 1
push 0
lea eax, [edi + esi*2]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411b45
lea eax, [ebp - 0xc]
push eax
mov edi, 0x444698
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 0x411b3a
mov esi, str.application_octet_stream
push esi
call fcn.0041a174
push eax
push esi
push ebx
push edi
call fcn.0041a564
add esp, 0x14
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411b61
mov esi, str.application_octet_stream
push esi
call fcn.0041a174
push eax
push esi
push ebx
mov edi, 0x444698
push edi
call fcn.0041a564
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412c55
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4412dc]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x4412dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 4]
call fcn.00410816
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f4
push dword [edi + 4]
call ebx
push 0x3f3
push dword [edi + 4]
mov dword [edi + 0x20], eax
call ebx
lea esi, [edi + 0x24]
mov dword [esi], eax
mov ecx, dword [0x442d10]
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 eax, [esp + 0x18]
push eax
call fcn.004100eb
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push 0x28
push eax
call ebx
push dword [esp + 0x14]
mov edx, eax
push 0
push esi
call fcn.00412dce
push 0xbc4
lea eax, [esp + 0x18]
push eax
call fcn.004100eb
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 0x64
push 0x3b
push eax
call ebx
push dword [esp + 0x14]
mov edx, eax
push 1
push esi
call fcn.00412dce
call fcn.00412940
lea esi, [esp + 0x14]
call fcn.00410004
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.00419542
mov esp, ebp
pop ebp
ret
Function at 0x41352a
Capabilities:
Get common file path

Disassembly:
push 0x438
mov eax, 0x433601
call fcn.0041d526
mov eax, dword [ebp + 8]
mov dword [ebp - 0x43c], eax
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
mov ebx, ecx
mov esi, 0x104
push esi
mov dword [ebp - 0x444], ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test edi, edi
je 0x4135e8
lea eax, [ebp - 0x21c]
push eax
call fcn.0041a174
movzx eax, word [ebp + eax*2 - 0x21e]
pop ecx
cmp eax, 0x5c
je 0x4135a0
cmp eax, 0x2f
je 0x4135a0
push 0x43b2a4
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0041bdca
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0041bdca
push 0x438b68
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0041bdca
push dword [ebp - 0x43c]
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0041bdca
add esp, 0x24
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.00408b90
jmp 0x413692
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
mov ebx, dword [ebp - 0x440]
lea esi, [ebp - 0x438]
call fcn.004101c7
and dword [ebp - 4], 0
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov edi, esi
call fcn.0041329a
push 0x438b68
mov eax, esi
push eax
call fcn.0040fb78
push dword [ebp - 0x43c]
mov eax, esi
push eax
call fcn.0040fb78
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call fcn.0041bd67
add esp, 0xc
push dword [ebp - 0x438]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x444]
call fcn.00408b90
call fcn.00410004
xor eax, eax
inc eax
call fcn.0041d5a9
ret

Function at 0x41369b
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x58
mov edi, eax
call fcn.00419b32
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x4136bf
mov esi, eax
call fcn.00412f0b
mov esi, eax
jmp 0x4136c1
xor esi, esi
lea eax, [ebp - 0x14]
call fcn.00412f00
lea ecx, [ebp - 4]
push ecx
xor ecx, ecx
cmp byte [edi + 0x46], bl
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x50]
sete cl
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], fcn.0040c65e
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ebx
dec ecx
and ecx, 0x7fffffc
add ecx, 4
push ecx
push eax
push 0x41320a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
jne 0x413711
xor eax, eax
jmp 0x413734
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]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ebx, esi
call fcn.00413d47
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret