Function at 0xeae1b0
Capabilities:
Create directory
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov eax, 0x4560
call fcn.00ed3420
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x455c], eax
mov eax, dword [esp + 0x4564]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x206
mov esi, edx
mov edi, ecx
lea edx, [esp + 0x415e]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4164], cx
call fcn.00ec1460
add esp, 0xc
push 0x206
lea ecx, [esp + 0x4366]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x436c], ax
call fcn.00ec1460
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
mov ebp, 1
push ebp
push 0x80000000
push esi
mov dword [esp + 0x5c], 0xeaec80
mov dword [esp + 0x60], 0xeaec70
mov dword [esp + 0x78], 0xeaec80
mov dword [esp + 0x7c], 0xeaec70
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x6c], eax
cmp eax, 0xffffffff
jne 0xeae27b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0xeae27b
lea eax, [ebx + 0xb]
jmp 0xeaea21
lea edx, [esp + 0x64]
mov dword [esp + 0x64], 0xeaebd0
mov dword [esp + 0x68], 0xeaec00
mov dword [esp + 0xf0], 0xeb17f0
mov dword [esp + 0xf4], 0xeb1850
mov dword [esp + 0xf8], 0xeb1860
mov dword [esp + 0xfc], 0xeb18c0
mov dword [esp + 0x100], edx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebx
call fcn.00eb18e0
lea eax, [esp + 0x70]
call fcn.00eaede0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x48]
call fcn.00eb1200
add esp, 8
cmp eax, ebx
je 0xeae311
lea eax, [esp + 0x40]
lea ecx, [esp + 0x70]
call fcn.00eaee40
jmp 0xeaea1f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov ecx, 0xf2d2dc
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xeae344
cmp dl, bl
je 0xeae340
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xeae344
add eax, 2
add ecx, 2
cmp dl, bl
jne 0xeae324
xor eax, eax
jmp 0xeae349
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0xeae356
mov dword [esp + 0x2c], ebp
jmp 0xeae3f7
mov ecx, 0xf2c7d4
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xeae380
cmp dl, bl
je 0xeae37c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xeae380
add eax, 2
add ecx, 2
cmp dl, bl
jne 0xeae360
xor eax, eax
jmp 0xeae385
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0xeae38f
mov dword [esp + 0x3c], ebp
jmp 0xeae3f7
mov ecx, 0xf2a640
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xeae3b6
cmp dl, bl
je 0xeae3b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xeae3b6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0xeae396
xor eax, eax
jmp 0xeae3bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0xeae3f7
mov ecx, 0xf2b078
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xeae3e6
cmp dl, bl
je 0xeae3e2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xeae3e6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0xeae3c6
xor eax, eax
jmp 0xeae3eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0xeaea1f
mov dword [esp + 0x30], ebp
xor ebp, ebp
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x20], ebp
cmp dword [esp + 0xb0], ebx
jbe 0xeaea0e
lea ebx, [ebx]
mov ecx, ebp
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, dword [esp + 0xb8]
mov eax, ebp
shr eax, 3
test byte [eax + ecx], dl
mov dword [esp + 0x38], eax
mov eax, ebx
setne al
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x2c], ebx
jne 0xeae468
cmp eax, ebx
je 0xeae468
cmp dword [esp + 0x30], ebx
je 0xeae9da
mov ecx, dword [esp + 0xe4]
mov esi, dword [ecx + ebp*4 + 4]
sub esi, dword [ecx + ebp*4]
lea eax, [ecx + ebp*4 + 4]
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x50]
jbe 0xeae4b9
mov edx, dword [esp + 0x14]
push edx
call fcn.00ebc112
lea eax, [esi + esi]
add esp, 4
mov dword [esp + 0x50], esi
cmp eax, ebx
je 0xeaea0e
push eax
call fcn.00ebc657
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0xeaea0e
jmp 0xeae4bd
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ebp*4]
mov ecx, dword [ecx]
sub ecx, eax
cmp edi, ebx
je 0xeae4f4
mov edx, dword [esp + 0xe8]
lea edx, [edx + eax*2]
cmp ecx, ebx
jbe 0xeae4f4
mov eax, edi
sub edx, edi
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0xeae4e5
cmp dword [esp + 0x2c], ebx
je 0xeae622
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0xeae522
mov cl, byte [esp + 0x34]
mov edx, dword [esp + 0x38]
test byte [edx + eax], cl
je 0xeae522
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + ebp*4]
jmp 0xeae524
xor eax, eax
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x4134]
call fcn.00eae150
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + ebp*8 + 8]
mov ecx, dword [eax + ebp*8 + 0xc]
add esp, 4
sub edx, dword [eax + ebp*8]
sbb ecx, dword [eax + ebp*8 + 4]
push ecx
push edx
lea ecx, [esp + 0x4140]
call fcn.00eade00
mov eax, dword [esp + 0xd4]
add esp, 8
cmp eax, ebx
je 0xeae593
mov dl, byte [esp + 0x34]
mov ecx, dword [esp + 0x38]
test byte [ecx + eax], dl
je 0xeae593
mov edx, dword [esp + 0xd0]
lea eax, [edx + ebp*8]
push eax
lea edi, [esp + 0x4114]
call fcn.00eadee0
add esp, 4
jmp 0xeae5ca
mov eax, 0x20202020
mov dword [esp + 0x4110], eax
mov dword [esp + 0x4114], eax
mov dword [esp + 0x4118], eax
mov dword [esp + 0x411c], eax
mov word [esp + 0x4120], ax
mov byte [esp + 0x4122], al
mov byte [esp + 0x4123], bl
lea ecx, [esp + 0x4138]
push ecx
lea edx, [esp + 0x4134]
push edx
lea eax, [esp + 0x4118]
push eax
push str._s__s__10s
call fcn.00ec383b
mov eax, dword [esp + 0x24]
add esp, 0x10
call fcn.00eadda0
test eax, eax
jne 0xeaea0e
cmp dword [esp + 0x24], ebx
je 0xeae613
push 0xf2d2f0
call fcn.00ec383b
add esp, 4
push 0xf29f8c
call fcn.00ec383b
jmp 0xeae9d7
mov esi, str.Testing
cmp dword [esp + 0x3c], ebx
jne 0xeae632
mov esi, str.Extracting
call fcn.00ebc1a0
add eax, 0x20
push eax
push esi
call fcn.00ec372c
add esp, 8
mov eax, edi
call fcn.00eadda0
test eax, eax
jne 0xeaea0e
cmp dword [esp + 0x24], ebx
je 0xeae668
push 0xf2d2f0
call fcn.00ec383b
add esp, 4
jmp 0xeae6ab
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x10c]
push ebp
push edx
lea eax, [esp + 0x94]
call fcn.00eb15b0
add esp, 0x24
test eax, eax
jne 0xeaea0e
cmp dword [esp + 0x3c], ebx
jne 0xeae9c9
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x18], eax
cmp word [eax], bx
je 0xeae829
mov edi, eax
lea ebx, [ebx]
cmp word [edi], 0x2f
jne 0xeae817
cmp dword [esp + 0x30], ebx
je 0xeae810
push 0x208
lea ecx, [esp + 0x415c]
xor eax, eax
push ebx
push ecx
mov word [edi], ax
call fcn.00ec1460
add esp, 0xc
push 0x208
lea edx, [esp + 0x4364]
push ebx
push edx
call fcn.00ec1460
mov esi, dword [esp + 0x54]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae720
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x415c]
push esi
push ecx
call fcn.00ec08c0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0xeae750
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae750
sub eax, edx
sar eax, 1
mov edx, 0x5c
mov word [esp + eax*2 + 0x4158], dx
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae773
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x4158]
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae790
sub eax, esi
lea ecx, [edx + edx]
mov edx, dword [esp + 0x14]
push ecx
sar eax, 1
push edx
lea eax, [esp + eax*2 + 0x4160]
push eax
call fcn.00ec08c0
lea eax, [esp + 0x4164]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae7c2
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x415c]
push edx
lea eax, [esp + 0x4368]
push eax
call fcn.00ec08c0
add esp, 0xc
push ebx
lea ecx, [esp + 0x4364]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xeae806
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5c
mov word [edi], dx
jmp 0xeae817
add edi, 2
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
inc ebp
cmp word [eax + ebp*2], bx
lea edi, [eax + ebp*2]
jne 0xeae6d0
push 0x208
lea ecx, [esp + 0x415c]
push ebx
push ecx
call fcn.00ec1460
mov esi, dword [esp + 0x54]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0xeae850
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae850
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x415c]
push esi
push eax
call fcn.00ec08c0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae880
sub eax, edx
sar eax, 1
mov ecx, 0x5c
mov word [esp + eax*2 + 0x4158], cx
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae8a3
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x4158]
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xeae8c0
mov ecx, dword [esp + 0x18]
add edx, edx
sub eax, esi
push edx
sar eax, 1
push ecx
lea edx, [esp + eax*2 + 0x4160]
push edx
call fcn.00ec08c0
add esp, 0xc
push ebx
cmp dword [esp + 0x28], ebx
je 0xeae90f
lea eax, [esp + 0x415c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xeae9c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0xeae9c9
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x4170]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0xeae945
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0xeae9ee
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
add eax, edx
push ecx
lea edi, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.00eaeac0
add esp, 4
test eax, eax
jne 0xeae9fc
cmp dword [esp + 0x1c], ebp
jne 0xeae9fc
cmp esi, 0xffffffff
je 0xeae994
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0xeae994
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0xeae9f5
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0xeae9c9
mov dl, byte [esp + 0x34]
mov ecx, dword [esp + 0x38]
test byte [ecx + eax], dl
je 0xeae9c9
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
push ecx
lea edx, [esp + 0x415c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xf29f8c
call fcn.00ec383b
mov ebp, dword [esp + 0x24]
add esp, 4
inc ebp
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0xb0]
jb 0xeae420
jmp 0xeaea0e
push str.can_not_open_output_file
jmp 0xeaea01
push str.can_not_close_output_file
jmp 0xeaea01
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.00ec383b
add esp, 8
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [esp + 0x4c]
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x456c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00eb9637
add esp, 0x4560
ret