Function at 0x100225e0
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x10045621
call fcn.1002eafc
mov esi, dword [ebp + 0x24]
mov ebx, ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
jae 0x10022605
lea eax, [ebp + 8]
push eax
call fcn.10030590
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
pop ecx
jae 0x10022618
lea eax, [ebp + 8]
push 0x10048308
push eax
call fcn.1002f013
pop ecx
pop ecx
add esi, 0x61
push esi
sub esp, 0x1c
mov edi, eax
lea eax, [ebx + 0xec]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.10001716
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.100224b7
mov eax, dword [ebp - 0x20]
push edi
xor esi, esi
inc esi
push esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 4
push eax
call fcn.1002fd32
mov eax, dword [ebp - 0x30]
add esp, 0x10
cmp dword [ebp - 0x1c], 0x10
jae 0x1002266f
lea eax, [ebp - 0x30]
push edi
push dword [ebp - 0x20]
push esi
push eax
call fcn.1002fd32
push edi
call fcn.1002e4de
add esp, 0x14
push 0
push esi
lea ecx, [ebp - 0x30]
call fcn.100012ee
push 0
push esi
jmp 0x1002269d
lea ecx, [ebp + 8]
call fcn.100012ee
call fcn.1002eb58
ret 0x20

Function at 0x1002270d
Capabilities:
Get common file path

Disassembly:
push 0x30c
mov eax, 0x100456b4
call fcn.1002eac6
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
push 0x40
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 4], ebx
call fcn.10022164
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x114]
push 0x10047658
push eax
call fcn.10030010
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
pop ecx
pop ecx
jae 0x10022781
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10030010
lea eax, [ebp - 0x114]
push eax
call fcn.1002dd10
add esp, 0xc
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x234]
call fcn.100016a1
push 1
lea ecx, [ebp - 0x318]
call fcn.100222b8
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 1
jae 0x100227d6
lea eax, [ebp - 0x234]
push 0x40
push 0x12
push eax
lea ecx, [ebp - 0x318]
call fcn.100220f7
cmp dword [ebp - 0x2c0], ebx
je 0x10022894
push 0x101
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1002eb70
add esp, 0xc
push pe_nt_image_headers32
lea eax, [ebp - 0x218]
push eax
push dword [0x1009c388]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.10002b9d
sub esp, 0x1c
lea eax, [ebp - 0x250]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
mov byte [ebp - 4], 2
call fcn.10001716
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.10022457
push eax
lea eax, [ebp - 0x318]
push eax
mov byte [ebp - 4], 3
call fcn.10021e2e
push eax
call fcn.1002214a
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x26c]
call fcn.100012ee
push ebx
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.100012ee
lea ecx, [ebp - 0x318]
call fcn.100073f4
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], bl
call fcn.1000748b
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.100012ee
call fcn.1002eb49
ret