joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409aab
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jbe 0x409adb
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x409adf
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], eax
sub dword [ebp + 0x10], eax
jne 0x409ab9
xor eax, eax
leave
ret
or eax, 0xffffffff
leave
ret

Function at 0x409ba7
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1090
call fcn.0044e7c0
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x102c], eax
call fcn.00409ae4
xor ebx, ebx
mov dword [ebp - 0x1024], eax
cmp eax, ebx
je 0x409d6f
push edi
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x1003]
push ebx
push eax
mov byte [ebp - 0x1004], bl
call fcn.0044d460
push edi
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.0044d460
push 0x38
lea eax, [ebp - 0x1064]
push ebx
push eax
call fcn.0044d460
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1058], eax
lea eax, [edi + 1]
add esp, 0x24
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1038], eax
lea eax, [ebp - 0x1068]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x804]
push esi
mov dword [ebp - 0x1068], 0x3c
mov dword [ebp - 0x103c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x1058]
push dword [ebp - 0x1024]
call fcn.00409b1f
pop ecx
pop ecx
mov dword [ebp - 0x1028], eax
cmp eax, ebx
je 0x409d62
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x103c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x409d56
xor eax, eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x100c], 7
mov dword [ebp - 0x1010], ebx
mov word [ebp - 0x1020], ax
call fcn.004032fb
cmp dword [ebp - 0x100c], 8
mov eax, dword [ebp - 0x1020]
jae 0x409ce1
lea eax, [ebp - 0x1020]
push 0x20000000
push dword [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x108c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1090]
push eax
push esi
mov dword [ebp - 0x1090], 0x28
mov dword [ebp - 0x1074], edi
call fcn.00409b68
pop ecx
pop ecx
test eax, eax
je 0x409d37
push edi
push dword [ebp - 0x102c]
push esi
call fcn.00409aab
add esp, 0xc
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x1020]
call fcn.00403656
push dword [ebp - 0x1028]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1024]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bf82
leave
ret
Function at 0x409ee1
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x414
push 0x49c6d8
call fcn.004734a0
mov edi, ecx
mov esi, edx
xor ebx, ebx
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x409f03
mov eax, dword [esi]
jmp 0x409f05
mov eax, esi
mov byte [eax], bl
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x420], ebx
push 0x400
push ebx
lea eax, [ebp - 0x41c]
push eax
call fcn.0044d460
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x420]
push eax
push 0x3ff
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x424], eax
cmp eax, ebx
je 0x409f77
cmp dword [ebp - 0x420], ebx
je 0x409f88
push dword [ebp - 0x420]
lea eax, [ebp - 0x41c]
push eax
mov ecx, esi
call fcn.0040a686
cmp dword [ebp - 0x420], ebx
jne 0x409f1c
jmp 0x409f88
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x424]
call fcn.004734e8
ret
Function at 0x409f9b
Capabilities:
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476649
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.0044e7c0
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x103c], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x494150
mov ecx, esi
mov dword [ebp - 0x1040], esi
mov dword [ebp - 0x1030], eax
mov byte [esi], bl
call fcn.00409a42
mov dword [ebp - 4], ebx
mov dword [ebp - 0x103c], 1
call fcn.00409ae4
mov dword [ebp - 0x1034], eax
cmp eax, ebx
je 0x40a1d4
cmp dword [ebp + 0xc], ebx
je 0x40a054
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 6
push eax
call edi
push 4
lea eax, [ebp + 0xc]
push eax
push 5
push dword [ebp - 0x1034]
call edi
push 4
lea eax, [ebp + 0xc]
push eax
push 2
push dword [ebp - 0x1034]
call edi
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.0044d460
push edi
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.0044d460
push 0x38
lea eax, [ebp - 0x1078]
push ebx
push eax
call fcn.0044d460
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x106c], eax
lea eax, [edi + 1]
add esp, 0x24
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x104c], eax
lea eax, [ebp - 0x107c]
push eax
push ebx
push ebx
push dword [ebp - 0x1030]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x107c], 0x3c
mov dword [ebp - 0x1050], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x106c]
push dword [ebp - 0x1034]
call fcn.00409b1f
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
pop ecx
mov dword [ebp - 0x1038], eax
cmp eax, ebx
je 0x40a1cc
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1050]
push 0x4941c4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1030], eax
cmp eax, ebx
je 0x40a1c4
xor eax, eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], ax
call fcn.004032fb
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1018], 8
mov eax, dword [ebp - 0x102c]
jae 0x40a16a
lea eax, [ebp - 0x102c]
push 0x20000000
push dword [ebp - 0x101c]
push eax
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov ecx, dword [ebp - 0x1030]
mov edx, esi
call fcn.00409ee1
push ebx
push ebx
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push dword [ebp - 0x1030]
call edi
push ebx
push 1
lea ecx, [ebp - 0x102c]
call fcn.00403656
push dword [ebp - 0x1038]
call edi
push dword [ebp - 0x1034]
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044bf82
leave
ret
Function at 0x40b594
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and dword [ebp - 0xc], 0
cmp dword [eax + 0x24], 0
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0x14]
jle 0x40b616
mov ecx, dword [eax + 0x20]
and dword [ebp - 8], 0
test ecx, ecx
jle 0x40b60b
mov al, byte [esi]
mov dl, byte [edi + 1]
mov cl, byte [edi]
mov byte [ebp - 3], al
mov al, byte [esi + 1]
sub cl, byte [ebp - 3]
mov byte [ebp - 2], al
mov al, byte [esi + 2]
sub dl, byte [ebp - 2]
mov byte [ebp - 1], al
mov al, byte [edi + 2]
sub al, byte [ebp - 1]
movzx edx, dl
movzx eax, al
movzx ecx, cl
add eax, edx
add eax, ecx
cdq
push 3
pop ecx
idiv ecx
or cl, 0xff
add esi, 4
add edi, 4
sub cl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 8]
mov byte [esi - 1], cl
mov ecx, dword [eax + 0x20]
cmp dword [ebp - 8], ecx
jl 0x40b5ba
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
cmp edx, dword [eax + 0x24]
jl 0x40b5b2
pop edi
pop esi
leave
ret 4

Function at 0x40c4c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40c515
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40c515
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40c515
mov edx, edi
pop edi
mov ecx, eax
pop esi
pop ebp
jmp fcn.0040c342
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40cef3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a428c]
cmp eax, 0xffffffff
jne 0x40d066
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [0x4a428c], 0xfffffc18
mov dword [ebp - 0x118], 0x114
call fcn.0044d460
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40d061
cmp dword [ebp - 0x108], 2
jne 0x40d061
cmp dword [ebp - 0x114], 5
jne 0x40cff3
cmp dword [ebp - 0x110], 0
jne 0x40cf7e
xor eax, eax
inc eax
jmp 0x40d05a
cmp dword [ebp - 0x110], 1
jne 0x40cfe5
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_1
call fcn.0044d17f
add esp, 0xc
test eax, eax
jne 0x40cfa5
push 3
jmp 0x40cff0
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.0044d17f
add esp, 0xc
test eax, eax
jne 0x40cfc3
push 4
jmp 0x40cff0
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_3
call fcn.0044d17f
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
jmp 0x40d05a
cmp dword [ebp - 0x110], 2
jne 0x40d061
push 6
pop eax
jmp 0x40d05a
cmp dword [ebp - 0x114], 6
jne 0x40d00d
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x40d01c
dec eax
je 0x40d018
dec eax
je 0x40d014
mov eax, 0x3e8
jmp 0x40d05a
push 0xb
jmp 0x40cff0
push 0xa
jmp 0x40cff0
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_1
call fcn.0044d17f
add esp, 0xc
test eax, eax
jne 0x40d03a
push 8
jmp 0x40cff0
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.0044d17f
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
mov dword [0x4a428c], eax
jmp 0x40d066
mov eax, dword [0x4a428c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044bf82
leave
ret

Function at 0x40d467
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a5f1c]
test eax, eax
jne 0x40d4b9
push str.SE_UID
push 4
push eax
push 4
call fcn.0040d385
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x4a5f1c], eax
test eax, eax
jne 0x40d4b9
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 8]
and eax, 0x7fffffff
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push eax
call esi
test eax, eax
jne 0x40d4cf
push dword [0x4a5f1c]
call esi
pop esi
leave
ret
Function at 0x4104b0
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x4a70c4], esi
jne 0x410519
push edi
mov edi, 0x4a70c8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4a70c4], esi
jne 0x410511
push ebx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x4a70c4
push esi
mov ebx, eax
push ebx
push 0x41037a
push esi
push esi
call fcn.004517cd
add esp, 0x18
cmp eax, esi
jne 0x410500
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410510
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
cmp dword [0x4a70c4], esi
pop esi
setne al
ret

Function at 0x410526
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x430]
mov edi, ecx
push 7
push eax
mov dword [ebp - 0x438], edi
call fcn.00410a17
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x41055c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x414]
push 0x4949b4
push eax
call fcn.004109d1
add esp, 0xc
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x430]
call fcn.00403656
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.txt
push eax
call fcn.004109d1
add esp, 0x10
push esi
mov ebx, 0x80
push ebx
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 0x40000000
jmp 0x4105f2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x438]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.txt
push eax
call fcn.004109d1
add esp, 0x10
push 0
push ebx
push 4
push 0
push 1
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
mov dword [ebp - 0x434], eax
cmp eax, 0xffffffff
je 0x4105c2
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x434]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bf82
leave
ret
Function at 0x41207f
Capabilities:
Check if file exists

Disassembly:
push 0x620
mov eax, 0x474d1d
call fcn.0044cfd2
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x62c], eax
test ebx, ebx
je 0x4121f4
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4120aa
sub eax, edx
sar eax, 1
je 0x4121f4
test esi, esi
je 0x4121f4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4120cc
sub eax, edx
sar eax, 1
je 0x4121f4
mov eax, dword [ebp - 0x62c]
test eax, eax
je 0x4121f4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4120f2
sub eax, edx
sar eax, 1
je 0x4121f4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4121f4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0044d460
lea eax, [ebp - 0x218]
push eax
call fcn.00411d81
and dword [ebp - 0x624], 0
lea eax, [ebp - 0x618]
add esp, 0x10
mov dword [ebp - 0x620], 0x200
mov dword [ebp - 0x61c], eax
and dword [ebp - 4], 0
push str..url
push dword [ebp - 0x62c]
lea eax, [ebp - 0x218]
push 0x48ac08
push eax
lea eax, [ebp - 0x624]
push eax
call fcn.004031be
pop ecx
pop ecx
push eax
call fcn.004031be
pop ecx
pop ecx
push eax
call fcn.004031be
pop ecx
pop ecx
push eax
call fcn.004031be
mov ecx, dword [ebp - 0x61c]
mov edx, dword [ebp - 0x624]
xor eax, eax
mov word [ecx + edx*2], ax
push dword [ebp - 0x61c]
push esi
push ebx
call fcn.00411fbd
add esp, 0x14
test eax, eax
lea eax, [ebp - 0x618]
js 0x4121e0
cmp dword [ebp - 0x61c], eax
je 0x4121dc
push dword [ebp - 0x61c]
call fcn.0044d937
pop ecx
mov al, 1
jmp 0x4121f6
cmp dword [ebp - 0x61c], eax
je 0x4121f4
push dword [ebp - 0x61c]
call fcn.0044d937
pop ecx
xor al, al
call fcn.0044d055
ret
Function at 0x412b31
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1068
call fcn.0044e7c0
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1014], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
mov dword [ebp - 0x100c], eax
call fcn.00412ae5
mov dword [ebp - 0x1008], eax
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
xor esi, esi
lea eax, [ebp - 0x802]
push esi
push eax
call fcn.0044d460
add esp, 0x14
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x40
lea eax, [ebp - 0x1064]
push esi
push eax
mov dword [ebp - 0x1068], 0x44
call fcn.0044d460
push 0x4a5fa8
push dword [ebp - 0x1014]
xor eax, eax
push dword [ebp - 0x100c]
mov dword [ebp - 0x1024], esi
lea edi, [ebp - 0x1020]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push str.__s___dump__d__d__d__d__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1068]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x412c53
mov eax, dword [ebp - 0x1008]
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp - 0x1024]
push 0xffffffffffffffff
mov dword [ebp - 0x100c], eax
push esi
lea eax, [ebp - 0x1010]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x1008]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bf82
leave
ret
Function at 0x4130b9
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
or dword [esi], 0xffffffff
xor edi, edi
mov dword [esi + 4], edi
push dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
push edi
push edi
push 0xf001f
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x415566
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x4155dc
xor eax, eax
cmp ax, word [esi]
je 0x4155dc
call fcn.00415a0d
push 5
push ebx
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, 0x495898
push edi
push ebx
call esi
cmp eax, 0x20
jle 0x41559f
mov al, 1
jmp 0x4155de
push dword [ebp + 8]
lea ecx, [ebp - 1]
mov byte [ebp - 1], bl
call fcn.004155e3
pop ecx
test al, al
jne 0x41559b
push dword [ebp + 8]
lea ecx, [ebp - 1]
mov byte [ebp - 1], bl
call fcn.00415881
pop ecx
test al, al
jne 0x41559b
push 5
push ebx
push dword [ebp + 8]
push str.iexplore.exe
push edi
push ebx
call esi
cmp eax, 0x20
setg al
jmp 0x4155de
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415881
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x80
mov eax, 0x476cc7
call fcn.0044cfd2
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ecx
cmp eax, ebx
je 0x4159e5
xor ecx, ecx
cmp cx, word [eax]
je 0x4159e5
xor eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
call fcn.004032fb
mov edi, 0x40340e
push edi
push 0x403043
push 2
push 0x1c
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.00451eed
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x4158fc
lea eax, [ebp - 0x64]
push ebx
push eax
lea eax, [ebp - 0x80]
push SysReAllocString
push eax
call fcn.00403b07
add esp, 0x10
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00403385
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00403656
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x415937
lea eax, [ebp - 0x64]
push ebx
push eax
lea eax, [ebp - 0x80]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00403b07
add esp, 0x10
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00403385
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00403656
mov dword [ebp - 0x84], ebx
lea esi, [ebp - 0x48]
cmp dword [esi + 0x10], ebx
je 0x4159b7
cmp dword [esi + 0x14], 8
jb 0x41597a
mov eax, dword [esi]
jmp 0x41597c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4159b7
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x8c]
mov byte [eax], 1
jb 0x41599a
mov eax, dword [esi]
jmp 0x41599c
mov eax, esi
push 5
push ebx
push dword [ebp - 0x88]
push eax
push 0x495898
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4159ed
inc dword [ebp - 0x84]
add esi, 0x1c
cmp dword [ebp - 0x84], 2
jl 0x41596b
push edi
push 2
push 0x1c
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], bl
call fcn.00451fc2
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403656
xor al, al
call fcn.0044d055
ret
push edi
push 2
push 0x1c
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], bl
call fcn.00451fc2
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403656
mov al, 1
jmp 0x4159e7
Function at 0x415c41
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
xor esi, esi
push 0x4c
lea eax, [esp + 0x20]
push esi
push eax
mov dword [0x4a6fa8], esi
mov dword [esp + 0x24], esi
call fcn.0044d460
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
inc ebx
push esi
mov dword [esp + 0x18], ebx
call edi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x415cd1
push dword [esp + 0xc]
call fcn.0044bd14
push dword [esp + 0x10]
mov esi, eax
push 0
push esi
call fcn.0044d460
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push esi
push 0
call edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
call fcn.00415d7f
push esi
mov dword [esp + 0x14], ebx
call fcn.0044d21d
pop ecx
pop ecx
cmp dword [esp + 0x10], 0
je 0x415d50
mov edi, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call edi
test eax, eax
jne 0x415d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x415d50
push dword [esp + 0xc]
call fcn.0044bd14
push dword [esp + 0x10]
mov esi, eax
push 0
push esi
call fcn.0044d460
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push esi
push dword [esp + 0x18]
call edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
call fcn.00415d7f
push esi
mov dword [esp + 0x14], ebx
call fcn.0044d21d
cmp dword [esp + 0x1c], 0
pop ecx
pop ecx
jne 0x415cd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x415cd8
mov eax, dword [0x4a6fac]
test eax, eax
je 0x415d67
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x4a6fac], 0
cmp dword [esp + 0x10], 0
je 0x415d78
push dword [esp + 0x10]
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415e7e
Capabilities:
Read .ini file

Disassembly:
push 0x264
mov eax, 0x47793c
call fcn.0044cfd2
mov ebx, ecx
xor esi, esi
push str.product
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x270], esi
call fcn.00403322
mov dword [ebp - 4], esi
cmp ebx, esi
jne 0x415eb3
mov ebx, 0x491b94
push ebx
lea ecx, [ebp - 0x234]
call fcn.00403322
lea ebx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.00415e2c
xor eax, eax
mov byte [ebp - 4], 2
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0044d460
mov edx, dword [ebp - 0x26c]
add esp, 0xc
cmp dword [ebp - 0x258], 8
jae 0x415f01
mov edx, ebx
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x415f16
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x415f2b
lea eax, [ebp - 0x250]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x48ac6c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00403322
push esi
push 1
lea ecx, [ebp - 0x26c]
call fcn.00403656
push esi
push 1
lea ecx, [ebp - 0x234]
call fcn.00403656
push esi
push 1
lea ecx, [ebp - 0x250]
call fcn.00403656
mov eax, edi
call fcn.0044d055
ret