Function at 0x498808
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.00439e45
test eax, eax
je 0x4988e8
call fcn.004987b8
xor eax, eax
jmp 0x499552
mov edx, dword [esp + 0x14]
call fcn.00439e45
test eax, eax
jne 0x4988dc
push edi
mov ecx, 0x800
lea eax, [esp + 0xbbc]
call fcn.00438c78
mov edx, dword [esp + 0x3c]
pop ecx
call fcn.00439e45
mov edi, eax
neg edi
sbb edi, edi
inc edi
mov dword [esp + 0x44], edi
cmp dword [esp + 0x38], ebx
jne 0x498956
cmp dword [ebp + 0x28], ebx
je 0x498956
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 0x49896f
push dword [esp + 0x38]
lea ecx, [esp + 0xbbc]
call fcn.00439af8
jmp 0x498a77
lea esi, [esp + 0xbb8]
call fcn.00439946
cmp byte [esp + 0xbb8], bl
je 0x49899d
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x49899d
push 0x4ae898
jmp 0x4989b4
lea eax, [esp + 0xbb8]
push eax
call fcn.0048c9dd
pop ecx
test eax, eax
je 0x4989c3
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 0x4989e4
push dword [esp + 0x14]
call fcn.0048c9dd
pop ecx
test eax, eax
je 0x498a60
push dword [esp + 0x14]
mov edi, 0x800
mov ecx, edi
lea eax, [esp + 0x13bc]
call fcn.00438c78
pop ecx
push dword [esp + 0x14]
call fcn.0048c9dd
pop ecx
test eax, eax
jne 0x498a19
push 3
pop eax
lea esi, [esp + 0x13b8]
call fcn.0043ab31
push str..ark
mov eax, edi
lea esi, [esp + 0x13bc]
call fcn.00439e04
mov eax, esi
pop ecx
mov dword [esp + 0x14], eax
xor esi, esi
lea edi, [esp + 0x13b8]
call fcn.0048e76e
test eax, eax
je 0x498a60
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 0x498a35
push dword [esp + 0x14]
mov ecx, 0x800
mov eax, 0x4f4178
call fcn.00438c78
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 0x4988dc
mov dword [esp + 0xc], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x94]
call fcn.00438af2
cmp byte [esp + 0x94], bl
je 0x499194
test byte [esp + 0x68], 0x10
jne 0x4991aa
cmp byte [esp + 0x94], 0x2e
je 0x4991aa
cmp dword [ebp + 0x18], ebx
jne 0x498aea
test byte [esp + 0x68], 2
jne 0x4991aa
cmp dword [ebp + 0x1c], ebx
jne 0x498afa
test byte [esp + 0x68], 4
jne 0x4991aa
cmp edi, ebx
jne 0x498bf7
push dword [esp + 0x14]
lea edx, [esp + 0x98]
call fcn.00439c18
pop ecx
test eax, eax
je 0x498bf7
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.00438c78
pop ecx
call fcn.00438ab1
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 0x498bc0
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 0x4991aa
mov esi, dword [0x4f4170]
cmp esi, ebx
je 0x498c3e
lea eax, [esp + 0x94]
push eax
call fcn.00437c7b
pop ecx
test eax, eax
je 0x498c3e
lea eax, [esp + 0x94]
push eax
call fcn.00437882
mov esi, dword [0x4f4170]
pop ecx
call fcn.0043766f
test eax, eax
jg 0x4991aa
call fcn.004987b8
jmp 0x4991aa
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00438c78
pop ecx
call fcn.00438ab1
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.0048d34e
add esp, 0x10
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x498cab
cmp dword [ebp + 0x20], ebx
je 0x4991aa
push 0x868
jmp 0x49919e
cmp dword [esp + 0x10], ebx
jne 0x498d88
mov edi, dword [esp + 0x14]
call fcn.0048e76e
test eax, eax
je 0x498d60
cmp dword [ebp + 0x24], ebx
je 0x498ce3
push str..exe
mov esi, edi
call fcn.0043aa1f
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x498d60
mov ecx, dword [esp + 0x14]
push 0x86f
push str.Archive.c
mov edx, 0x4ae8a8
call fcn.0048d34e
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x4991eb
mov esi, dword [esp + 0x14]
push str..exe
call fcn.0043aa1f
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x498d30
mov esi, edi
call fcn.00497ff3
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], ebx
jl 0x4991cc
push 2
push ebx
push edi
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x498d7e
cmp dword [ebp + 0x20], ebx
je 0x498d7e
push 0x881
push str._n________ERROR__d________
call fcn.0049573d
jmp 0x498d7c
mov ecx, dword [esp + 0x14]
push 0x887
push str.Archive.c
mov edx, 0x4ae810
call fcn.0048d34e
mov dword [esp + 0x18], eax
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4991eb
cmp dword [esp + 0x18], ebx
jne 0x498da8
push 1
push 0xc366
call fcn.00401a3a
pop ecx
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4991f7
mov esi, dword [esp + 0x10]
push esi
call fcn.0040278d
pop ecx
mov dword [esp + 0x50], eax
cmp eax, ebx
jl 0x499203
sub eax, dword [esp + 0x28]
jne 0x498e62
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 0x49920f
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 0x49921b
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 0x499227
mov esi, str.222PAULAARCHIVE222JesusIAdoreYou
push esi
push 0x4ae8ac
push dword [esp + 0x18]
call fcn.00402261
add esp, 0xc
test eax, eax
jle 0x499233
push esi
call fcn.00401a80
pop ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 0x10]
mov dword [esp + 0x50], eax
jmp 0x498e67
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 0x49923f
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x498ef7
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00438c78
pop ecx
call fcn.00438ab1
mov eax, esi
call fcn.00438cb8
test eax, eax
jne 0x498ec9
lea eax, [esp + 0x3b8]
push eax
call fcn.00438c03
pop ecx
test eax, eax
jne 0x498f08
push ebx
lea eax, [esp + 0x3bc]
push esi
push eax
call fcn.0043a9d6
add esp, 0xc
lea esi, [esp + 0x3b8]
call fcn.00439d0a
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.0043ac16
jmp 0x498f08
push dword [esp + 0x38]
lea ecx, [esp + 0x98]
call fcn.00439af8
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 0x49924b
lea esi, [esp + 0x94]
call fcn.00438af2
cmp dword [ebp + 0x28], ebx
je 0x498f6c
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 0x49925a
push edi
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x498fb5
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 0x498fd2
lea eax, [esp + 0x94]
push eax
push str._nAdding:___s_
call fcn.0049573d
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 0x4990e2
mov ebx, dword [esp + 0x18]
add ebx, edi
push dword [ebp + 0x34]
push dword [esp + 0x58]
push esi
push dword [esp + 0x24]
call fcn.00498423
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 0x499056
cmp dword [ebp + 0x20], 0
je 0x499051
push 0x926
push str._n________ERROR__d________
call fcn.0049573d
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 0x499090
cmp dword [ebp + 0x20], 0
je 0x49908b
push 0x92e
push str._n________ERROR__d________
call fcn.0049573d
pop ecx
pop ecx
and dword [esp + 0xc], 0
add dword [esp + 0x20], 2
cmp si, di
jae 0x4990a7
mov eax, dword [esp + 0x30]
inc dword [esp + 0x30]
cmp eax, 0xa
jg 0x4990e0
cmp dword [ebp + 0x20], 0
je 0x4990b8
push 0x4ae7fc
call fcn.0049573d
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 0x499008
xor ebx, ebx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.0040287c
add esp, 0xc
test eax, eax
je 0x499111
cmp dword [ebp + 0x20], ebx
je 0x49910d
push 0x946
push str._n________ERROR__d________
call fcn.0049573d
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 0x499145
cmp dword [ebp + 0x20], ebx
je 0x499141
push 0x94b
push str._n________ERROR__d________
call fcn.0049573d
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 0x499172
cmp dword [ebp + 0x20], ebx
je 0x49916e
push 0x952
push str._n________ERROR__d________
call fcn.0049573d
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x24]
call fcn.0048fc61
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00401f80
add esp, 0xc
jmp 0x4991aa
cmp dword [ebp + 0x20], ebx
je 0x4991aa
push 0x826
push str._n________ERROR__d________
call fcn.0049573d
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 0x499269
mov edi, dword [esp + 0x44]
jmp 0x498aa8
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x877
push str._n________ERROR__d________
call fcn.0049573d
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
jmp 0x4994fe
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x88d
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x89e
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x8ab
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x8c0
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x8ca
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x8d4
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x8dd
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x8eb
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x903
jmp 0x4991d6
cmp dword [ebp + 0x20], ebx
je 0x4991e2
push 0x910
jmp 0x4991d6
cmp dword [ebp + 0x14], ebx
je 0x4993fa
cmp dword [esp + 0x1c], ebx
je 0x499282
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.00438c78
pop ecx
push eax
call fcn.00401a80
pop ecx
lea ecx, [esp + 0x3b8]
cmp byte [eax + ecx - 1], 0x5c
je 0x4992b8
mov eax, ecx
call fcn.00438ab1
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 0x49950d
test byte [esp + 0x68], 0x10
je 0x4993d4
lea esi, [esp + 0x94]
call fcn.00438af2
cmp byte [esp + 0x94], bl
je 0x49943f
cmp byte [esp + 0x94], 0x2e
je 0x4993e7
cmp dword [ebp + 0x18], ebx
jne 0x49932e
test byte [esp + 0x68], 2
jne 0x4993e7
cmp dword [ebp + 0x1c], ebx
jne 0x49933e
test byte [esp + 0x68], 4
jne 0x4993e7
cmp dword [esp + 0x18], ebx
je 0x499352
push dword [esp + 0x18]
call fcn.00401a00
pop ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x499363
call fcn.0048fc61
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x20], ebx
je 0x49937c
lea eax, [esp + 0x94]
push eax
push str._n____Searching_Directory:__s____
call fcn.0049573d
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.00498808
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 0x4992ec
cmp dword [esp + 0x38], ebx
jne 0x49950d
cmp dword [esp + 0x2c], ebx
jle 0x49950d
cmp dword [esp + 0x10], ebx
jne 0x499457
mov ecx, dword [esp + 0x14]
push 0x9a6
push str.Archive.c
mov edx, 0x4ae8a8
call fcn.0048d34e
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x499457
mov dword [esp + 0xc], ebx
jmp 0x49951a
cmp dword [ebp + 0x20], ebx
je 0x4993e7
push 0x97b
push str._n________ERROR__d________
call fcn.0049573d
pop ecx
pop ecx
jmp 0x4993e7
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 0x499488
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.00497e37
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 0x4994d5
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 0x4994ee
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x20], ebx
je 0x49950d
push str._nDone_
call fcn.0049573d
pop ecx
cmp dword [esp + 0x24], ebx
je 0x49950d
mov ecx, dword [esp + 0x24]
call fcn.0048fc61
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x49951a
call fcn.0048fc61
cmp dword [esp + 0x1c], ebx
je 0x499531
cmp dword [esp + 0x1c], 0xffffffff
je 0x499531
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], ebx
je 0x499541
push dword [esp + 0x18]
call fcn.00401a00
pop ecx
call fcn.004987b8
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