joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031e92
Capabilities:
Terminate process
Terminate thread

Disassembly:
sub esp, 0x18
mov eax, dword [0x102bff3c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push 0xb
call fcn.1002a528
push 0xc
cmp word [eax], 0x31
sete byte [esp + 0x10]
call fcn.1002a528
push eax
call fcn.1003bec0
mov ecx, dword [0x102cb708]
add esp, 0xc
mov ebx, eax
test ecx, ecx
je 0x10031efe
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10031ef2
push 0xfffffc18
push dword [0x102cb708]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x102cb708]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x102cb738]
xor ebp, ebp
test eax, eax
je 0x10031fa4
cmp dword [esp + 0x24], ebp
je 0x10031f97
push ebp
push ebp
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push eax
push 0x150
push dword [0x102cb738]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10031f92
mov eax, dword [eax]
cmp eax, dword [0x102cb6e4]
je 0x10031f92
push ebp
push eax
push str.View
push str.Language
call fcn.10196f30
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push dword [0x102cb724]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.10035360
add esp, 0x10
test al, al
je 0x10031f92
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x102cb738]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x102cb738], ebp
mov eax, dword [0x102cb73c]
test eax, eax
je 0x10031fba
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x102cb73c], ebp
mov eax, dword [0x102cb744]
test eax, eax
je 0x10031fd8
push dword [0x102cb70c]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x102cb744], ebp
mov ecx, dword [esp + 0x1c]
pop ebp
pop ebx
xor ecx, esp
call fcn.101b70aa
add esp, 0x18
ret

Function at 0x10032093
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push 0x10032048
push 0xfffffffffffffffc
push eax
mov dword [0x102cb724], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x102cb710], eax
xor eax, eax
push eax
push eax
push eax
push 0x10032060
push eax
push eax
call fcn.101dd686
add esp, 0x18
mov dword [0x102cb708], eax
ret
Function at 0x10033290
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xa
call fcn.1002a528
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.1001f510
push str.https:__www.daemon_tools.cc_account_password
lea ecx, [ebp - 4]
call fcn.1001f510
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1019aea0
push eax
lea eax, [ebp - 0xc]
push str._email
push eax
call fcn.10026761
add esp, 0x14
lea ecx, [ebp - 4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.1000f790
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
push 5
push 0
push 0
push dword [ebp - 4]
push 0x102393dc
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
mov esp, ebp
pop ebp
ret
Function at 0x10033698
Capabilities:
Resolve dns

Disassembly:
push 0xa4
mov eax, 0x1021a900
call fcn.101b7126
mov ecx, dword [ebp + 8]
xor ebx, ebx
push 0xf
pop esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10016900
push eax
call fcn.10197f80
add esp, 0xc
test al, al
jne 0x100336f8
push 0x102394cc
push 0xb
call fcn.1002a53c
push 0x1023951c
push 0xa
call fcn.1002a53c
add esp, 0x10
jmp 0x10033837
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xac]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.100196e4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
jge 0x10033732
push 0x80070057
call fcn.1000dd70
mov al, byte [eax]
movsx eax, al
push eax
call fcn.101d9e9c
pop ecx
test eax, eax
je 0x10033776
push dword [ebp - 0xac]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10033776
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10033776
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
push esi
call fcn.1001b9de
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1001b20a
cmp dword [ebp - 0x18], 0
jne 0x10033797
push dword [ebp - 0xac]
call fcn.1001b9de
pop ecx
push eax
push dword [ebp - 0xac]
lea ecx, [ebp - 0x28]
call fcn.1001b20a
push 1
push 1
push 0x10239520
push 0x10239528
call fcn.10196f30
movzx eax, word [ebp - 0xb0]
push 1
push eax
push 0x10239544
push 0x1023954c
call fcn.10196f30
add esp, 0x20
lea ecx, [ebp - 0xa8]
call fcn.100346c5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.10034f78
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x100337f0
mov eax, dword [eax]
push 1
push eax
push 0x1023955c
push 0x10239564
call fcn.10197350
add esp, 0x10
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.10011560
lea ecx, [ebp - 0xa8]
call fcn.100347bb
push 0
push 1
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.10016f10
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
call fcn.1000dde0
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10016f10
mov al, bl
call fcn.101b70d0
ret
Function at 0x1003591d
Capabilities:
Move file

Disassembly:
push ebp
mov eax, dword [section..data]
mov ebp, 0x1023a624
cmp eax, section..data
je 0x10035946
test byte [eax + 0x1c], 1
je 0x10035946
push ebp
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001c92e
add esp, 0x10
push ebx
push esi
push edi
push 0xa
call fcn.1002a528
push 0xb
mov ebx, eax
call fcn.1002a528
push 0xc
mov edi, eax
call fcn.1002a528
push 0xd
mov esi, eax
call fcn.1002a528
push eax
push esi
push ebx
call fcn.1019a910
add esp, 0x1c
push 3
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [section..data]
pop edi
pop esi
pop ebx
cmp eax, section..data
je 0x100359a6
test byte [eax + 0x1c], 1
je 0x100359a6
push ebp
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001c92e
add esp, 0x10
pop ebp
ret
Function at 0x1003606f
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
push esi
push edi
mov edi, 0x102d79a0
xor esi, esi
push edi
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Windows_Sidebar_sidebar.exe
push 0x104
push edi
call fcn.101df824
push esi
push edi
call fcn.101e43ac
cmp eax, 0xffffffff
setne bl
call fcn.1019a7c0
xor edx, edx
movzx ecx, bl
test eax, eax
mov eax, str.1010
cmovne ecx, edx
mov edx, 0x102399e4
test cl, cl
cmove eax, edx
push eax
push 0xb
call fcn.1002a53c
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x10036d4d
Capabilities:
Check mutex on windows

Disassembly:
push 0xa
call fcn.1002a528
pop ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x102cadf0], eax
test eax, eax
jne 0x10036d70
push 0x10239dfc
jmp 0x10036d89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov ecx, 0x10239e00
mov edx, 0x10239e04
cmovne ecx, edx
push ecx
push 0xb
call fcn.1002a53c
pop ecx
pop ecx
ret
Function at 0x1003cae7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.101d1720
push 0x1023b328
lea eax, [ebp - 0x6c]
push 0x20
push eax
call fcn.101df899
mov eax, dword [ebp + 8]
add esp, 0x18
mov dword [ebp - 0x74], eax
mov ecx, 0x102d7fd0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1003e4ce
mov eax, dword [ebp - 0x80]
push dword [eax + 0x14]
lea eax, [ebp - 0x6c]
push 0x20
push eax
call fcn.101df824
add esp, 0xc
lea eax, [ebp - 0x70]
mov esi, connect
push eax
push 0xf013f
push ebx
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x70]
test edx, edx
jne 0x1003cb8e
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x70]
test edx, edx
jne 0x1003cb8e
xor al, al
jmp 0x1003cc00
push edi
push 9
pop ecx
xor eax, eax
mov dword [ebp - 0x78], 0x26
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 0x1023b32c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
test eax, eax
jne 0x1003cbf5
lea ecx, [ebp - 0x2c]
mov eax, str.DAEMON.Tools.Ultra
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003cbeb
test dx, dx
je 0x1003cbf0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003cbeb
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003cbc7
jmp 0x1003cbf0
sbb ebx, ebx
or ebx, 1
test ebx, ebx
sete bl
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x1003cc10
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x424
mov eax, dword [0x102bff3c]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.101d1720
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.
mov ebp, 0x104
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.101df899
mov eax, dword [esp + 0x450]
add esp, 0x18
mov dword [esp + 0x14], eax
mov ecx, 0x102d7fd0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1003e4ce
mov eax, dword [esp + 0x18]
push dword [eax + 0x14]
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.101df824
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x1c]
add esp, 0xc
mov ebp, 0xf013f
mov edi, connect
push eax
push ebp
push ebx
lea eax, [esp + 0x2c]
push eax
push edi
call esi
cmp dword [esp + 0x10], ebx
jne 0x1003cccc
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebp
push ebx
push ebx
push ebx
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [esp + 0x10], ebx
je 0x1003cd8b
call fcn.1019a8a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1003cd69
push str.UserChoice
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x208
lea eax, [esp + 0x22c]
push ebx
push eax
call fcn.101d1720
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x238]
push 0x104
push eax
call fcn.101df899
push str.OpenWithProgids
lea eax, [esp + 0x244]
push 0x104
push eax
call fcn.101df824
add esp, 0x24
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push ebp
push ebx
lea eax, [esp + 0x234]
push eax
push connect
call esi
cmp dword [esp + 0x14], ebx
je 0x1003cd85
push 0x1023b004
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x14]
call edi
jmp 0x1003cd85
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.Progid
push dword [esp + 0x14]
call esi
push str.Application
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call edi
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b70aa
add esp, 0x424
ret
Function at 0x1003d019
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3a0
mov eax, dword [0x102bff3c]
xor eax, esp
mov dword [esp + 0x39c], eax
push ebx
push ebp
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.101d1720
push 0x1023b18c
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.101df899
mov edi, dword [esp + 0x3cc]
lea eax, [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x14], edi
mov ecx, 0x102d7fd0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1003e4ce
mov eax, dword [esp + 0x1c]
push dword [eax + 0x14]
lea eax, [esp + 0x28]
push 0x20
push eax
call fcn.101df824
add esp, 0xc
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
mov ebp, 0x20019
push eax
push ebp
push ebx
lea eax, [esp + 0x30]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1003d0db
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebp
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1003d0db
xor al, al
jmp 0x1003d1d3
push 0x206
lea eax, [esp + 0x1aa]
push ebx
push eax
call fcn.101d1720
add esp, 0xc
mov dword [esp + 0x18], 0x208
xor eax, eax
mov word [esp + 0x1a4], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1a8]
push eax
push ebx
push ebx
push 0x1023b190
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x40
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.101d1720
push 0x1023b194
lea eax, [esp + 0x74]
push 0x20
push eax
call fcn.101df899
add esp, 0x18
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
mov ecx, 0x102d7fd0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1003e4ce
mov eax, dword [esp + 0x1c]
push dword [eax + 0x14]
lea eax, [esp + 0x68]
push 0x20
push eax
call fcn.101df824
push 0x1023b198
mov esi, 0x80
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.101df899
push 0x1023b1b4
lea eax, [esp + 0xc0]
push esi
push eax
call fcn.101df824
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xcc]
push esi
push eax
call fcn.101df824
push 1
lea ecx, [esp + 0x1d8]
push ecx
lea ecx, [esp + 0xdc]
push ecx
push 0x1023b1b8
call fcn.10197350
add esp, 0x40
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x3ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b70aa
add esp, 0x3a0
ret
Function at 0x1003d1ec
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
sub esp, 0x54
mov eax, dword [0x102bff3c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebp
push esi
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edi
push 0x40
xor ebp, ebp
push ebp
push eax
call fcn.101d1720
push 0x1023b1c4
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.101df899
mov eax, dword [esp + 0x7c]
add esp, 0x18
mov dword [esp + 0x10], eax
mov ecx, 0x102d7fd0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003e4ce
mov eax, dword [esp + 0x14]
push dword [eax + 0x14]
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.101df824
add esp, 0xc
mov dword [esp + 0xc], ebp
lea eax, [esp + 0xc]
push eax
push 0xf013f
push ebp
lea eax, [esp + 0x28]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test edx, edx
jne 0x1003d2ad
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
push 0xf013f
push ebp
push ebp
push ebp
lea eax, [esp + 0x38]
push eax
push connect
call edi
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x1003d2ad
xor al, al
jmp 0x1003d34b
cmp word [esi], bp
jne 0x1003d311
push 0x1023b1c8
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
mov esi, 0xf013f
push eax
push esi
push ebp
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1003d303
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push ebp
push ebp
push ebp
push ebp
push connect
call edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1003d349
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1003d349
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x1003d316
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push ebp
push 0x1023b1cc
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0xc], ebp
je 0x1003d349
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101b70aa
add esp, 0x54
ret
Function at 0x100506e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021cf12
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x10050749
mov eax, dword [esi]
jmp 0x1005074b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
mov ecx, esi
push 0x1023d4d8
mov dword [ebp - 0x21c], 1
call fcn.10011260
test edi, edi
je 0x100507a8
cmp word [edi], 0
jne 0x10050779
xor ecx, ecx
jmp 0x1005078f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10050780
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.1002211c
push 7
push str._admin_
mov ecx, esi
call fcn.1002211c
jmp 0x10050805
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101d1720
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp word [ebp - 0x218], 0
jne 0x100507de
xor ecx, ecx
jmp 0x100507f6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100507e7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10011260
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x10050a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021caa8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10050b74
cmp byte [ebx + 0x3e], 0
je 0x10050b74
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x10050a94
xor al, al
jmp 0x10050b76
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10050b05
sub eax, 1
je 0x10050b09
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x10050b5c
xor bl, bl
jmp 0x10050b5e
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10050b3e
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.101df4b1
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x10050b01
cmp byte [ebx + 0x3e], 0
je 0x10050b5c
test esi, esi
jne 0x10050ac7
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10021fdf
jmp 0x10050ac4
mov bl, 1
cmp ecx, 0x10
jb 0x10050b70
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10016ec0
mov al, bl
jmp 0x10050b76
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x10054f00
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021da58
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1a4], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x1a8], esi
jb 0x10054f60
mov eax, dword [esi]
jmp 0x10054f62
mov eax, esi
mov byte [eax], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea eax, [esi + 0x30]
mov word [esi + 0x2c], 0
push eax
call fcn.101ba0cb
lea eax, [esi + 0x58]
push eax
call fcn.101ba0cb
lea eax, [esi + 0x84]
mov byte [esi + 0x80], 0
push 2
push eax
call fcn.101b9d93
add esp, 0x10
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 4
call fcn.1005ae30
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 5
call fcn.10065340
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 6
call fcn.100653f0
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10055029
mov eax, 0x202
cmp word [ebp - 0x1a0], ax
jne 0x10055029
mov byte [esi + 0x23c], 0
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.101b70aa
mov esp, ebp
pop ebp
ret
push 1
call fcn.101e53fb
int3