Function at 0x47e7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 8]
xor eax, eax
push esi
mov byte [esp + 0x15], al
call dword [0x4c011c]
xor ecx, ecx
mov ebx, eax
push ecx
push str.buffers
lea ecx, [edi + 0xa7c]
call fcn.00452214
push esi
lea ecx, [esp + 0x68]
mov edi, eax
call fcn.0042e6e9
xor eax, eax
mov dword [esp + 0x2f8], eax
cmp ebx, 0xffffffff
je 0x47e8ee
test bl, 0x10
je 0x47ecfc
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push str.open.filter
push eax
lea ecx, [ebx + 0xa7c]
call fcn.00452177
mov edx, eax
mov byte [esp + 0x2f8], 1
lea ecx, [esp + 0x7c]
call fcn.00430ca8
mov byte [esp + 0x2f8], 2
cmp dword [eax + 0x14], 8
jb 0x47e8ae
mov eax, dword [eax]
push eax
sub esp, 0x18
lea eax, [esp + 0x80]
mov ecx, esp
push eax
call fcn.0040ef9e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x60]
xor eax, eax
lea ecx, [esp + 0x7c]
push eax
push 1
call fcn.0040f05a
xor eax, eax
lea ecx, [esp + 0x4c]
push eax
push 1
call fcn.0040177c
mov byte [esp + 0x11], 1
jmp 0x47ecfa
cmp edi, 1
jle 0x47e9b9
lea eax, [esp + 0x94]
push eax
push esi
call dword [0x4c02e8]
mov esi, eax
cmp esi, 0xffffffff
je 0x47e9b9
lea eax, [esp + 0x34]
mov byte [esp + 0x11], 1
push eax
lea ecx, [esp + 0x68]
call fcn.0042eae9
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x2f8], 3
test byte [esp + 0x94], 0x10
jne 0x47e988
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x50]
call fcn.0042f8f2
xor eax, eax
mov byte [esp + 0x2f8], 4
push eax
sub esp, 0x18
lea eax, [esp + 0x68]
mov ecx, esp
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0042e708
mov ecx, ebx
call fcn.00472426
xor eax, eax
mov byte [esp + 0x2f8], 3
push eax
push 1
lea ecx, [esp + 0x54]
call fcn.0040f05a
dec edi
test edi, edi
jle 0x47e99f
lea eax, [esp + 0x94]
push eax
push esi
call dword [0x4c02b8]
test eax, eax
jne 0x47e930
push esi
call dword [0x4c02c0]
lea ecx, [esp + 0x34]
xor eax, eax
push eax
push 1
call fcn.0040f05a
jmp 0x47ecfa
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x68]
call fcn.0042e9b5
xor ecx, ecx
cmp ecx, dword [eax + 0x10]
lea ecx, [esp + 0x7c]
sbb bl, bl
xor eax, eax
push eax
push 1
call fcn.0040f05a
lea ecx, [esp + 0x64]
inc bl
je 0x47eb51
lea eax, [esp + 0x4c]
mov byte [esp + 0x11], 1
push eax
call fcn.0042eae9
mov byte [esp + 0x2f8], 5
cmp dword [esp + 0x5c], 0
ja 0x47ea4e
push 0x4d8a48
lea ecx, [esp + 0x80]
call fcn.0042f8f2
push 0xffffffffffffffff
xor ebx, ebx
mov byte [esp + 0x2fc], 6
push ebx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x58]
call fcn.0040efc6
push ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x300], 5
call fcn.0040f05a
jmp 0x47ea50
xor ebx, ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x68]
call fcn.0042e958
mov byte [esp + 0x2f8], 7
xor eax, eax
mov esi, 0x4ed5d8
mov dword [esp + 0x30], 7
push esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00495da8
pop ecx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0042fe27
mov byte [esp + 0x2f8], 8
cmp dword [esp + 0x48], 8
mov esi, dword [esp + 0x34]
jae 0x47eaa7
lea esi, [esp + 0x34]
cmp word [esi], bx
jne 0x47eab0
mov eax, ebx
jmp 0x47eab7
push esi
call fcn.00495da8
pop ecx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0042fd84
mov esi, 0x4ed5dc
push esi
call fcn.00495da8
pop ecx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0042fd84
cmp dword [esp + 0x48], 8
mov esi, dword [esp + 0x34]
jae 0x47eae8
lea esi, [esp + 0x34]
cmp word [esi], bx
jne 0x47eaf1
mov eax, ebx
jmp 0x47eaf8
push esi
call fcn.00495da8
pop ecx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0042fd84
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x47eb12
lea eax, [esp + 0x1c]
push eax
sub esp, 0x18
lea ecx, [esp + 0x80]
push esp
call fcn.0042eae9
mov ebx, dword [esp + 0x30]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x60]
xor ebx, ebx
lea ecx, [esp + 0x1c]
push ebx
push 1
call fcn.0040f05a
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0040f05a
lea ecx, [esp + 0x4c]
jmp 0x47e9aa
lea eax, [esp + 0x7c]
push eax
call fcn.0042ea73
xor ecx, ecx
cmp ecx, dword [eax + 0x10]
lea ecx, [esp + 0x7c]
sbb bl, bl
xor eax, eax
push eax
push 1
call fcn.0040f05a
inc bl
je 0x47ecfa
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push str.source.default.extensions
push eax
lea ecx, [ebx + 0xa7c]
call fcn.00452177
mov byte [esp + 0x2f8], 9
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x47ecec
mov ecx, dword [esp + 0x1c]
xor eax, eax
push 0x10
pop edi
mov byte [esp + 0x13], al
mov eax, ecx
mov byte [esp + 0x12], 0x7c
cmp dword [esp + 0x30], edi
jae 0x47ebc3
lea eax, [esp + 0x1c]
add eax, edx
cmp dword [esp + 0x30], edi
jae 0x47ebcf
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x1b]
lea ecx, [esp + 0x1a]
call fcn.004115a0
xor esi, esi
pop ecx
pop ecx
cmp dword [esp + 0x2c], esi
jbe 0x47ecec
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x47ebfa
lea eax, [esp + 0x1c]
lea edx, [eax + esi]
lea ecx, [esp + 0x4c]
call fcn.00430c28
mov byte [esp + 0x2f8], 0xa
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x47ec1d
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
call fcn.0042f8f2
push 0xffffffffffffffff
xor eax, eax
mov byte [esp + 0x2fc], 0xb
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x40]
call fcn.0042fcdf
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x47ec51
lea eax, [esp + 0x34]
push eax
call dword [0x4c011c]
cmp eax, 0xffffffff
jne 0x47eca7
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x47ec6b
lea eax, [esp + 0x1c]
add eax, esi
push eax
call fcn.004914f0
pop ecx
inc esi
lea ecx, [esp + 0x34]
add esi, eax
xor eax, eax
push eax
push 1
call fcn.0040f05a
xor eax, eax
mov byte [esp + 0x2f8], 9
push eax
push 1
lea ecx, [esp + 0x54]
call fcn.0040f05a
cmp esi, dword [esp + 0x2c]
jb 0x47ebec
jmp 0x47ecec
xor eax, eax
mov byte [esp + 0x11], 1
cmp dword [esp + 0x48], 8
push eax
mov eax, dword [esp + 0x38]
jae 0x47ecbe
lea eax, [esp + 0x38]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0042e6e9
mov ecx, ebx
call fcn.00472426
xor eax, eax
lea ecx, [esp + 0x34]
push eax
push 1
call fcn.0040f05a
xor eax, eax
lea ecx, [esp + 0x4c]
push eax
push 1
call fcn.0040f05a
xor eax, eax
lea ecx, [esp + 0x1c]
push eax
push 1
call fcn.0040177c
xor eax, eax
push eax
push 1
lea ecx, [esp + 0x6c]
call fcn.0040f05a
mov al, byte [esp + 0x11]
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4