joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002dbc7
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ecx, ecx
mov dword [0x1006c588], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x1006c584], ecx
push edi
push ecx
mov dword [0x1006c580], eax
mov dword [0x1006c58c], ecx
mov dword [0x1006c590], eax
mov dword [0x1006c594], ecx
mov dword [0x1006c598], ecx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edi, eax
mov esi, edx
mov eax, 0x55555555
mov dword [0x1006c5a8], edi
xor ebx, ebx
mov dword [0x1006d928], eax
pop ecx
mov dword [0x1006d92c], eax
inc ebx
mov dword [0x1006c5ac], esi
push 0x5851f42d
xor eax, eax
mov ecx, esi
push 0x4c957f2d
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.10035800
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, 0x138
mov dword [ebx*8 + 0x1006c5a8], edi
adc esi, edx
mov dword [ebx*8 + 0x1006c5ac], esi
inc ebx
cmp ebx, eax
jl 0x1002dc27
movaps xmm0, xmmword [0x1003f6c0]
pop edi
pop esi
mov dword [0x1006c5a0], eax
mov eax, 0x1006c580
movups xmmword [0x1006d930], xmm0
pop ebx
ret 0x10

Function at 0x10031078
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x100310c1
cmp word [edx], cx
je 0x100310c1
push ecx
lea eax, [ebp - 8]
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100310e6
mov eax, dword [ebp - 8]
xor ecx, ecx
push dword [ebp + 0x14]
push ebx
push 1
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 8]
mov edi, eax
test ecx, ecx
je 0x100310e4
cmp ecx, esi
je 0x100310e4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret

Function at 0x1003130c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x10031378
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1003135e
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100313a7
inc ax
mov word [ebp - 0xa], ax
jmp 0x10031378
cmp eax, 0xe7
jne 0x100313a7
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100313a7
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10031341
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x10031396
Function at 0x10031750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10031920
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003182d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003179a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10045004]
ja 0x1003179a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003176a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100317bf
jmp 0x1003182d
cmp dword [ebp - 0x14], 0x10000
jne 0x10031813
cmp dword [ebp - 0x18], 0x10000
jb 0x10031813
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100317f6
mov eax, dword [ebp - 8]
jmp 0x1003182f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10031806
xor eax, eax
jmp 0x1003182f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10031828
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10031920
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003176a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10031840
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10031950
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10031915
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10031885
mov eax, dword [ebp - 4]
cmp eax, dword [0x10045004]
ja 0x10031885
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10031855
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100318aa
jmp 0x10031915
cmp dword [ebp - 0x14], 0x10000
jne 0x100318fe
cmp dword [ebp - 0x18], 0x10000
jb 0x100318fe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100318e1
mov eax, dword [ebp - 8]
jmp 0x10031917
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100318f1
xor eax, eax
jmp 0x10031917
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10031910
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10031950
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10031855
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10031980
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10031d70
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10046848], 0
jne 0x100319bd
cmp dword [0x10046844], 0
je 0x100319bd
mov eax, dword [0x10046844]
mov dword [0x10046848], eax
cmp dword [0x10046848], 0
je 0x10031a3a
mov ecx, dword [0x10046848]
cmp dword [ecx + 8], 0
je 0x10031a3a
mov edx, dword [0x10046848]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10031a3a
mov ecx, dword [0x10046848]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10031a3a
mov eax, dword [0x10046848]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10031a09
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10031a10
xor eax, eax
jmp 0x10031b59
mov ecx, dword [0x10046848]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10031b59
mov edx, dword [0x10046844]
mov dword [0x10046848], edx
jmp 0x10031a56
mov eax, dword [0x10046848]
mov ecx, dword [eax + 4]
mov dword [0x10046848], ecx
cmp dword [0x10046848], 0
je 0x10031a96
cmp dword [0x10046848], 0
je 0x10031a94
mov edx, dword [0x10046848]
cmp dword [edx + 8], 0
je 0x10031a94
mov eax, dword [0x10046848]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10031a94
mov edx, dword [0x10046848]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10031a94
jmp 0x100319ee
jmp 0x10031a48
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10031b60
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10031b57
mov eax, dword [ebp - 0x18]
mov dword [0x10046848], eax
mov ecx, dword [0x10046848]
mov dword [ecx], 0x52727464
mov edx, dword [0x10046848]
mov dword [edx + 8], 0
mov eax, dword [0x10046848]
mov ecx, dword [0x10046844]
mov dword [eax + 4], ecx
mov edx, dword [0x10046848]
mov dword [0x10046844], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10046848]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10031b27
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10031b47
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10031b1e
mov eax, dword [0x10046848]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100319ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100328a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10046844]
mov dword [ebp - 4], eax
jmp 0x100328b9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100328e0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x100328de
call sub.KERNEL32.dll_GetLastError
jmp 0x100328e2
jmp 0x100328b0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10032d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10046854], eax
je 0x10032da4
mov eax, 0x10dd
jmp 0x10032f4c
cmp dword [0x10046858], 0
je 0x10032db7
mov eax, dword [0x10046858]
jmp 0x10032f4c
cmp dword [ebp + 0xc], 0
jne 0x10032dc7
mov eax, 0x57
jmp 0x10032f4c
cmp dword [ebp + 8], 0
jne 0x10032dd7
mov eax, 6
jmp 0x10032f4c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10032e00
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10046858], ecx
mov edx, dword [ebp + 8]
mov dword [0x1004685c], edx
mov eax, dword [ebp - 8]
jmp 0x10032f4c
push 0x18
call fcn.10034446
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10032e5b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10046858], ecx
cmp dword [ebp - 4], 0
je 0x10032e4a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10034479
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1004685c], ecx
mov eax, dword [ebp - 8]
jmp 0x10032f4c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10032d60
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10032d60
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10032e9b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10032eb7
mov dword [ebp - 8], 9
cmp dword [0x1004684c], 0
je 0x10032eb2
jmp 0x10032e29
jmp 0x10032e20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10032ede
mov dword [ebp - 8], 9
cmp dword [0x1004684c], 0
je 0x10032ed9
jmp 0x10032e29
jmp 0x10032e20
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10032f09
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10032e20
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10046864]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10046864], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10032f70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10046854], eax
je 0x10032f8d
mov eax, 0x10dd
jmp 0x10033070
mov eax, dword [0x10046864]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003300c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10032fe8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10032fe8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10031e00
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10034479
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10032f95
mov dword [0x10046864], 0
call fcn.100326e0
mov ecx, dword [0x10046860]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003305a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10034479
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10033024
mov dword [0x10046860], 0
mov dword [0x10046854], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10033550
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10046858], 0
je 0x10033569
mov eax, dword [0x10046858]
jmp 0x10033608
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003357a
xor eax, eax
jmp 0x10033608
push 8
call fcn.10034446
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100335d2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100335bb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10034479
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10046858], eax
mov dword [0x1004685c], 0
mov eax, dword [ebp - 8]
jmp 0x10033608
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x100335ea
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003359a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10046860]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10046860], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41043f
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x49c1dc]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0xc
mov eax, 0x46fe7b
call fcn.004517c6
mov edi, dword [ebp + 0xa0]
push 4
pop ebx
push ebx
push ebx
sub esp, 0x1c
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.KR8mCikePigiJVcVIwsEKSs2JjYiDlMoNw4IECYhFwY
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], edi
call fcn.004167c3
push edi
call fcn.00417ed7
mov dword [ebp - 4], esi
mov esi, 0x94
push esi
lea eax, [ebp]
push 0
push eax
mov dword [ebp - 0x14], 1
call fcn.00451110
add esp, 0x34
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [0x476338]
cmp dword [ebp + 4], 5
jne 0x41052c
xor esi, esi
inc esi
cmp dword [ebp + 8], esi
jne 0x4104f4
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Lg9TECMADEgpEFpa
call fcn.004167c3
lea eax, [ebp - 0x10]
push eax
call fcn.00417ed7
add esp, 0x28
mov dword [ebp - 4], esi
jmp 0x4105bf
cmp dword [ebp + 8], 2
jne 0x4105d2
push 5
push 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.LBBeMzEOCAIhJAAMLSNTKSszNkwsNFcoNwAiFSMPJTAqNVciIR4IAjJWMhYtDzYSKiYlBjAAWlo
call fcn.004167c3
lea eax, [ebp - 0x10]
push eax
call fcn.00417ed7
add esp, 0x28
mov dword [ebp - 4], 2
jmp 0x4105bf
cmp dword [ebp + 4], 6
jne 0x4105d2
cmp dword [ebp + 8], 0
jne 0x410565
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.KR8lNCkkDB0_HgwTIwAmKiwPUxIkJFNXKg8Ei0LFwY
call fcn.004167c3
lea eax, [ebp - 0x10]
push eax
call fcn.00417ed7
add esp, 0x28
mov dword [ebp - 4], 3
jmp 0x4105bf
cmp dword [ebp + 8], 1
jne 0x410590
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.LB0CzceIlchJVcTIwAmKiwNNl4lAFpa
call fcn.004167c3
lea eax, [ebp - 0x10]
push eax
call fcn.00417ed7
add esp, 0x28
mov dword [ebp - 4], ebx
jmp 0x4105bf
cmp dword [ebp + 8], 2
jne 0x4105d2
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.IhBTECMACwE
call fcn.004167c3
lea eax, [ebp - 0x10]
push eax
call fcn.00417ed7
add esp, 0x28
mov dword [ebp - 4], 9
push eax
mov ecx, edi
call fcn.00417c14
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00415687
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004517b7
add ebp, 0x98
leave
ret
Function at 0x4143d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x49c1dc]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00451110
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [0x47630c]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.0041807e
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004517b7
leave
ret

Function at 0x414433
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x49c1dc]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 8
mov eax, 0x470d52
call fcn.004517c6
mov esi, dword [ebp + 0x114]
and dword [ebp - 0x10], 0
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.00451110
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x47ef18
call fcn.004167c3
lea eax, [ebp - 0x10]
push eax
call fcn.00417ed7
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004143d1
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x2c
push edi
push eax
call dword [0x476308]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00415687
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00415687
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0041807e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.004517b7
add ebp, 0x10c
leave
ret

Function at 0x414784
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x318
lea ebp, [esp - 4]
mov eax, dword [0x49c1dc]
xor eax, ebp
mov dword [ebp + 0x318], eax
push 0x10
mov eax, 0x470e12
call fcn.004517c6
mov eax, dword [ebp + 0x328]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x324]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00414746
mov esi, 0x105
push esi
xor ebx, ebx
lea eax, [ebp + 0x108]
push 0
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00451110
add esp, 0x10
push esi
lea eax, [ebp + 0x108]
push eax
call dword [0x476320]
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00451110
add esp, 0xc
push esi
lea eax, [ebp]
push eax
call dword [0x476310]
push esi
lea eax, [ebp + 0x210]
push 0
push eax
call fcn.00451110
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push esi
call dword [0x47630c]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0041807e
push dword [ebp - 0x10]
mov ecx, edi
push 0x47ef48
mov dword [ebp - 0x14], ebx
call fcn.0041a3c8
lea eax, [ebp + 0x108]
push eax
push 0x47ef3c
mov ecx, edi
call fcn.0041a3c8
lea eax, [ebp]
push eax
push 0x47ef2c
mov ecx, edi
call fcn.0041a3c8
lea eax, [ebp + 0x210]
push eax
push 0x47a720
mov ecx, edi
call fcn.0041a3c8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00415687
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x318]
xor ecx, ebp
call fcn.004517b7
add ebp, 0x31c
leave
ret
Function at 0x414e59
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x470e95
call fcn.004517c6
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041795c
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x47ef5c
mov byte [ebp - 4], 1
call fcn.004167c3
lea eax, [ebp - 0x14]
push eax
call fcn.00417ed7
add esp, 0x28
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00417b14
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00415687
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0041795c
call fcn.00414d54
pop ecx
push dword [ebp + 8]
call dword [0x476304]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00415687
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00415687
call fcn.0045189e
ret

Function at 0x416687
Capabilities:
Write file on windows

Disassembly:
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415ee8
mov ecx, eax
call fcn.004156fe
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415ee8
mov ecx, eax
call fcn.004156fe
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x416635
dec eax
je 0x416639
dec eax
dec eax
je 0x416697
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00415ce1
mov al, bl
jmp 0x41669d
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415ee8
mov ecx, eax
call fcn.004156fe
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x416679
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415ee8
mov ecx, eax
call fcn.004156fe
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00452089
add esp, 0x10
cmp edi, eax
jne 0x416623
cmp byte [esi + 0x41], 0
je 0x416697
test edi, edi
jne 0x4165d3
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004161f0
jmp 0x4165d3
mov bl, 1
jmp 0x416625
call fcn.004518b2
ret