Function at 0x402f67
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.004bc5d0
mov eax, dword [0x5065d0]
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.004ab5d0
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.004ab5d0
add esp, 0xc
push esi
lea eax, [esp + 0xbbd]
push ebx
push eax
mov byte [esp + 0xbc4], bl
call fcn.004ab5d0
add esp, 0xc
push esi
lea eax, [esp + 0x13bd]
push ebx
push eax
mov byte [esp + 0x13c4], bl
call fcn.004ab5d0
add esp, 0xc
mov edx, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00476b3a
test eax, eax
je 0x403047
call fcn.00402f17
xor eax, eax
jmp 0x403cb6
mov edx, dword [esp + 0x14]
call fcn.00476b3a
test eax, eax
jne 0x40303b
push edi
mov ecx, 0x800
lea eax, [esp + 0xbbc]
call fcn.00476b6c
mov edx, dword [esp + 0x3c]
pop ecx
call fcn.00476b3a
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x44], edi
jne 0x4030b5
cmp dword [ebp + 0x28], ebx
je 0x4030b5
xor eax, eax
mov word [esp + 0x58], bx
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 0x519338
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x4030ce
push dword [esp + 0x38]
lea ecx, [esp + 0xbbc]
call fcn.00476fdf
jmp 0x4031d6
lea esi, [esp + 0xbb8]
call fcn.004776b8
cmp byte [esp + 0xbb8], bl
je 0x4030fc
mov eax, esi
push eax
call fcn.004aa880
pop ecx
mov ecx, esi
dec ecx
cmp byte [eax + ecx], 0x5c
jne 0x4030fc
push 0x4c9428
jmp 0x403113
lea eax, [esp + 0xbb8]
push eax
call fcn.0041a6da
test eax, eax
pop ecx
je 0x403122
push 0x4c942c
lea eax, [esp + 0xbbc]
push eax
call fcn.004aa9b0
pop ecx
pop ecx
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
je 0x403143
push dword [esp + 0x14]
call fcn.0041a6da
test eax, eax
pop ecx
je 0x4031bf
push dword [esp + 0x14]
mov edi, 0x800
mov ecx, edi
lea eax, [esp + 0x13bc]
call fcn.00476b6c
pop ecx
push dword [esp + 0x14]
call fcn.0041a6da
test eax, eax
pop ecx
jne 0x403178
push 3
pop eax
lea esi, [esp + 0x13b8]
call fcn.00477387
push str..ark
mov eax, edi
lea esi, [esp + 0x13bc]
call fcn.00476c3c
mov eax, esi
pop ecx
mov dword [esp + 0x14], eax
xor esi, esi
lea edi, [esp + 0x13b8]
call fcn.0041a629
test eax, eax
je 0x4031bf
mov eax, edi
push str..ark
push eax
call fcn.004aa9b0
inc esi
cmp esi, 0xa
pop ecx
mov eax, edi
pop ecx
mov dword [esp + 0x14], eax
jl 0x403194
push dword [esp + 0x14]
mov ecx, 0x800
mov eax, 0x518338
call fcn.00476b6c
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]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x40303b
mov dword [esp + 0xc], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x94]
call fcn.00476e69
cmp byte [esp + 0x94], bl
je 0x4038f3
test byte [esp + 0x68], 0x10
jne 0x403909
cmp byte [esp + 0x94], 0x2e
je 0x403909
cmp dword [ebp + 0x18], ebx
jne 0x403249
test byte [esp + 0x68], 2
jne 0x403909
cmp dword [ebp + 0x1c], ebx
jne 0x403259
test byte [esp + 0x68], 4
jne 0x403909
cmp edi, ebx
jne 0x403356
push dword [esp + 0x14]
lea edx, [esp + 0x98]
call fcn.00476f3e
test eax, eax
pop ecx
je 0x403356
mov esi, 0x103
push esi
lea eax, [esp + 0x1ad]
push ebx
push eax
mov byte [esp + 0x1b4], bl
call fcn.004ab5d0
add esp, 0xc
push esi
lea eax, [esp + 0x2b5]
push ebx
push eax
mov byte [esp + 0x2bc], bl
call fcn.004ab5d0
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.00476b6c
pop ecx
call fcn.00476eac
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x1ac]
push eax
call fcn.004aa9b0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1b4]
push eax
call fcn.004ab3bf
add esp, 0x10
test eax, eax
jne 0x40331f
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.004ab3bf
test eax, eax
pop ecx
pop ecx
je 0x403909
mov esi, dword [0x51832c]
cmp esi, ebx
je 0x40339d
lea eax, [esp + 0x94]
push eax
call fcn.0047a377
test eax, eax
pop ecx
je 0x40339d
lea eax, [esp + 0x94]
push eax
call fcn.0047a043
mov esi, dword [0x51832c]
pop ecx
call fcn.0047a2e2
test eax, eax
jg 0x403909
call fcn.00402f17
jmp 0x403909
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00476b6c
pop ecx
call fcn.00476eac
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push eax
call fcn.004aa9b0
push 0x865
push str..Archive.c
mov edx, 0x4c91fc
lea ecx, [esp + 0x3c8]
call fcn.0041c646
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x40340a
cmp dword [ebp + 0x20], ebx
je 0x403909
push 0x868
jmp 0x4038fd
cmp dword [esp + 0x10], ebx
jne 0x4034e7
mov edi, dword [esp + 0x14]
call fcn.0041a629
test eax, eax
je 0x4034bf
cmp dword [ebp + 0x24], ebx
je 0x403442
push str..exe
mov esi, edi
call fcn.004773ce
push eax
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
jne 0x4034bf
mov ecx, dword [esp + 0x14]
push 0x86f
push str..Archive.c
mov edx, 0x4c9438
call fcn.0041c646
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [esp + 0x10], edi
je 0x40394a
mov esi, dword [esp + 0x14]
push str..exe
call fcn.004773ce
push eax
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
jne 0x40348f
mov esi, edi
call fcn.00402e2e
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], ebx
jl 0x40392b
push 2
push ebx
push edi
call fcn.004aab1f
add esp, 0xc
test eax, eax
je 0x4034dd
cmp dword [ebp + 0x20], ebx
je 0x4034dd
push 0x881
push str._n________ERROR__d________
call fcn.0040ef9c
jmp 0x4034db
mov ecx, dword [esp + 0x14]
push 0x887
push str..Archive.c
mov edx, 0x4c93a4
call fcn.0041c646
mov dword [esp + 0x18], eax
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x40394a
cmp dword [esp + 0x18], ebx
jne 0x403507
push 1
push 0xc366
call fcn.004aa454
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x18], eax
je 0x403956
mov esi, dword [esp + 0x10]
push esi
call fcn.004aa80c
cmp eax, ebx
pop ecx
mov dword [esp + 0x50], eax
jl 0x403962
sub eax, dword [esp + 0x28]
jne 0x4035c1
push esi
xor edi, edi
inc edi
push edi
lea eax, [esp + 0x48]
push 4
push eax
mov dword [esp + 0x50], ebx
call fcn.004aa5f2
add esp, 0x10
cmp eax, edi
jb 0x40396e
push esi
push edi
lea eax, [esp + 0x44]
push 4
push eax
mov dword [esp + 0x4c], ebx
call fcn.004aa5f2
add esp, 0x10
cmp eax, edi
jb 0x40397a
push 8
push ebx
mov edi, 0x519340
push edi
call fcn.004ab5d0
add esp, 0xc
push esi
push 1
push 8
push edi
call fcn.004aa5f2
add esp, 0x10
cmp eax, 1
jb 0x403986
mov esi, str.222PAULAARCHIVE222JesusIAdoreYou
push esi
push 0x4c943c
push dword [esp + 0x18]
call fcn.004ab930
add esp, 0xc
test eax, eax
jle 0x403992
push esi
call fcn.004aa880
pop ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 0x10]
mov dword [esp + 0x50], eax
jmp 0x4035c6
mov edi, 0x519340
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push 1
push 4
push eax
call fcn.004aa5f2
add esp, 0x10
cmp eax, 1
jb 0x40399e
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x403656
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00476b6c
pop ecx
call fcn.00476eac
mov eax, esi
call fcn.00476b5c
test eax, eax
jne 0x403628
lea eax, [esp + 0x3b8]
push eax
call fcn.00476c7b
test eax, eax
pop ecx
jne 0x403667
push ebx
lea eax, [esp + 0x3bc]
push esi
push eax
call fcn.004774d1
add esp, 0xc
lea esi, [esp + 0x3b8]
call fcn.00476df5
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.004770f6
jmp 0x403667
push dword [esp + 0x38]
lea ecx, [esp + 0x98]
call fcn.00476fdf
pop ecx
push dword [esp + 0x10]
lea eax, [esp + 0x98]
push eax
call fcn.004aa880
pop ecx
inc eax
push eax
lea eax, [esp + 0x9c]
push 1
push eax
call fcn.004aa5f2
mov esi, eax
lea eax, [esp + 0xa4]
push eax
call fcn.004aa880
add esp, 0x14
inc eax
cmp esi, eax
jb 0x4039aa
lea esi, [esp + 0x94]
call fcn.00476e69
cmp dword [ebp + 0x28], ebx
je 0x4036cb
mov eax, dword [0x519338]
mov dword [esp + 0x7c], eax
mov eax, dword [0x51933c]
mov dword [esp + 0x80], eax
push dword [esp + 0x10]
lea eax, [esp + 0x80]
push 1
push 8
push eax
call fcn.004aa5f2
add esp, 0x10
cmp eax, 1
jb 0x4039b9
push edi
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x403714
mov eax, dword [esp + 0x7c]
mov dword [0x519340], eax
mov eax, dword [esp + 0x80]
mov dword [0x519344], eax
inc dword [esp + 0x2c]
cmp dword [ebp + 0x20], ebx
je 0x403731
lea eax, [esp + 0x94]
push eax
push str._nAdding:___s_
call fcn.0040ef9c
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.004ab915
movzx esi, ax
add esp, 0x10
cmp si, bx
jbe 0x403841
mov ebx, dword [esp + 0x18]
add ebx, edi
push dword [ebp + 0x34]
push dword [esp + 0x58]
push esi
push dword [esp + 0x24]
call fcn.00402679
push dword [esp + 0x20]
movzx eax, ax
push 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.004aa5f2
add esp, 0x20
cmp eax, 1
jae 0x4037b5
cmp dword [ebp + 0x20], 0
je 0x4037b0
push 0x926
push str._n________ERROR__d________
call fcn.0040ef9c
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.004aa5f2
movzx ecx, word [esp + 0x44]
add esp, 0x10
cmp eax, ecx
jae 0x4037ef
cmp dword [ebp + 0x20], 0
je 0x4037ea
push 0x92e
push str._n________ERROR__d________
call fcn.0040ef9c
pop ecx
pop ecx
and dword [esp + 0xc], 0
add dword [esp + 0x20], 2
cmp si, di
jae 0x403806
mov eax, dword [esp + 0x30]
inc dword [esp + 0x30]
cmp eax, 0xa
jg 0x40383f
cmp dword [ebp + 0x20], 0
je 0x403817
push 0x4c9390
call fcn.0040ef9c
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.004ab915
movzx esi, ax
add esp, 0x10
test si, si
ja 0x403767
xor ebx, ebx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.004aab1f
add esp, 0xc
test eax, eax
je 0x403870
cmp dword [ebp + 0x20], ebx
je 0x40386c
push 0x946
push str._n________ERROR__d________
call fcn.0040ef9c
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.004aa5f2
add esp, 0x10
cmp eax, 1
jae 0x4038a4
cmp dword [ebp + 0x20], ebx
je 0x4038a0
push 0x94b
push str._n________ERROR__d________
call fcn.0040ef9c
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
push 2
push ebx
push dword [esp + 0x18]
call fcn.004aab1f
add esp, 0xc
test eax, eax
je 0x4038d1
cmp dword [ebp + 0x20], ebx
je 0x4038cd
push 0x952
push str._n________ERROR__d________
call fcn.0040ef9c
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x24]
call fcn.0041ca73
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.004ab5d0
add esp, 0xc
jmp 0x403909
cmp dword [ebp + 0x20], ebx
je 0x403909
push 0x826
push str._n________ERROR__d________
call fcn.0040ef9c
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 0x4039c8
mov edi, dword [esp + 0x44]
jmp 0x403207
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x877
push str._n________ERROR__d________
call fcn.0040ef9c
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
jmp 0x403c62
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x88d
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x89e
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x8ab
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x8c0
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x8ca
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x8d4
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x8dd
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x8eb
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x903
jmp 0x403935
cmp dword [ebp + 0x20], ebx
je 0x403941
push 0x910
jmp 0x403935
cmp dword [ebp + 0x14], ebx
je 0x403b5e
cmp dword [esp + 0x1c], ebx
je 0x4039e1
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.00476b6c
pop ecx
push eax
call fcn.004aa880
pop ecx
lea ecx, [esp + 0x3b8]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x403a1c
lea eax, [esp + 0x3b8]
call fcn.00476eac
lea eax, [esp + 0x3b8]
push 0x4c9428
push eax
call fcn.004aa9b0
pop ecx
pop ecx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x403c71
test byte [esp + 0x68], 0x10
je 0x403b38
lea esi, [esp + 0x94]
call fcn.00476e69
cmp byte [esp + 0x94], bl
je 0x403ba3
cmp byte [esp + 0x94], 0x2e
je 0x403b4b
cmp dword [ebp + 0x18], ebx
jne 0x403a92
test byte [esp + 0x68], 2
jne 0x403b4b
cmp dword [ebp + 0x1c], ebx
jne 0x403aa2
test byte [esp + 0x68], 4
jne 0x403b4b
cmp dword [esp + 0x18], ebx
je 0x403ab6
push dword [esp + 0x18]
call fcn.004aa2a8
pop ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x403ac7
call fcn.0041ca73
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x20], ebx
je 0x403ae0
lea eax, [esp + 0x94]
push eax
push str._n____Searching_Directory:__s____
call fcn.0040ef9c
pop ecx
pop ecx
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push 0x4c9474
push eax
call fcn.004ab54e
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.00402f67
add esp, 0x30
add dword [esp + 0x2c], eax
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004ab5d0
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
jne 0x403a50
cmp dword [esp + 0x38], ebx
jne 0x403c71
cmp dword [esp + 0x2c], ebx
jle 0x403c71
cmp dword [esp + 0x10], ebx
jne 0x403bbb
mov ecx, dword [esp + 0x14]
push 0x9a6
push str..Archive.c
mov edx, 0x4c9438
call fcn.0041c646
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x10], eax
jne 0x403bbb
mov dword [esp + 0xc], ebx
jmp 0x403c71
cmp dword [ebp + 0x20], ebx
je 0x403b4b
push 0x97b
push str._n________ERROR__d________
call fcn.0040ef9c
pop ecx
pop ecx
jmp 0x403b4b
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push ebx
add esi, 8
push esi
push edi
call fcn.004aab1f
add esp, 0xc
push edi
push 1
push 8
push 0x519340
call fcn.004aa5f2
add esp, 0x10
cmp eax, 1
jae 0x403bec
mov dword [esp + 0xc], ebx
push ebx
push esi
push edi
call fcn.004aab1f
add esp, 0xc
push edi
xor ecx, ecx
call fcn.00403d68
pop ecx
push edi
mov dword [esp + 0x40], eax
call fcn.004aa80c
pop ecx
push ebx
push dword [esp + 0x2c]
mov dword [esp + 0x48], eax
push edi
call fcn.004aab1f
add esp, 0xc
push edi
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x48]
push 4
push eax
call fcn.004aa5f2
add esp, 0x10
cmp eax, esi
jae 0x403c39
mov dword [esp + 0xc], ebx
push edi
push esi
lea eax, [esp + 0x44]
push 4
push eax
call fcn.004aa5f2
add esp, 0x10
cmp eax, esi
jae 0x403c52
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x20], ebx
je 0x403c71
push str._nDone_
call fcn.0040ef9c
pop ecx
cmp dword [esp + 0x24], ebx
je 0x403c71
mov ecx, dword [esp + 0x24]
call fcn.0041ca73
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x403c7e
call fcn.0041ca73
cmp dword [esp + 0x1c], ebx
je 0x403c95
cmp dword [esp + 0x1c], 0xffffffff
je 0x403c95
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], ebx
je 0x403ca5
push dword [esp + 0x18]
call fcn.004aa2a8
pop ecx
call fcn.00402f17
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.004aaeb5
mov esp, ebp
pop ebp
ret