joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401be0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40702c
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x407024]
sub esp, 4
test ebx, ebx
je 0x401c2b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401c24
test esi, esi
je 0x401c24
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c00
mov dword [esp], 0x40702c
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e10
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x401e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401f34
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401e9e
cmp eax, 4
jne 0x401ec0
test esi, esi
je 0x401eb2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401ea4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401eff
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401ef1
cmp ecx, 0x40
je 0x401eb2
cmp ecx, 4
je 0x401eb2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e10
lea esi, [esi]
Function at 0x403e30
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00401ab0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x403e6b
jmp 0x403ebe
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403e68
cmp al, 9
je 0x403e68
cmp al, 0x22
jne 0x403ea7
lea esi, [esi]
mov edx, ebx
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 0x22
je 0x403e95
test al, al
jne 0x403e80
cmp al, 0x22
jne 0x403eb3
lea ebx, [edx + 2]
jmp 0x403eb3
cmp al, 9
je 0x403eb3
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x403ea0
jmp 0x403eb3
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403eb0
cmp al, 9
je 0x403eb0
mov esi, 0xa
test byte [ebp - 0x30], 1
je 0x403ecd
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004013a9
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x4083f0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4af0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5094d8]
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, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0x4e6c88
mov dword [esi + 0x54], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
jne 0x40845e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x408457
mov edx, dword [ecx]
push eax
push 0
call dword [edx]
xor al, al
jmp 0x408551
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push edi
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x44]
call fcn.00408840
add esp, 8
test al, al
jne 0x4084b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4084b2
mov edx, dword [ecx]
push eax
push 1
call dword [edx]
xor bl, bl
jmp 0x408519
lea ecx, [esi + 4]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x4084ca
push 0xffffffffffffffff
push 0
push eax
call fcn.00408180
mov ax, word [ebp - 0x48]
lea ecx, [esi + 0x20]
mov word [esi + 0x1c], ax
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x4084e6
push 0xffffffffffffffff
push 0
push eax
call fcn.00408180
lea ecx, [esi + 0x38]
cmp ecx, ebx
je 0x4084f7
push 0xffffffffffffffff
push 0
push ebx
call fcn.00408180
cmp dword [edi + 0x14], 8
jb 0x4084ff
mov edi, dword [edi]
push 8
push str.https:__
push edi
call fcn.0048fbc8
add esp, 0xc
test eax, eax
jne 0x408517
mov byte [esi + 0x50], 1
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x40852a
push dword [ebp - 0x2c]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40854f
push dword [ebp - 0x44]
call fcn.00470760
add esp, 4
mov al, bl
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.0048efb3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408570
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4b28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5094d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
movzx ecx, word [esi + 0x1c]
jb 0x4085b1
mov eax, dword [eax]
push 1
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4085eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
mov edx, eax
test ecx, ecx
je 0x4086b9
mov eax, dword [ecx]
push edx
push 2
call dword [eax]
jmp 0x4086b9
cmp byte [esi + 0x50], 0
lea ecx, [esi + 0x20]
mov edx, 0x84001081
mov dword [ebp - 0x18], 0x4ea1dc
mov edi, 0x84801081
mov dword [ebp - 0x14], 0
cmovne edx, edi
lea ebx, [esi + 0x38]
cmp dword [ecx + 0x14], 8
jb 0x408618
mov ecx, dword [ecx]
push 1
push edx
lea edx, [ebp - 0x18]
push edx
push 0
push str.HTTP_1.1
push ecx
push 0x4ea1f8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4086a5
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x408647
mov ebx, dword [ebx]
push 0
push 0
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4086a5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004087b0
test al, al
jne 0x40867e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4086b9
push eax
push 7
jmp 0x4086b5
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x408696
mov eax, dword [ecx]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x4086b9
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004086f0
mov bl, al
jmp 0x4086bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4086b9
push eax
push 6
mov edx, dword [ecx]
call dword [edx]
xor bl, bl
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x4086c8
push edi
call esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4086d2
push eax
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4086f0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x8000
mov edi, ecx
call fcn.0044194a
mov ebx, dword [ebp + 8]
add esp, 4
mov esi, eax
lea ebx, [ebx]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x8000
push esi
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40874b
mov edx, dword [ebp + 8]
test edx, edx
je 0x40875d
js 0x40874b
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x408710
mov eax, dword [ecx]
push edx
push esi
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x408710
push esi
call fcn.0048fbc3
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x408769
mov eax, dword [ecx]
call dword [eax + 0xc]
push esi
call fcn.0048fbc3
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4087b0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
mov edi, ecx
push eax
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4087ec
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 4]
mov dword [esi], 0xffffffff
push eax
push 0x20000005
push dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x40882d
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x408840
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov dword [ebp - 0x208], eax
mov edi, ecx
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.00497a40
push 0x38
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.00497a40
lea eax, [ebp - 0x204]
mov dword [ebp - 0x244], 0x3c
add esp, 0x18
mov dword [ebp - 0x234], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x230], 0xff
mov dword [ebp - 0x214], 1
jb 0x4088c9
mov esi, dword [esi]
lea ecx, [ebp - 0x244]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4088f1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x234]
cmp word [edx], 0
jne 0x408901
xor ecx, ecx
jmp 0x408915
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408906
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00407a10
mov edx, dword [ebp - 0x218]
mov ax, word [ebp - 0x22c]
mov word [ebx], ax
cmp word [edx], 0
jne 0x408938
xor ecx, ecx
jmp 0x40894f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408940
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x208]
push edx
call fcn.00407a10
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048efb3
mov esp, ebp
pop ebp
ret

Function at 0x40ed80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40ed99
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40edd4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40edd0
lea ebx, [ebx]
cmp esi, edx
jae 0x40edd4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40edc0
cmp esi, edx
jb 0x40eddb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40f140
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x40f280
test edx, edx
je 0x40f280
push edx
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
call fcn.0040e390
lea ecx, [ebp - 0x94]
call fcn.0040e460
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040e530
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40f1e8
mov eax, dword [esi]
jmp 0x40f1ea
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x40f232
cmp ecx, 0x10
jb 0x40f1fa
mov edx, dword [esi]
jmp 0x40f1fc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x40f232
cmp ecx, 0x10
jb 0x40f211
mov ecx, dword [esi]
jmp 0x40f213
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0040de80
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x40f243
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00408ac0
cmp dword [esi + 0x14], 0x10
jb 0x40f24d
mov eax, dword [esi]
jmp 0x40f24f
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004963d0
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x40f26d
mov esi, dword [esi]
mov byte [esi + 0x20], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
push 0
push 0x4ea8d6
mov ecx, esi
call fcn.0040dfb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x40f8e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5926
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x40f973
xor ecx, ecx
jmp 0x40f98f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f980
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407a10
push 0x4ea57c
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00411bd0
push str.leidian9_
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00411bd0
add esp, 0x18
cmp dword [ebp - 0x234], 8
jb 0x40f9eb
push dword [ebp - 0x248]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x40fa1f
push dword [ebp - 0x230]
call fcn.00470760
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x40fa29
mov eax, dword [esi]
jmp 0x40fa2b
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x410630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.0049cef0
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x1ffe
push eax
mov word [ebp - 0x200c], ax
mov esi, ecx
lea eax, [ebp - 0x200a]
push eax
call fcn.00497a40
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x410673
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x200c]
push 0x1000
push eax
call fcn.00495939
push 0x40
lea eax, [ebp - 0x2060]
push 0
push eax
call fcn.00497a40
add esp, 0x18
mov dword [ebp - 0x2064], 0x44
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x201c], xmm0
jb 0x4106b5
mov esi, dword [esi]
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2064]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41070f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute__CreateProcess_return_false__last_error_is__d.
push 0x1e1
push str.runExeFile
call fcn.004209c0
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x201c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2018]
call esi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x410db0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5bac
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [ebp - 0x220], ax
jne 0x410e35
xor ecx, ecx
jmp 0x410e4f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410e40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x440]
call fcn.00407a10
push 0x104
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x410f77
push 0x104
lea eax, [ebp - 0x428]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x410f77
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407b40
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.00410bd0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x45c], 8
jb 0x410ede
push dword [ebp - 0x470]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
push str.ldlduninst_del.exe
lea edx, [ebp - 0x440]
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x488]
mov word [ebp - 0x470], ax
call fcn.00411cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x458]
cmovae ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x444], 8
push ecx
cmovae edx, dword [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.004102a0
add esp, 0xc
cmp dword [ebp - 0x474], 8
jb 0x410f60
push dword [ebp - 0x488]
call fcn.00470760
add esp, 4
cmp dword [ebp - 0x444], 8
jb 0x410f77
push dword [ebp - 0x458]
call fcn.00470760
add esp, 4
cmp dword [ebp - 0x42c], 8
jb 0x410f8e
push dword [ebp - 0x440]
call fcn.00470760
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret

Function at 0x410fb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.00497a40
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
jb 0x410fe8
mov eax, dword [esi]
jmp 0x410fea
mov eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x411021
cmp dword [esi + 0x14], 8
jb 0x41100a
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]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4122e0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5094d8]
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 ebx, ecx
call fcn.00412500
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x412339
cmp eax, 0x6f
jne 0x412368
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x412368
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x412386
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
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.0048efb3
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x4123a0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x4123bc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x4124c9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.00497a40
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4ea90c
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.004956a1
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x412460
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412451
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00407a10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00412560
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4124ec
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x4124c9
push dword [ebp - 0x244]
call fcn.00470760
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x4123a0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x41236a
push str.list_T__too_long
call fcn.004418e8
int3