joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41210d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x412132
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
jmp 0x4121f8
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.00403e34
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.00403e34
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.0041206c
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x4121bc
mov ecx, esi
call fcn.004030fd
test al, al
je 0x4121bc
push ecx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040318b
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x4121fd
lea ecx, [edi - 0x10]
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x41216a
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x4121e7
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.004017ba
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x412227
jmp 0x4121f6

Function at 0x413574
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417a80
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4135d8
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404f0f
pop ecx
test al, al
je 0x4135d8
mov al, 1
jmp 0x41361d
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x413613
cmp dword [esi + 8], ebx
je 0x413613
push 0x43da54
push dword [esi + 8]
call fcn.004268c4
pop ecx
pop ecx
test eax, eax
jne 0x413613
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00416f09
leave
ret
Function at 0x41424d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.00408b67
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4142ae
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00408b67
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00403ff7
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x414288
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4142d4
call fcn.00409033
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414701
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004142e3
test eax, eax
js 0x414823
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x414823
call fcn.00412c14
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftwareGoogleUpdate_
jne 0x414749
mov eax, str.HKCUSoftwareGoogleUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00403e34
push 0x43e9d8
lea ecx, [ebp - 0xc]
call fcn.00403e34
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0040380e
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004015e6
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.004084d2
test al, al
jne 0x4147aa
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.00414835
mov edi, eax
jmp 0x414815
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6d8
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.00407feb
mov edi, eax
test edi, edi
js 0x414806
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x4147fa
push 0
push 0
push 0
push 0
push dword [eax + edi*4]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41481f
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x4147da
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.00414835
mov edi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6d8
call fcn.00407e8d
lea ecx, [esi - 0x10]
call fcn.004015ce
jmp 0x414826
xor edi, edi
jmp 0x414806
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
call fcn.00404b8e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414cea
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414cfa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x414d00
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x414d28
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x43a600]
test ax, ax
jne 0x414d0f
mov esi, ecx
jmp 0x414d2b
movzx esi, si
pop edi
cmp cx, si
je 0x414d48
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x43a600]
test cx, cx
jne 0x414d2c
mov eax, 0x4390f8
jmp 0x414d50
imul eax, edx, 0x1a
add eax, 0x43a602
push eax
mov ecx, ebx
call fcn.00403e34
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4159f7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x442c1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x442c1c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x415a39
test ebx, ebx
je 0x415a97
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.004159ce
test al, al
je 0x415a97
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.0040542a
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00415cc0
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x415a9e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x442008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x442c1c
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00417a80
add esp, 0xc
push 0x442c1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x415bcf
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.004159ce
test al, al
je 0x415bcf
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.0040542a
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.00415d0c
pop ecx
test al, al
jne 0x415b4f
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418ed0
add esp, 0xc
jmp 0x415bb3
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x415b7d
mov eax, dword [esp + 0x40]
jl 0x415b85
cmp eax, dword [esp + 0x20]
jb 0x415b85
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x415ba3
mov eax, dword [esp + 0x48]
jl 0x415bab
cmp dword [esp + 0x28], eax
jb 0x415bab
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416f09
mov esp, ebp
pop ebp
ret 4

Function at 0x415cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415cf9
cmp dword [ebp - 8], 3
jne 0x415cf9
test eax, eax
jne 0x415cf9
cmp dword [ebp - 4], esi
jne 0x415cf9
mov al, 1
jmp 0x415d09
push esi
push 0
push dword [ebp + 8]
call fcn.00417a80
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x415d0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415d45
cmp dword [ebp - 8], 3
jne 0x415d45
test eax, eax
jne 0x415d45
cmp dword [ebp - 4], esi
jne 0x415d45
mov al, 1
jmp 0x415d55
push esi
push 0
push dword [ebp + 8]
call fcn.00417a80
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x416c88
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00416b49
lea ecx, [ebp - 0x30]
call fcn.0040f772
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x416d4b
cmp dword [ebp - 0x30], 2
jne 0x416d4b
cmp dword [ebp - 0x2c], esi
je 0x416d4b
cmp dword [ebp - 0x10], esi
je 0x416d4b
cmp dword [ebp - 0xc], esi
je 0x416d4b
cmp dword [ebp - 8], esi
je 0x416d4b
lea ecx, [ebp - 0x5c]
call fcn.0040f772
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x416d4b
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x416d4d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x421139
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421184
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042135a
test al, al
jne 0x42117e
sub edx, 2
cmp edx, edi
jne 0x421164
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4211a6
lea eax, [edi + 2]
cmp edx, eax
je 0x4211a6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421085
add esp, 0x10
jmp 0x4212a0
push esi
lea ecx, [ebp - 0x255]
call fcn.0042135a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4211e9
push dword [ebp - 0x25c]
jmp 0x421196
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421226
cmp word [ebp - 0x226], 0
je 0x421247
cmp word [ebp - 0x226], ax
jne 0x421226
cmp word [ebp - 0x224], 0
je 0x421247
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421085
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421293
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421200
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42127b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4212a0
push 0x420eb5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004251b0
add esp, 0x10
jmp 0x421270
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416f09
leave
ret

Function at 0x42206e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430cd4
push 0x430ccc
push str.FlsAlloc
push 0x1e
call fcn.00421fab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4220a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3f8]
call esi
jmp 0x4220a8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4220ec
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430ce4
push 0x430cdc
push str.FlsGetValue
push 0x20
call fcn.00421fab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422123
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3f8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x42a548
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42a551
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42a56f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42a5cd
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42a5b4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42a5bd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42a5c7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x42a5a9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42a533
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x42a61a
dec eax
je 0x42a611
sub eax, 3
je 0x42a608
mov dword [ebp - 4], 0x40
jmp 0x42a637
mov dword [ebp - 4], 4
jmp 0x42a61d
mov dword [ebp - 4], 0x20
jmp 0x42a61d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x42a669
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x42a5e9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.0042a67a
add edi, esi
call fcn.00429e7a
std
push 0xf
scasd eax, dword es:[edi]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x100010b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1000f014]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push eax
lea eax, [esp + 0xc]
push 0x104
push eax
call esi
add esp, 0xc
call fcn.10003da0
mov ebx, eax
mov ecx, 0x1000f108
lea eax, [esp + 8]
push eax
call fcn.100052d0
test eax, eax
jne 0x1000119b
cmp byte [0x1000f318], al
jne 0x10001113
mov eax, 1
jmp 0x1000119b
movzx eax, byte [0x1000f53c]
mov ecx, 1
cmp byte [esp + 0x218], 0
push edi
cmovne eax, ecx
lea edi, [ebx + 0x420]
mov byte [0x1000f53c], al
lea eax, [esp + 0xc]
push eax
push 0x104
push edi
call esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push 0x1000c3a4
push 0x104
push edi
call esi
push 0x1000f328
push 0x104
push edi
call esi
add esp, 0x24
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x10001186
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1000119b
movzx eax, ax
or eax, 0x80070000
jmp 0x1000119b
push dword [esp + 0x218]
mov ecx, ebx
call fcn.10001ee0
mov ecx, ebx
call fcn.10003130
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
call fcn.10009768
add esp, 0x20c
ret 8

Function at 0x10001590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10001592
mov dword [ebp - 8], eax
inc ebp
clc
add ecx, 0x28
dec edx
jne 0x10001583
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1000133e
aam 0x79
adc dword [ebp + ecx*4 + 0x45], esp
test al, 0x50
call fcn.1000134e
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10001303
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000162c
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
inc ebp
iretd
jo 0x1000163a
inc ebp
rcl byte [ebx]
call fcn.1000133e
fdivr dword [eax + 0x458d9978]
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x100019a0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100019f2
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
push eax
add al, 0x8d
dec eax
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1
jae 0x100019ed
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100019d7
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100019df
cmp edx, ebx
jne 0x10001b2d
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100019ae
add eax, dword [eax + 4]
jmp 0x1000199b
mov dword [ebp + 0xc], ebx
jmp 0x100019fd
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10001a15
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10001a33
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10001a91
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10001a78
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10001a81
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10001a8b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10001a6d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100019f7
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10001ade
dec eax
je 0x10001ad5
sub eax, 3
je 0x10001acc
mov dword [ebp - 4], 0x40
jmp 0x10001afb
mov dword [ebp - 4], 4
jmp 0x10001ae1
mov dword [ebp - 4], 0x20
jmp 0x10001ae1
add ecx, dword [ecx + 0x458dfc4d]
cld
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10001b2d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10001aad
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000133e
jns 0x10001add
and edi, edi
jne 0x10001b38
push 1
push esi
call edi
mov eax, esi
jmp 0x10001b39
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret