Function at 0x47bfd0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51470e
mov eax, dword fs:[0]
push eax
sub esp, 0x7a8
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x7a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x7bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7cc]
xor edi, edi
mov ecx, 0xa
mov edx, fcn.004ed893
mov esi, fcn.004ee443
mov ebp, fcn.004ed7b6
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x7c4], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebp
lea ebx, [eax + 0x63bc]
push ebx
lea ecx, [esp + 0x400]
mov dword [esp + 0x24], ebx
call fcn.004175e0
push 0x5463d8
push 0x549858
lea edx, [esp + 0x404]
call fcn.00417ed0
push str.certificate
push 0x549858
lea edx, [esp + 0x40c]
call fcn.00417ed0
push 0x550e50
push 0x549858
lea edx, [esp + 0x414]
call fcn.00417ed0
push 0x24c
lea eax, [esp + 0x544]
push edi
push eax
mov dword [esp + 0x548], edi
call fcn.004f2770
add esp, 0x24
cmp byte [esp + 0x518], 0
lea eax, [esp + 0x408]
jne 0x47c10e
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x524]
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x47c3d9
jmp 0x47c130
mov ecx, 0x546720
lea eax, [esp + 0x550]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47c166
cmp dx, di
je 0x47c162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47c166
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47c140
xor eax, eax
jmp 0x47c16b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x47c3bb
mov ecx, 0x546724
lea eax, [esp + 0x550]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47c1a6
cmp dx, di
je 0x47c1a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47c1a6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47c180
xor eax, eax
jmp 0x47c1ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x47c3bb
test byte [esp + 0x524], 0x10
jne 0x47c3bb
lea ecx, [esp + 0x2d4]
call fcn.004174b0
mov eax, ebx
lea edx, [esp + 0x2d4]
mov byte [esp + 0x7c4], 3
call fcn.00417710
push edi
push edi
push edi
push edi
push edi
lea edx, [esp + 0x564]
push edx
lea ecx, [esp + 0xa4]
call fcn.0041dc60
cmp byte [esp + 0x1a8], 0
lea eax, [esp + 0x98]
jne 0x47c214
mov eax, dword [esp + 0x94]
cmp word [eax + 4], 0x2e
jne 0x47c231
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x2d8]
call fcn.0041f1b0
jmp 0x47c245
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x2d8]
call fcn.0041e2f0
cmp byte [esp + 0x1a8], 0
mov dword [esp + 0x8c], vtable.t_str.0
jne 0x47c275
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
je 0x47c275
push eax
call fcn.004ed7b6
add esp, 4
lea eax, [esp + 0x550]
push str.certificate
push eax
mov byte [esp + 0x7cc], 4
call fcn.004ecf82
add esp, 8
test eax, eax
jne 0x47c37e
mov dword [esp + 0x28], fcn.004ed893
mov dword [esp + 0x2c], fcn.004ee443
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x8000
mov dword [esp + 0x24], vtable.t_heap.0
mov dword [esp + 0x3c], edi
mov byte [esp + 0x40], al
mov byte [esp + 0x7c4], 5
cmp byte [esp + 0x3f0], al
lea eax, [esp + 0x2e0]
jne 0x47c2e9
mov eax, dword [esp + 0x2dc]
lea edx, [esp + 0x24]
lea ecx, [eax + 4]
push edx
call fcn.0047e770
test al, al
je 0x47c34d
lea eax, [esp + 0x774]
push eax
lea eax, [esp + 0x28]
call fcn.0047d600
test al, al
je 0x47c34d
lea ecx, [esp + 0x774]
push ecx
lea ecx, [esp + 0x1b4]
call fcn.004175e0
lea edx, [esp + 0x1b0]
push edx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x7cc], 6
call fcn.0047a620
lea ecx, [esp + 0x1b0]
call fcn.00417650
mov byte [esp + 0x7c4], 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, edi
je 0x47c38b
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x38], ecx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
jne 0x47c365
jmp 0x47c38b
push edi
lea ecx, [esp + 0x2d8]
call fcn.0041eca0
cmp byte [esp + 0x3f0], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x47c3bb
mov eax, dword [esp + 0x2dc]
lea edx, [esp + 0x2e0]
cmp eax, edx
je 0x47c3bb
push eax
call fcn.004ed7b6
add esp, 4
lea eax, [esp + 0x524]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47c130
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x51c], edi
je 0x47c3e9
mov dword [esp + 0x51c], edi
mov ecx, 1
lea esi, [esp + 0x404]
mov dword [esp + 0x400], edi
call fcn.00418590
cmp byte [esp + 0x518], 0
lea eax, [esp + 0x408]
jne 0x47c419
mov eax, dword [esp + 0x404]
xor ecx, ecx
push ebx
push 0x549858
lea edx, [esp + 0x404]
mov word [eax + 4], cx
call fcn.00417ed0
push 0x550ba4
push 0x549858
lea edx, [esp + 0x40c]
call fcn.00417ed0
push 0x250
lea edx, [esp + 0x538]
push edi
push edx
call fcn.004f2770
add esp, 0x1c
cmp byte [esp + 0x518], 0
lea eax, [esp + 0x408]
jne 0x47c475
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x524]
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x47c5a4
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov bl, 7
lea ebx, [ebx]
mov ecx, 0x546720
lea eax, [esp + 0x550]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47c4d6
cmp dx, di
je 0x47c4d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47c4d6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47c4b0
xor eax, eax
jmp 0x47c4db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x47c58a
mov ecx, 0x546724
lea eax, [esp + 0x550]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47c516
cmp dx, di
je 0x47c512
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47c516
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47c4f0
xor eax, eax
jmp 0x47c51b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x47c58a
test byte [esp + 0x524], 0x10
je 0x47c58a
lea edx, [esp + 0x550]
push edx
lea ecx, [esp + 0x90]
call fcn.004175e0
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x70]
mov byte [esp + 0x7cc], bl
call fcn.0047a620
cmp byte [esp + 0x1a8], 0
mov dword [esp + 0x8c], vtable.t_str.0
jne 0x47c58a
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
je 0x47c58a
push eax
call fcn.004ed7b6
add esp, 4
lea eax, [esp + 0x524]
push eax
push esi
call ebp
test eax, eax
jne 0x47c4a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x47c88f
mov esi, dword [esp + 0x44]
test esi, esi
je 0x47c602
lea esp, [esp]
cmp byte [esi + 0x124], 0
lea ecx, [esi + 0x14]
jne 0x47c5cf
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x124], 0
je 0x47c5e1
add eax, 0x14
jmp 0x47c5e4
mov eax, dword [eax + 0x10]
add ecx, 4
push ecx
add eax, 4
push eax
call fcn.004ecf82
add esp, 8
test eax, eax
je 0x47c87d
mov esi, dword [esi]
test esi, esi
jne 0x47c5c0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x124], 0
je 0x47c614
add eax, 0x14
jmp 0x47c617
mov eax, dword [eax + 0x10]
mov ecx, 4
mov word [esp + 0x3ee], cx
lea edx, [esp + 0x2e0]
mov ecx, 1
lea esi, [esp + 0x2dc]
lea ebx, [eax + 4]
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
mov byte [esp + 0x3f0], 1
mov dword [esp + 0x2dc], edx
mov dword [esp + 0x2e0], 0
mov dword [esp + 0x3f4], 0
mov dword [esp + 0x2d8], 0
call fcn.00418590
cmp byte [esp + 0x3f0], 0
lea eax, [esp + 0x2e0]
jne 0x47c692
mov eax, dword [esp + 0x2dc]
xor ecx, ecx
mov word [eax + 4], cx
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x7c4], 8
test ebp, ebp
jne 0x47c6ad
mov ebp, 0x544b54
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c6b2
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x2dc]
mov dword [esp + 0x2d8], eax
call fcn.00418590
cmp byte [esp + 0x3f0], 0
lea eax, [esp + 0x2e0]
jne 0x47c6f1
mov eax, dword [esp + 0x2dc]
lea edx, [edi + edi]
push edx
add eax, 4
push ebp
push eax
call fcn.004f27f0
add esp, 0xc
test ebx, ebx
je 0x47c81f
push 0
push 0
push 0
push 0
push 0
push ebx
lea ecx, [esp + 0xa4]
call fcn.0041dc60
mov cl, byte [esp + 0x1a8]
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
test cl, cl
jne 0x47c73c
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x47c795
test cl, cl
je 0x47c74e
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x90]
lea esi, [eax + 4]
mov eax, dword [esp + 0x2d8]
cmp eax, ecx
jbe 0x47c7e2
cmp byte [esp + 0x3f0], 0
lea edx, [esp + 0x2e0]
jne 0x47c77f
mov edx, dword [esp + 0x2dc]
sub eax, ecx
lea eax, [edx + eax*2 + 4]
push esi
push eax
call fcn.004ecf82
add esp, 8
test eax, eax
je 0x47c7ef
jmp 0x47c7e2
test cl, cl
je 0x47c7a0
lea eax, [esp + 0x98]
lea esi, [eax + 4]
mov eax, dword [esp + 0x2d8]
test eax, eax
je 0x47c7d1
cmp byte [esp + 0x3f0], 0
lea ecx, [esp + 0x2e0]
jne 0x47c7c6
mov ecx, dword [esp + 0x2dc]
movzx eax, word [ecx + eax*2 + 2]
cmp ax, 0x5c
je 0x47c7e2
push 0x5463d8
lea eax, [esp + 0x2d8]
call fcn.004179c0
push esi
lea eax, [esp + 0x2d8]
call fcn.004179c0
cmp byte [esp + 0x1a8], 0
mov dword [esp + 0x8c], vtable.t_str.0
jne 0x47c81f
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x47c81f
push eax
call fcn.004ed7b6
add esp, 4
mov byte [esp + 0x7c4], 9
cmp byte [esp + 0x3f0], 0
lea eax, [esp + 0x2e0]
jne 0x47c83f
mov eax, dword [esp + 0x2dc]
add eax, 4
push 1
push eax
call fcn.00421590
add esp, 8
cmp byte [esp + 0x3f0], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x47c87d
mov eax, dword [esp + 0x2dc]
lea edx, [esp + 0x2e0]
cmp eax, edx
je 0x47c87d
push eax
call fcn.004ed7b6
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x47c5b4
cmp byte [esp + 0x518], 0
mov dword [esp + 0x3fc], 0x549898
jne 0x47c8bf
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x408]
cmp eax, ecx
je 0x47c8bf
push eax
call fcn.004ed7b6
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x7c4], 0
call fcn.00476a00
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c4], 0xffffffff
call fcn.00476a00
mov ecx, dword [esp + 0x7bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7a0]
xor ecx, esp
call fcn.004ecddb
add esp, 0x7b4
ret 4