joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417acf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
call fcn.00417a2c
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 8]
and dword [ebp - 8], 0
push 0
push eax
push ebx
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x417b35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x144], eax
add dword [edi + 0x30], ebx
adc dword [edi + 0x34], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041d487
leave
ret 8
cmp dword [edi + 0x38], 2
jne 0x417b1a
mov ebx, dword [edi + 0x30]
mov edx, dword [ebp + 0xc]
mov edi, dword [edi + 0x34]
add edx, ebx
mov ecx, dword [ebp - 0xc]
push 0
pop eax
push 0
adc eax, edi
mov dword [ecx + 0x30], edx
push 0xa00000
push eax
push edx
mov dword [ecx + 0x34], eax
call fcn.00433450
push 0
push 0xa00000
push edi
push ebx
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00433450
cmp eax, esi
jne 0x417b7e
cmp edx, dword [ebp - 0x10]
je 0x417b21
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x417b21

Function at 0x417b8c
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x43584d
call fcn.0043328e
mov ebx, ecx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0x43bf54
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x14], esi
je 0x417bcd
push dword [ebx + 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00418a6b
push dword [ebx + 0x14]
call fcn.004243e2
pop ecx
cmp dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
jne 0x417bde
xor esi, esi
inc esi
jmp 0x417c55
mov ecx, ebx
call fcn.00417a2c
neg eax
push ecx
push dword [ebx + 0xc]
sbb esi, esi
mov ecx, ebx
mov eax, dword [ebx]
and esi, 1
push esi
call dword [eax + 0x48]
push edx
push eax
lea ecx, [ebx + 0x148]
call fcn.00416618
mov ecx, dword [ebx + 0xc]
lea edi, [ebx + 0x18]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x20], eax
cmp ecx, 0xffffffff
je 0x417c2d
mov edx, edi
call fcn.00416975
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebx + 0xc], 0xffffffff
and dword [ebx + 0x38], 0
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], eax
je 0x417c4b
cmp dword [ebp - 0x18], eax
je 0x417c4b
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebx + 0x144], 0
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.00418a44
mov eax, esi
call fcn.00433238
ret 4

Function at 0x417cc3
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret 4
Function at 0x417f8e
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x43587a
call fcn.0043328e
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
call fcn.00412a21
mov ebx, eax
test ebx, ebx
je 0x418088
mov dword [ebp - 0x18], ebx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x68], 0xffffffff
je 0x417fd0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x417fe6
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x14]
push eax
call fcn.004264a5
add esp, 0x10
push dword [ebp - 0x1c]
mov ecx, esi
push ebx
call fcn.00418090
test eax, eax
jne 0x41801c
mov edx, dword [esi + 0x88]
mov ecx, ebx
push dword [ebp - 0x1c]
mov edx, dword [edx + 0x1c]
call fcn.00412b21
pop ecx
test eax, eax
je 0x41807f
push dword [ebp - 0x1c]
mov ecx, esi
push ebx
call fcn.00418090
test eax, eax
je 0x41807f
push ebx
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
call fcn.004254bd
lea ecx, [esi + 0x5c]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esp], 0x8000
call fcn.00408d7e
test eax, eax
jne 0x41805c
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x58], 8
mov dword [eax], 0xa0000063
jmp 0x41807f
cmp dword [esi + 0xc], edi
jne 0x41807c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push edi
push esi
push 0x4184a7
push edi
push edi
call fcn.0042542c
add esp, 0x18
mov dword [esi + 0xc], eax
xor edi, edi
inc edi
push ebx
call fcn.004243e2
pop ecx
mov eax, edi
call fcn.00433238
ret 0x10

Function at 0x418090
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x88]
push dword [eax + 0x1c]
push ecx
push ecx
mov ecx, esi
call fcn.004176de
add esp, 0xc
mov dword [edi + 0x68], eax
cmp eax, 0xffffffff
je 0x41810e
test esi, esi
je 0x41810e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x41810e
push 0x3a
pop ecx
cmp word [esi + 2], cx
jne 0x41810e
push 0x5c
pop edx
cmp word [esi + 4], dx
jne 0x41810e
mov ax, word [esi]
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], cx
mov word [ebp - 8], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [edi + 0x98], eax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi + 0x68], 0xffffffff
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.0041d487
leave
ret 8
Function at 0x418127
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0xc], eax
mov esi, ecx
xor eax, eax
inc eax
push edi
cmp dword [esi + 0x54], eax
je 0x418185
call fcn.00416c90
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
jbe 0x4181a9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x418185
xor edi, edi
lea eax, [ebp - 8]
push edi
push eax
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x418198
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d487
leave
ret 8
add dword [esi + 0x90], ebx
adc dword [esi + 0x94], edi
xor eax, eax
inc eax
jmp 0x418187
lea eax, [esi + 0x30]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push dword [ebp - 0xc]
lea ecx, [esi + 0x18]
call fcn.00418685
test eax, eax
jne 0x4181cc
mov dword [esi + 0x54], 1
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.00416c90
cmp dword [esi + 0x2c], eax
mov ecx, edi
push 1
pop eax
cmova ecx, eax
mov dword [esi + 0x14], edi
lea eax, [esi + 0x30]
mov dword [ebp - 0x10], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov ecx, 0xbb8
mov dword [ebp - 8], edi
test eax, eax
je 0x418276
mov ebx, ecx
test ebx, ebx
je 0x41826d
test eax, eax
je 0x418219
push 0xa
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x54], edi
jne 0x41826d
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
call fcn.00416c90
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
jbe 0x418259
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp eax, ecx
jne 0x41824a
dec ebx
jmp 0x41824f
mov ebx, 0xbb8
cmp eax, ecx
cmovne eax, ecx
mov dword [ebp - 8], eax
jmp 0x41825c
mov dword [ebp - 0x10], edi
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x418206
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
cmp dword [esi + 0x54], eax
je 0x418185
test ecx, ecx
jle 0x418185
add dword [esi + 0x90], ebx
adc dword [esi + 0x94], edi
jmp 0x418187
Function at 0x4184b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44200c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x2c]
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x41850b
test ecx, ecx
jne 0x41850b
cmp ebx, 0x8000
sbb edi, edi
and edi, 0xffff8000
add edi, 0x8000
jmp 0x418515
mov edi, 0x8000
cmp ebx, edi
cmovb edi, ebx
test edi, edi
jne 0x418529
mov ecx, dword [ebp - 0xc]
test eax, eax
push 1
pop eax
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x418545
xor eax, eax
lea ecx, [esi + 0x18]
inc eax
push eax
push edi
push dword [ebp - 0x10]
call fcn.00418722
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [esi + 0x2c]
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x418580
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0x10]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41856f
cmp dword [ebp - 8], edi
je 0x41858b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x58], eax
xor eax, eax
inc eax
mov dword [esi + 0x54], eax
jmp 0x41858b
push 2
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x14], 0
je 0x4185a8
cmp dword [esi + 0x54], 0
jne 0x41859b
test ebx, ebx
jne 0x4185a8
push dword [esi + 0x4c]
and dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0xc], 0
lea eax, [esi + 0x30]
je 0x4184da
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d487
leave
ret

Function at 0x41a12f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x41a142
push 0xd
pop eax
jmp 0x41a186
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x41a155
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x41a14d
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41a776
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x44200c]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0xc], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
call fcn.0041a6ff
jmp 0x41a7ce
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a776
mov esi, eax
test esi, esi
jne 0x41a822
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41a7c0
cmp dword [esp + 0x10], esi
je 0x41a811
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], esi
push dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.0041a907
mov esi, eax
cmp dword [esp + 0x10], 0
je 0x41a833
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0041d487
mov esp, ebp
pop ebp
ret 4
Function at 0x41b297
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x435acf
call fcn.004332fc
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0041fa80
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x41b320
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x41b320
call fcn.00419b60
mov esi, eax
jmp 0x41b423
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41b343
call fcn.00419b60
jmp 0x41b416
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x41b339
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x41b376
mov esi, 0x8007000e
jmp 0x41b418
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x41b446
jb 0x41b391
cmp eax, 0xffffffff
ja 0x41b446
cmp eax, 0x400
jbe 0x41b3a6
push eax
lea ecx, [ebp - 0x424]
call fcn.00419b3b
jmp 0x41b3c8
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x41b3c8
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x41b36c
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x41b339
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.0041b150
mov esi, eax
test edi, edi
je 0x41b423
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x41b43c
lea ecx, [ebp - 0x424]
call fcn.00419b26
mov eax, esi
call fcn.00433249
ret 0x10
push 0x80070216
call fcn.00401da6
int3
Function at 0x41b692
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x435aff
call fcn.0043328e
mov esi, ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
jne 0x41b7ef
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edx, 0x110
inc ebx
cmp eax, edx
jne 0x41b6d7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push edx
call fcn.0041ba7e
jmp 0x41b798
cmp eax, 0x4e
jne 0x41b6f2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ecx
push ecx
push ecx
mov ecx, esi
call fcn.0041c8d6
jmp 0x41b798
cmp eax, 0x111
jne 0x41b7a4
mov eax, dword [ebp + 0x10]
mov ecx, eax
movzx edx, ax
shr ecx, 0x10
cmp bx, dx
jne 0x41b71d
xor eax, eax
cmp ax, cx
jne 0x41b71d
and dword [edi], eax
mov eax, ebx
jmp 0x41b7f1
push 2
pop eax
cmp ax, dx
jne 0x41b75a
xor eax, eax
cmp ax, cx
jne 0x41b7a4
mov eax, ebx
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x2c], ebx
je 0x41b741
mov dword [esi + 0x34], 1
jmp 0x41b74f
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x14]
test eax, eax
mov dword [edi], ebx
je 0x41b7a4
xor ebx, ebx
inc ebx
jmp 0x41b716
mov eax, 0x3ea
cmp ax, dx
jne 0x41b77a
xor eax, eax
cmp ax, cx
jne 0x41b7a4
sub esp, 0x10
mov dword [ebp - 0x14], ebx
mov ecx, esi
call fcn.0041c0d4
jmp 0x41b798
mov eax, 0x3e9
cmp ax, dx
jne 0x41b7f9
xor eax, eax
cmp ax, cx
jne 0x41b7a4
sub esp, 0x10
mov dword [ebp - 0x14], ebx
mov ecx, esi
call fcn.0041c60f
cmp dword [ebp - 0x14], 0
mov dword [edi], eax
jne 0x41b716
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [0x44cd54]
jne 0x41b7c8
sub esp, 0x10
mov dword [ebp - 0x14], 1
mov ecx, esi
call fcn.0041c97c
cmp dword [ebp - 0x14], 0
mov dword [edi], eax
jne 0x41b755
cmp ebx, 0x113
jne 0x41b7ef
push ecx
push ecx
push dword [ebp + 0x10]
xor ebx, ebx
push ecx
inc ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.0041c9d8
cmp dword [ebp - 0x14], 0
mov dword [edi], eax
jne 0x41b716
xor eax, eax
call fcn.00433238
ret 0x18
mov eax, 0x3ec
cmp ax, dx
jne 0x41b7a4
xor eax, eax
cmp ax, cx
jne 0x41b7a4
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call fcn.00401723
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push 0x3e8
lea ecx, [esi + 4]
call fcn.0041cb5f
push 5
push ebx
push ebx
push dword [ebp - 0x18]
push str.Open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401f41
cmp dword [ebp - 0x14], ebx
jmp 0x41b751
Function at 0x41b855
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x435b5d
call fcn.0043325a
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebp - 4], eax
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x20], vtable.IArkEvent.0
mov dword [ebx], vtable.CMainDlg.1.0
mov dword [ebx + 0x20], vtable.CMainDlg.0
call fcn.00401723
mov byte [ebp - 4], 1
call fcn.004010d0
or dword [ebx + 0x68], 0xffffffff
xor eax, eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], 0x1f4
mov dword [ebx + 0x64], eax
or dword [ebx + 0x70], 0xffffffff
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x74], eax
lea edi, [ebx + 0x7c]
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00416662
push 0x378
mov dword [ebx + 0x98], 1
call fcn.0041d923
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
mov dword [esp], 0x378
push 0
push esi
call fcn.0041fa80
add esp, 0xc
mov ecx, esi
push edi
call fcn.00407334
mov byte [ebp - 4], 3
push 0x70
mov dword [ebx + 0x24], eax
call fcn.0041d923
push 0x70
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call fcn.0041fa80
add esp, 0x10
mov ecx, esi
push edi
call fcn.00414b86
mov dword [ebx + 0x28], eax
xor eax, eax
mov byte [ebx + 0xe0], al
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
xor ecx, ecx
mov edx, 0x412
cmp ax, dx
push 0x6b
push dword [0x443064]
sete cl
mov dword [0x443d08], ecx
call esi
push 0x82
mov dword [ebx + 0x40], eax
push dword [0x443064]
call esi
cmp dword [0x443d08], 0
mov dword [ebx + 0x44], eax
jne 0x41b990
call fcn.00403dbf
mov eax, ebx
call fcn.00433223
ret
Function at 0x41c8d6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 8], 0x70b
jne 0x41c968
cmp dword [ebx + 0xc], 0x202
jne 0x41c968
push esi
push edi
lea edi, [ecx + 0x54]
lea esi, [ebx + 0x18]
mov ecx, edi
push esi
call fcn.004013c5
and dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x434
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.004013ee
mov eax, dword [esi]
mov ecx, edi
push esi
mov dword [ebx + 0x1c], eax
call fcn.004013c5
push 5
push 0
push 0
push dword [ebp - 8]
push 0x43d828
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00401f41
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov ecx, dword [ebp - 4]
and dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041d487
leave
ret 0x10

Function at 0x42cd6f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042c8c2
Function at 0x401490
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ade9
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4b249c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], 0
movzx eax, word [0x4b3910]
test eax, eax
jne 0x4015e4
lea ecx, [ebp - 0x440]
call fcn.00405120
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.004052f0
lea ecx, [ebp - 0x440]
push ecx
push 0
push 0
push 0x43d94c
call fcn.00401130
add esp, 0x10
movzx edx, al
test edx, edx
je 0x401537
lea ecx, [ebp - 0x440]
call fcn.004052b0
push eax
push 0x43d6d0
push 0xffffffffffffffff
push 0x104
push 0x4b3910
call fcn.004262dd
add esp, 0x14
jmp 0x40154a
push 0x4b3910
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x4b3910
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x4b3910
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
je 0x40157a
mov eax, dword [ebp - 0x444]
and eax, 0x10
jne 0x4015d2
push 0x4b3910
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 0x448], eax
push 0x4b3910
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4015d2
push 0x43d6d8
mov ecx, dword [ebp + 8]
call fcn.00403a00
mov ecx, dword [ebp - 0x44c]
or ecx, 1
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00405210
mov eax, dword [ebp + 8]
jmp 0x401656
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00405210
xor edx, edx
mov word [ebp - 0x424], dx
push 0x40e
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.00426300
add esp, 0xc
push 0xffffffffffffffff
push 0x4b3910
push 0x104
lea ecx, [ebp - 0x424]
push ecx
call fcn.00426417
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x401635
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403a00
mov edx, dword [ebp - 0x44c]
or edx, 1
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042624f
mov esp, ebp
pop ebp
ret