Function at 0x4607c9
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.00411840
mov eax, dword [0x4832e4]
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.00429ac3
test eax, eax
je 0x4608a9
call fcn.00460779
xor eax, eax
jmp 0x46150f
mov edx, dword [esp + 0x14]
call fcn.00429ac3
test eax, eax
jne 0x46089d
push edi
mov ecx, 0x800
lea eax, [esp + 0xbbc]
call fcn.00428a08
mov edx, dword [esp + 0x3c]
pop ecx
call fcn.00429ac3
mov edi, eax
neg edi
sbb edi, edi
inc edi
mov dword [esp + 0x44], edi
cmp dword [esp + 0x38], ebx
jne 0x460917
cmp dword [ebp + 0x28], ebx
je 0x460917
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 0x49611c
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x460930
push dword [esp + 0x38]
lea ecx, [esp + 0xbbc]
call fcn.004297dc
jmp 0x460a38
lea esi, [esp + 0xbb8]
call fcn.0042962d
cmp byte [esp + 0xbb8], bl
je 0x46095e
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x46095e
push 0x46f688
jmp 0x460975
lea eax, [esp + 0xbb8]
push eax
call fcn.00457831
pop ecx
test eax, eax
je 0x460984
push 0x46f68c
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 0x4609a5
push dword [esp + 0x14]
call fcn.00457831
pop ecx
test eax, eax
je 0x460a21
push dword [esp + 0x14]
mov edi, 0x800
mov ecx, edi
lea eax, [esp + 0x13bc]
call fcn.00428a08
pop ecx
push dword [esp + 0x14]
call fcn.00457831
pop ecx
test eax, eax
jne 0x4609da
push 3
pop eax
lea esi, [esp + 0x13b8]
call fcn.0042a6dc
push str..ark
mov eax, edi
lea esi, [esp + 0x13bc]
call fcn.00429a82
mov eax, esi
pop ecx
mov dword [esp + 0x14], eax
xor esi, esi
lea edi, [esp + 0x13b8]
call fcn.004593b9
test eax, eax
je 0x460a21
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 0x4609f6
push dword [esp + 0x14]
mov ecx, 0x800
mov eax, 0x495118
call fcn.00428a08
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 0x46089d
mov dword [esp + 0xc], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x94]
call fcn.004288d0
cmp byte [esp + 0x94], bl
je 0x461151
test byte [esp + 0x68], 0x10
jne 0x461167
cmp byte [esp + 0x94], 0x2e
je 0x461167
cmp dword [ebp + 0x18], ebx
jne 0x460aab
test byte [esp + 0x68], 2
jne 0x461167
cmp dword [ebp + 0x1c], ebx
jne 0x460abb
test byte [esp + 0x68], 4
jne 0x461167
cmp edi, ebx
jne 0x460bb8
push dword [esp + 0x14]
lea edx, [esp + 0x98]
call fcn.004298fc
pop ecx
test eax, eax
je 0x460bb8
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.00428a08
pop ecx
call fcn.0042888f
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 0x460b81
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 0x461167
cmp dword [0x495110], ebx
je 0x460bfd
lea eax, [esp + 0x94]
push eax
call fcn.00427af4
pop ecx
test eax, eax
je 0x460bfd
lea eax, [esp + 0x94]
push eax
call fcn.004276fb
mov esi, dword [0x495110]
pop ecx
call fcn.004274e8
test eax, eax
jg 0x461167
call fcn.00460779
jmp 0x461167
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00428a08
pop ecx
call fcn.0042888f
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push eax
call fcn.00401bb0
push 0x865
push str.Archive.c
mov edx, 0x46f5ac
lea ecx, [esp + 0x3c8]
call fcn.004580b0
add esp, 0x10
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x460c6a
cmp dword [ebp + 0x20], ebx
je 0x461167
push 0x868
jmp 0x46115b
cmp dword [esp + 0x10], ebx
jne 0x460d47
mov edi, dword [esp + 0x14]
call fcn.004593b9
test eax, eax
je 0x460d1f
cmp dword [ebp + 0x24], ebx
je 0x460ca2
push str..exe
mov esi, edi
call fcn.0042a67a
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x460d1f
mov ecx, dword [esp + 0x14]
push 0x86f
push str.Archive.c
mov edx, 0x46f698
call fcn.004580b0
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x4611a8
mov esi, dword [esp + 0x14]
push str..exe
call fcn.0042a67a
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x460cef
mov esi, edi
call fcn.0045ffb4
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], ebx
jl 0x461189
push 2
push ebx
push edi
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x460d3d
cmp dword [ebp + 0x20], ebx
je 0x460d3d
push 0x881
push str._n________ERROR__d________
call fcn.0045dbd8
jmp 0x460d3b
mov ecx, dword [esp + 0x14]
push 0x887
push str.Archive.c
mov edx, 0x46f618
call fcn.004580b0
mov dword [esp + 0x18], eax
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4611a8
cmp dword [esp + 0x18], ebx
jne 0x460d67
push 1
push 0xc366
call fcn.00401a3a
pop ecx
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4611b4
mov esi, dword [esp + 0x10]
push esi
call fcn.0040278d
pop ecx
mov dword [esp + 0x50], eax
cmp eax, ebx
jl 0x4611c0
sub eax, dword [esp + 0x28]
jne 0x460e21
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 0x4611cc
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 0x4611d8
push 8
push ebx
mov edi, 0x496124
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 0x4611e4
mov esi, str.222PAULAARCHIVE222JesusIAdoreYou
push esi
push 0x46f69c
push dword [esp + 0x18]
call fcn.00402261
add esp, 0xc
test eax, eax
jle 0x4611f0
push esi
call fcn.00401a80
pop ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 0x10]
mov dword [esp + 0x50], eax
jmp 0x460e26
mov edi, 0x496124
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push 1
push 4
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jb 0x4611fc
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x460eb4
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00428a08
pop ecx
call fcn.0042888f
mov eax, esi
call fcn.00428a48
test eax, eax
jne 0x460e88
lea eax, [esp + 0x3b8]
push eax
call fcn.00428993
pop ecx
test eax, eax
jne 0x460ec5
lea eax, [esp + 0x3b8]
push esi
push eax
call fcn.0042a634
pop ecx
pop ecx
lea esi, [esp + 0x3b8]
call fcn.004299ee
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.0042a78c
jmp 0x460ec5
push dword [esp + 0x38]
lea ecx, [esp + 0x98]
call fcn.004297dc
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 0x461208
lea esi, [esp + 0x94]
call fcn.004288d0
cmp dword [ebp + 0x28], ebx
je 0x460f29
mov eax, dword [0x49611c]
mov dword [esp + 0x7c], eax
mov eax, dword [0x496120]
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 0x461217
push edi
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x460f72
mov eax, dword [esp + 0x7c]
mov dword [0x496124], eax
mov eax, dword [esp + 0x80]
mov dword [0x496128], eax
inc dword [esp + 0x2c]
cmp dword [ebp + 0x20], ebx
je 0x460f8f
lea eax, [esp + 0x94]
push eax
push str._nAdding:___s_
call fcn.0045dbd8
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 0x46109f
mov ebx, dword [esp + 0x18]
add ebx, edi
push dword [ebp + 0x34]
push dword [esp + 0x58]
push esi
push dword [esp + 0x24]
call fcn.004603e4
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 0x461013
cmp dword [ebp + 0x20], 0
je 0x46100e
push 0x926
push str._n________ERROR__d________
call fcn.0045dbd8
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 0x46104d
cmp dword [ebp + 0x20], 0
je 0x461048
push 0x92e
push str._n________ERROR__d________
call fcn.0045dbd8
pop ecx
pop ecx
and dword [esp + 0xc], 0
add dword [esp + 0x20], 2
cmp si, di
jae 0x461064
mov eax, dword [esp + 0x30]
inc dword [esp + 0x30]
cmp eax, 0xa
jg 0x46109d
cmp dword [ebp + 0x20], 0
je 0x461075
push 0x46f60c
call fcn.0045dbd8
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 0x460fc5
xor ebx, ebx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x4610ce
cmp dword [ebp + 0x20], ebx
je 0x4610ca
push 0x946
push str._n________ERROR__d________
call fcn.0045dbd8
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 0x461102
cmp dword [ebp + 0x20], ebx
je 0x4610fe
push 0x94b
push str._n________ERROR__d________
call fcn.0045dbd8
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 0x46112f
cmp dword [ebp + 0x20], ebx
je 0x46112b
push 0x952
push str._n________ERROR__d________
call fcn.0045dbd8
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x24]
call fcn.0045a2fe
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00401f80
add esp, 0xc
jmp 0x461167
cmp dword [ebp + 0x20], ebx
je 0x461167
push 0x826
push str._n________ERROR__d________
call fcn.0045dbd8
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 0x461226
mov edi, dword [esp + 0x44]
jmp 0x460a69
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x877
push str._n________ERROR__d________
call fcn.0045dbd8
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
jmp 0x4614bb
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x88d
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x89e
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x8ab
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x8c0
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x8ca
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x8d4
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x8dd
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x8eb
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x903
jmp 0x461193
cmp dword [ebp + 0x20], ebx
je 0x46119f
push 0x910
jmp 0x461193
cmp dword [ebp + 0x14], ebx
je 0x4613b7
cmp dword [esp + 0x1c], ebx
je 0x46123f
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.00428a08
pop ecx
push eax
call fcn.00401a80
pop ecx
lea ecx, [esp + 0x3b8]
cmp byte [eax + ecx - 1], 0x5c
je 0x461275
mov eax, ecx
call fcn.0042888f
lea eax, [esp + 0x3b8]
push 0x46f688
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 0x4614ca
test byte [esp + 0x68], 0x10
je 0x461391
lea esi, [esp + 0x94]
call fcn.004288d0
cmp byte [esp + 0x94], bl
je 0x4613fc
cmp byte [esp + 0x94], 0x2e
je 0x4613a4
cmp dword [ebp + 0x18], ebx
jne 0x4612eb
test byte [esp + 0x68], 2
jne 0x4613a4
cmp dword [ebp + 0x1c], ebx
jne 0x4612fb
test byte [esp + 0x68], 4
jne 0x4613a4
cmp dword [esp + 0x18], ebx
je 0x46130f
push dword [esp + 0x18]
call fcn.00401a00
pop ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x461320
call fcn.0045a2fe
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x20], ebx
je 0x461339
lea eax, [esp + 0x94]
push eax
push str._n____Searching_Directory:__s____
call fcn.0045dbd8
pop ecx
pop ecx
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push 0x46f6d4
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.004607c9
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 0x4612a9
cmp dword [esp + 0x38], ebx
jne 0x4614ca
cmp dword [esp + 0x2c], ebx
jle 0x4614ca
cmp dword [esp + 0x10], ebx
jne 0x461414
mov ecx, dword [esp + 0x14]
push 0x9a6
push str.Archive.c
mov edx, 0x46f698
call fcn.004580b0
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x461414
mov dword [esp + 0xc], ebx
jmp 0x4614d7
cmp dword [ebp + 0x20], ebx
je 0x4613a4
push 0x97b
push str._n________ERROR__d________
call fcn.0045dbd8
pop ecx
pop ecx
jmp 0x4613a4
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 0x496124
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x461445
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.0045fe0e
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 0x461492
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 0x4614ab
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x20], ebx
je 0x4614ca
push str._nDone_
call fcn.0045dbd8
pop ecx
cmp dword [esp + 0x24], ebx
je 0x4614ca
mov ecx, dword [esp + 0x24]
call fcn.0045a2fe
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4614d7
call fcn.0045a2fe
cmp dword [esp + 0x1c], ebx
je 0x4614ee
cmp dword [esp + 0x1c], 0xffffffff
je 0x4614ee
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], ebx
je 0x4614fe
push dword [esp + 0x18]
call fcn.00401a00
pop ecx
call fcn.00460779
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