Function at 0x4986c2
Capabilities:
Enumerate files on windows
Enumerate files recursively
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1bb4
call fcn.00411aa0
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x1bb0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x2c]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x30]
xor ebx, ebx
push 0x13c
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x70]
push ebx
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x74], ebx
call fcn.00401f80
add esp, 0xc
mov esi, 0x7ff
push esi
lea eax, [esp + 0x3bd]
push ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c4], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0xbbd]
push ebx
push eax
mov byte [esp + 0xbc4], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0x13bd]
push ebx
push eax
mov byte [esp + 0x13c4], bl
call fcn.00401f80
add esp, 0xc
mov edx, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00439c75
test eax, eax
je 0x4987a2
call fcn.00498672
xor eax, eax
jmp 0x49940c
mov edx, dword [esp + 0x14]
call fcn.00439c75
test eax, eax
jne 0x498796
push edi
mov ecx, 0x800
lea eax, [esp + 0xbbc]
call fcn.00438aa8
mov edx, dword [esp + 0x3c]
pop ecx
call fcn.00439c75
mov edi, eax
neg edi
sbb edi, edi
inc edi
mov dword [esp + 0x44], edi
cmp dword [esp + 0x38], ebx
jne 0x498810
cmp dword [ebp + 0x28], ebx
je 0x498810
xor eax, eax
mov word [esp + 0x58], ax
lea edi, [esp + 0x5a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x4f517c
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x498829
push dword [esp + 0x38]
lea ecx, [esp + 0xbbc]
call fcn.00439928
jmp 0x498931
lea esi, [esp + 0xbb8]
call fcn.00439776
cmp byte [esp + 0xbb8], bl
je 0x498857
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x498857
push 0x4ae898
jmp 0x49886e
lea eax, [esp + 0xbb8]
push eax
call fcn.0048ca6c
pop ecx
test eax, eax
je 0x49887d
push 0x4ae89c
lea eax, [esp + 0xbbc]
push eax
call fcn.00401bb0
pop ecx
pop ecx
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x49889e
push dword [esp + 0x14]
call fcn.0048ca6c
pop ecx
test eax, eax
je 0x49891a
push dword [esp + 0x14]
mov edi, 0x800
mov ecx, edi
lea eax, [esp + 0x13bc]
call fcn.00438aa8
pop ecx
push dword [esp + 0x14]
call fcn.0048ca6c
pop ecx
test eax, eax
jne 0x4988d3
push 3
pop eax
lea esi, [esp + 0x13b8]
call fcn.0043a961
push str..ark
mov eax, edi
lea esi, [esp + 0x13bc]
call fcn.00439c34
mov eax, esi
pop ecx
mov dword [esp + 0x14], eax
xor esi, esi
lea edi, [esp + 0x13b8]
call fcn.0048e806
test eax, eax
je 0x49891a
mov eax, edi
push str..ark
push eax
call fcn.00401bb0
inc esi
pop ecx
mov eax, edi
pop ecx
mov dword [esp + 0x14], eax
cmp esi, 0xa
jl 0x4988ef
push dword [esp + 0x14]
mov ecx, 0x800
mov eax, 0x4f4178
call fcn.00438aa8
mov edi, dword [esp + 0x48]
pop ecx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0xbbc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x498796
mov dword [esp + 0xc], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x94]
call fcn.00438922
cmp byte [esp + 0x94], bl
je 0x49904e
test byte [esp + 0x68], 0x10
jne 0x499064
cmp byte [esp + 0x94], 0x2e
je 0x499064
cmp dword [ebp + 0x18], ebx
jne 0x4989a4
test byte [esp + 0x68], 2
jne 0x499064
cmp dword [ebp + 0x1c], ebx
jne 0x4989b4
test byte [esp + 0x68], 4
jne 0x499064
cmp edi, ebx
jne 0x498ab1
push dword [esp + 0x14]
lea edx, [esp + 0x98]
call fcn.00439a48
pop ecx
test eax, eax
je 0x498ab1
mov esi, 0x103
push esi
lea eax, [esp + 0x1ad]
push ebx
push eax
mov byte [esp + 0x1b4], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0x2b5]
push ebx
push eax
mov byte [esp + 0x2bc], bl
call fcn.00401f80
add esp, 0xc
lea eax, [esp + 0xbb8]
push eax
inc esi
mov ecx, esi
lea eax, [esp + 0x1ac]
mov dword [esp + 0x4c], ebx
call fcn.00438aa8
pop ecx
call fcn.004388e1
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x1ac]
push eax
call fcn.00401bb0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1b4]
push eax
call fcn.00401811
add esp, 0x10
test eax, eax
jne 0x498a7a
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1ac]
push eax
push esi
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2b4]
push eax
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x2b0]
push eax
lea eax, [esp + 0x1ac]
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x499064
mov esi, dword [0x4f4170]
cmp esi, ebx
je 0x498af8
lea eax, [esp + 0x94]
push eax
call fcn.00437aab
pop ecx
test eax, eax
je 0x498af8
lea eax, [esp + 0x94]
push eax
call fcn.004376b2
mov esi, dword [0x4f4170]
pop ecx
call fcn.0043749f
test eax, eax
jg 0x499064
call fcn.00498672
jmp 0x499064
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00438aa8
pop ecx
call fcn.004388e1
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push eax
call fcn.00401bb0
push 0x865
push str.Archive.c
mov edx, 0x4ae668
lea ecx, [esp + 0x3c8]
call fcn.0048d3dd
add esp, 0x10
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x498b65
cmp dword [ebp + 0x20], ebx
je 0x499064
push 0x868
jmp 0x499058
cmp dword [esp + 0x10], ebx
jne 0x498c42
mov edi, dword [esp + 0x14]
call fcn.0048e806
test eax, eax
je 0x498c1a
cmp dword [ebp + 0x24], ebx
je 0x498b9d
push str..exe
mov esi, edi
call fcn.0043a84f
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x498c1a
mov ecx, dword [esp + 0x14]
push 0x86f
push str.Archive.c
mov edx, 0x4ae8a8
call fcn.0048d3dd
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x4990a5
mov esi, dword [esp + 0x14]
push str..exe
call fcn.0043a84f
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x498bea
mov esi, edi
call fcn.00497ead
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], ebx
jl 0x499086
push 2
push ebx
push edi
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x498c38
cmp dword [ebp + 0x20], ebx
je 0x498c38
push 0x881
push str._n________ERROR__d________
call fcn.00495559
jmp 0x498c36
mov ecx, dword [esp + 0x14]
push 0x887
push str.Archive.c
mov edx, 0x4ae810
call fcn.0048d3dd
mov dword [esp + 0x18], eax
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4990a5
cmp dword [esp + 0x18], ebx
jne 0x498c62
push 1
push 0xc366
call fcn.00401a3a
pop ecx
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4990b1
mov esi, dword [esp + 0x10]
push esi
call fcn.0040278d
pop ecx
mov dword [esp + 0x50], eax
cmp eax, ebx
jl 0x4990bd
sub eax, dword [esp + 0x28]
jne 0x498d1c
push esi
xor edi, edi
inc edi
push edi
lea eax, [esp + 0x48]
push 4
push eax
mov dword [esp + 0x50], ebx
call fcn.0040257f
add esp, 0x10
cmp eax, edi
jb 0x4990c9
push esi
push edi
lea eax, [esp + 0x44]
push 4
push eax
mov dword [esp + 0x4c], ebx
call fcn.0040257f
add esp, 0x10
cmp eax, edi
jb 0x4990d5
push 8
push ebx
mov edi, 0x4f5184
push edi
call fcn.00401f80
add esp, 0xc
push esi
push 1
push 8
push edi
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jb 0x4990e1
mov esi, str.222PAULAARCHIVE222JesusIAdoreYou
push esi
push 0x4ae8ac
push dword [esp + 0x18]
call fcn.00402261
add esp, 0xc
test eax, eax
jle 0x4990ed
push esi
call fcn.00401a80
pop ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 0x10]
mov dword [esp + 0x50], eax
jmp 0x498d21
mov edi, 0x4f5184
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push 1
push 4
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jb 0x4990f9
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x498db1
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00438aa8
pop ecx
call fcn.004388e1
mov eax, esi
call fcn.00438ae8
test eax, eax
jne 0x498d83
lea eax, [esp + 0x3b8]
push eax
call fcn.00438a33
pop ecx
test eax, eax
jne 0x498dc2
push ebx
lea eax, [esp + 0x3bc]
push esi
push eax
call fcn.0043a806
add esp, 0xc
lea esi, [esp + 0x3b8]
call fcn.00439b3a
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.0043aa46
jmp 0x498dc2
push dword [esp + 0x38]
lea ecx, [esp + 0x98]
call fcn.00439928
pop ecx
push dword [esp + 0x10]
lea eax, [esp + 0x98]
push eax
call fcn.00401a80
pop ecx
inc eax
push eax
lea eax, [esp + 0x9c]
push 1
push eax
call fcn.0040257f
mov esi, eax
lea eax, [esp + 0xa4]
push eax
call fcn.00401a80
add esp, 0x14
inc eax
cmp esi, eax
jb 0x499105
lea esi, [esp + 0x94]
call fcn.00438922
cmp dword [ebp + 0x28], ebx
je 0x498e26
mov eax, dword [0x4f517c]
mov dword [esp + 0x7c], eax
mov eax, dword [0x4f5180]
mov dword [esp + 0x80], eax
push dword [esp + 0x10]
lea eax, [esp + 0x80]
push 1
push 8
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jb 0x499114
push edi
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x498e6f
mov eax, dword [esp + 0x7c]
mov dword [0x4f5184], eax
mov eax, dword [esp + 0x80]
mov dword [0x4f5188], eax
inc dword [esp + 0x2c]
cmp dword [ebp + 0x20], ebx
je 0x498e8c
lea eax, [esp + 0x94]
push eax
push str._nAdding:___s_
call fcn.00495559
pop ecx
pop ecx
push dword [esp + 0x24]
mov edi, 0x56ce
push edi
push 1
push dword [esp + 0x24]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], ebx
call fcn.00402244
movzx esi, ax
add esp, 0x10
cmp si, bx
jbe 0x498f9c
mov ebx, dword [esp + 0x18]
add ebx, edi
push dword [ebp + 0x34]
push dword [esp + 0x58]
push esi
push dword [esp + 0x24]
call fcn.004982dd
push dword [esp + 0x20]
movzx eax, ax
push 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.0040257f
add esp, 0x20
cmp eax, 1
jae 0x498f10
cmp dword [ebp + 0x20], 0
je 0x498f0b
push 0x926
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
and dword [esp + 0xc], 0
push dword [esp + 0x10]
movzx eax, word [esp + 0x38]
push eax
push 1
push ebx
call fcn.0040257f
movzx ecx, word [esp + 0x44]
add esp, 0x10
cmp eax, ecx
jae 0x498f4a
cmp dword [ebp + 0x20], 0
je 0x498f45
push 0x92e
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
and dword [esp + 0xc], 0
add dword [esp + 0x20], 2
cmp si, di
jae 0x498f61
mov eax, dword [esp + 0x30]
inc dword [esp + 0x30]
cmp eax, 0xa
jg 0x498f9a
cmp dword [ebp + 0x20], 0
je 0x498f72
push 0x4ae7fc
call fcn.00495559
pop ecx
push dword [esp + 0x24]
movzx eax, word [esp + 0x38]
add dword [esp + 0x24], eax
push edi
push 1
push dword [esp + 0x24]
call fcn.00402244
movzx esi, ax
add esp, 0x10
test si, si
jne 0x498ec2
xor ebx, ebx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x498fcb
cmp dword [ebp + 0x20], ebx
je 0x498fc7
push 0x946
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push 1
push 4
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x498fff
cmp dword [ebp + 0x20], ebx
je 0x498ffb
push 0x94b
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
push 2
push ebx
push dword [esp + 0x18]
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x49902c
cmp dword [ebp + 0x20], ebx
je 0x499028
push 0x952
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x24]
call fcn.0048fcf9
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00401f80
add esp, 0xc
jmp 0x499064
cmp dword [ebp + 0x20], ebx
je 0x499064
push 0x826
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
je 0x499123
mov edi, dword [esp + 0x44]
jmp 0x498962
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x877
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
jmp 0x4993b8
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x88d
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x89e
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x8ab
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x8c0
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x8ca
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x8d4
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x8dd
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x8eb
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x903
jmp 0x499090
cmp dword [ebp + 0x20], ebx
je 0x49909c
push 0x910
jmp 0x499090
cmp dword [ebp + 0x14], ebx
je 0x4992b4
cmp dword [esp + 0x1c], ebx
je 0x49913c
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00438aa8
pop ecx
push eax
call fcn.00401a80
pop ecx
lea ecx, [esp + 0x3b8]
cmp byte [eax + ecx - 1], 0x5c
je 0x499172
mov eax, ecx
call fcn.004388e1
lea eax, [esp + 0x3b8]
push 0x4ae898
push eax
call fcn.00401bb0
pop ecx
pop ecx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4993c7
test byte [esp + 0x68], 0x10
je 0x49928e
lea esi, [esp + 0x94]
call fcn.00438922
cmp byte [esp + 0x94], bl
je 0x4992f9
cmp byte [esp + 0x94], 0x2e
je 0x4992a1
cmp dword [ebp + 0x18], ebx
jne 0x4991e8
test byte [esp + 0x68], 2
jne 0x4992a1
cmp dword [ebp + 0x1c], ebx
jne 0x4991f8
test byte [esp + 0x68], 4
jne 0x4992a1
cmp dword [esp + 0x18], ebx
je 0x49920c
push dword [esp + 0x18]
call fcn.00401a00
pop ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x49921d
call fcn.0048fcf9
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x20], ebx
je 0x499236
lea eax, [esp + 0x94]
push eax
push str._n____Searching_Directory:__s____
call fcn.00495559
pop ecx
pop ecx
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push 0x4ae8e4
push eax
call fcn.00401954
add esp, 0xc
push dword [ebp + 0x34]
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0xbc4]
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [esp + 0x78]
push dword [esp + 0x3c]
push eax
call fcn.004986c2
add esp, 0x30
add dword [esp + 0x2c], eax
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.00401f80
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
jne 0x4991a6
cmp dword [esp + 0x38], ebx
jne 0x4993c7
cmp dword [esp + 0x2c], ebx
jle 0x4993c7
cmp dword [esp + 0x10], ebx
jne 0x499311
mov ecx, dword [esp + 0x14]
push 0x9a6
push str.Archive.c
mov edx, 0x4ae8a8
call fcn.0048d3dd
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x499311
mov dword [esp + 0xc], ebx
jmp 0x4993d4
cmp dword [ebp + 0x20], ebx
je 0x4992a1
push 0x97b
push str._n________ERROR__d________
call fcn.00495559
pop ecx
pop ecx
jmp 0x4992a1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push ebx
add esi, 8
push esi
push edi
call fcn.0040287c
add esp, 0xc
push edi
push 1
push 8
push 0x4f5184
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x499342
mov dword [esp + 0xc], ebx
push ebx
push esi
push edi
call fcn.0040287c
add esp, 0xc
xor ecx, ecx
mov edx, edi
call fcn.00497cf1
push edi
mov dword [esp + 0x40], eax
call fcn.0040278d
pop ecx
push ebx
push dword [esp + 0x2c]
mov dword [esp + 0x48], eax
push edi
call fcn.0040287c
add esp, 0xc
push edi
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x48]
push 4
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, esi
jae 0x49938f
mov dword [esp + 0xc], ebx
push edi
push esi
lea eax, [esp + 0x44]
push 4
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, esi
jae 0x4993a8
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x20], ebx
je 0x4993c7
push str._nDone_
call fcn.00495559
pop ecx
cmp dword [esp + 0x24], ebx
je 0x4993c7
mov ecx, dword [esp + 0x24]
call fcn.0048fcf9
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4993d4
call fcn.0048fcf9
cmp dword [esp + 0x1c], ebx
je 0x4993eb
cmp dword [esp + 0x1c], 0xffffffff
je 0x4993eb
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], ebx
je 0x4993fb
push dword [esp + 0x18]
call fcn.00401a00
pop ecx
call fcn.00498672
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
and eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1bbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret