Function at 0x402fd3
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.004d1740
mov eax, dword [0x51f5d0]
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 + 0x18], ebx
mov dword [esp + 0x74], ebx
call fcn.004c05d0
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.004c05d0
add esp, 0xc
push esi
lea eax, [esp + 0xbbd]
push ebx
push eax
mov byte [esp + 0xbc4], bl
call fcn.004c05d0
add esp, 0xc
push esi
lea eax, [esp + 0x13bd]
push ebx
push eax
mov byte [esp + 0x13c4], bl
call fcn.004c05d0
add esp, 0xc
mov edx, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00485754
test eax, eax
je 0x4030b3
call fcn.00402f83
xor eax, eax
jmp 0x403d2b
mov edx, dword [esp + 0x14]
call fcn.00485754
test eax, eax
jne 0x4030a7
push edi
mov ecx, 0x800
lea eax, [esp + 0xbbc]
call fcn.00485786
mov edx, dword [esp + 0x3c]
pop ecx
call fcn.00485754
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x44], edi
jne 0x403121
cmp dword [ebp + 0x28], ebx
je 0x403121
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 0x525858
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x40313a
push dword [esp + 0x38]
lea ecx, [esp + 0xbbc]
call fcn.00485bfe
jmp 0x403242
lea esi, [esp + 0xbb8]
call fcn.00486317
cmp byte [esp + 0xbb8], bl
je 0x403168
mov eax, esi
push eax
call fcn.004bf880
pop ecx
mov ecx, esi
dec ecx
cmp byte [eax + ecx], 0x5c
jne 0x403168
push 0x4de4d0
jmp 0x40317f
lea eax, [esp + 0xbb8]
push eax
call fcn.0041a61c
test eax, eax
pop ecx
je 0x40318e
push 0x4de4d4
lea eax, [esp + 0xbbc]
push eax
call fcn.004bf9b0
pop ecx
pop ecx
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.004c03bf
test eax, eax
pop ecx
pop ecx
je 0x4031af
push dword [esp + 0x14]
call fcn.0041a61c
test eax, eax
pop ecx
je 0x40322b
push dword [esp + 0x14]
mov edi, 0x800
mov ecx, edi
lea eax, [esp + 0x13bc]
call fcn.00485786
pop ecx
push dword [esp + 0x14]
call fcn.0041a61c
test eax, eax
pop ecx
jne 0x4031e4
push 3
pop eax
lea esi, [esp + 0x13b8]
call fcn.00485f71
push str..ark
mov eax, edi
lea esi, [esp + 0x13bc]
call fcn.00485856
mov eax, esi
pop ecx
mov dword [esp + 0x14], eax
xor esi, esi
lea edi, [esp + 0x13b8]
call fcn.0041a56b
test eax, eax
je 0x40322b
mov eax, edi
push str..ark
push eax
call fcn.004bf9b0
inc esi
cmp esi, 0xa
pop ecx
mov eax, edi
pop ecx
mov dword [esp + 0x14], eax
jl 0x403200
push dword [esp + 0x14]
mov ecx, 0x800
mov eax, 0x524858
call fcn.00485786
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 0x4030a7
mov dword [esp + 0x10], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x94]
call fcn.00485a88
cmp byte [esp + 0x94], bl
je 0x403961
test byte [esp + 0x68], 0x10
jne 0x403977
cmp byte [esp + 0x94], 0x2e
je 0x403977
cmp dword [ebp + 0x18], ebx
jne 0x4032b5
test byte [esp + 0x68], 2
jne 0x403977
cmp dword [ebp + 0x1c], ebx
jne 0x4032c5
test byte [esp + 0x68], 4
jne 0x403977
cmp edi, ebx
jne 0x4033c2
push dword [esp + 0x14]
lea edx, [esp + 0x98]
call fcn.00485b5d
test eax, eax
pop ecx
je 0x4033c2
mov esi, 0x103
push esi
lea eax, [esp + 0x1ad]
push ebx
push eax
mov byte [esp + 0x1b4], bl
call fcn.004c05d0
add esp, 0xc
push esi
lea eax, [esp + 0x2b5]
push ebx
push eax
mov byte [esp + 0x2bc], bl
call fcn.004c05d0
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.00485786
pop ecx
call fcn.00485acb
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x1ac]
push eax
call fcn.004bf9b0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1b4]
push eax
call fcn.004c03bf
add esp, 0x10
test eax, eax
jne 0x40338b
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.004c03bf
test eax, eax
pop ecx
pop ecx
je 0x403977
mov esi, dword [0x52484c]
cmp esi, ebx
je 0x403409
lea eax, [esp + 0x94]
push eax
call fcn.004892d6
test eax, eax
pop ecx
je 0x403409
lea eax, [esp + 0x94]
push eax
call fcn.00488ecf
mov esi, dword [0x52484c]
pop ecx
call fcn.00489241
test eax, eax
jg 0x403977
call fcn.00402f83
jmp 0x403977
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00485786
pop ecx
call fcn.00485acb
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push eax
call fcn.004bf9b0
push 0x865
push str..Archive.c
mov edx, 0x4de27c
lea ecx, [esp + 0x3c8]
call fcn.0041c35a
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x403476
cmp dword [ebp + 0x20], ebx
je 0x403977
push 0x868
jmp 0x40396b
cmp dword [esp + 0xc], ebx
jne 0x403553
mov edi, dword [esp + 0x14]
call fcn.0041a56b
test eax, eax
je 0x40352b
cmp dword [ebp + 0x24], ebx
je 0x4034ae
push str..exe
mov esi, edi
call fcn.00486054
push eax
call fcn.004c03bf
test eax, eax
pop ecx
pop ecx
jne 0x40352b
mov ecx, dword [esp + 0x14]
push 0x86f
push str..Archive.c
mov edx, 0x4de4e0
call fcn.0041c35a
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [esp + 0xc], edi
je 0x4039b8
mov esi, dword [esp + 0x14]
push str..exe
call fcn.00486054
push eax
call fcn.004c03bf
test eax, eax
pop ecx
pop ecx
jne 0x4034fb
mov esi, edi
call fcn.00402e9a
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], ebx
jl 0x403999
push 2
push ebx
push edi
call fcn.004bfb1f
add esp, 0xc
test eax, eax
je 0x403549
cmp dword [ebp + 0x20], ebx
je 0x403549
push 0x881
push str._n________ERROR__d________
call fcn.004106d5
jmp 0x403547
mov ecx, dword [esp + 0x14]
push 0x887
push str..Archive.c
mov edx, 0x4de440
call fcn.0041c35a
mov dword [esp + 0x14], eax
pop ecx
pop ecx
cmp dword [esp + 0xc], ebx
je 0x4039b8
cmp dword [esp + 0x18], ebx
jne 0x403573
push 1
push 0xc366
call fcn.004bf452
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x18], eax
je 0x4039c4
mov esi, dword [esp + 0xc]
push esi
call fcn.004bf80a
cmp eax, ebx
pop ecx
mov dword [esp + 0x50], eax
jl 0x4039d0
sub eax, dword [esp + 0x28]
jne 0x40362d
push esi
xor edi, edi
inc edi
push edi
lea eax, [esp + 0x48]
push 4
push eax
mov dword [esp + 0x50], ebx
call fcn.004bf5f0
add esp, 0x10
cmp eax, edi
jb 0x4039dc
push esi
push edi
lea eax, [esp + 0x44]
push 4
push eax
mov dword [esp + 0x4c], ebx
call fcn.004bf5f0
add esp, 0x10
cmp eax, edi
jb 0x4039e8
push 8
push ebx
mov edi, 0x525860
push edi
call fcn.004c05d0
add esp, 0xc
push esi
push 1
push 8
push edi
call fcn.004bf5f0
add esp, 0x10
cmp eax, 1
jb 0x4039f4
mov esi, str.222PAULAARCHIVE222JesusIAdoreYou
push esi
push 0x4de4e4
push dword [esp + 0x14]
call fcn.004c0930
add esp, 0xc
test eax, eax
jle 0x403a00
push esi
call fcn.004bf880
pop ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 0x10]
mov dword [esp + 0x50], eax
jmp 0x403632
mov edi, 0x525860
push dword [esp + 0xc]
lea eax, [esp + 0x24]
push 1
push 4
push eax
call fcn.004bf5f0
add esp, 0x10
cmp eax, 1
jb 0x403a0c
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x4036c2
lea eax, [esp + 0xbb8]
push eax
mov ecx, 0x800
lea eax, [esp + 0x3bc]
call fcn.00485786
pop ecx
call fcn.00485acb
mov eax, esi
call fcn.00485776
test eax, eax
jne 0x403694
lea eax, [esp + 0x3b8]
push eax
call fcn.00485895
test eax, eax
pop ecx
jne 0x4036d3
push ebx
lea eax, [esp + 0x3bc]
push esi
push eax
call fcn.00486157
add esp, 0xc
lea esi, [esp + 0x3b8]
call fcn.00485a14
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.00485d15
jmp 0x4036d3
push dword [esp + 0x38]
lea ecx, [esp + 0x98]
call fcn.00485bfe
pop ecx
push dword [esp + 0xc]
lea eax, [esp + 0x98]
push eax
call fcn.004bf880
pop ecx
inc eax
push eax
lea eax, [esp + 0x9c]
push 1
push eax
call fcn.004bf5f0
mov esi, eax
lea eax, [esp + 0xa4]
push eax
call fcn.004bf880
add esp, 0x14
inc eax
cmp esi, eax
jb 0x403a18
lea esi, [esp + 0x94]
call fcn.00485a88
cmp dword [ebp + 0x28], ebx
je 0x403737
mov eax, dword [0x525858]
mov dword [esp + 0x7c], eax
mov eax, dword [0x52585c]
mov dword [esp + 0x80], eax
push dword [esp + 0xc]
lea eax, [esp + 0x80]
push 1
push 8
push eax
call fcn.004bf5f0
add esp, 0x10
cmp eax, 1
jb 0x403a27
push edi
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x403780
mov eax, dword [esp + 0x7c]
mov dword [0x525860], eax
mov eax, dword [esp + 0x80]
mov dword [0x525864], eax
inc dword [esp + 0x2c]
cmp dword [ebp + 0x20], ebx
je 0x40379d
lea eax, [esp + 0x94]
push eax
push str._nAdding:___s_
call fcn.004106d5
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.004c0915
movzx esi, ax
add esp, 0x10
cmp si, bx
jbe 0x4038ad
mov ebx, dword [esp + 0x18]
add ebx, edi
push dword [ebp + 0x34]
push dword [esp + 0x58]
push esi
push dword [esp + 0x24]
call fcn.004026e5
push dword [esp + 0x1c]
movzx eax, ax
push 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.004bf5f0
add esp, 0x20
cmp eax, 1
jae 0x403821
cmp dword [ebp + 0x20], 0
je 0x40381c
push 0x926
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
and dword [esp + 0x10], 0
push dword [esp + 0xc]
movzx eax, word [esp + 0x38]
push eax
push 1
push ebx
call fcn.004bf5f0
movzx ecx, word [esp + 0x44]
add esp, 0x10
cmp eax, ecx
jae 0x40385b
cmp dword [ebp + 0x20], 0
je 0x403856
push 0x92e
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
and dword [esp + 0x10], 0
add dword [esp + 0x20], 2
cmp si, di
jae 0x403872
mov eax, dword [esp + 0x30]
inc dword [esp + 0x30]
cmp eax, 0xa
jg 0x4038ab
cmp dword [ebp + 0x20], 0
je 0x403883
push 0x4de410
call fcn.004106d5
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.004c0915
movzx esi, ax
add esp, 0x10
test si, si
ja 0x4037d3
xor ebx, ebx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x14]
call fcn.004bfb1f
add esp, 0xc
test eax, eax
je 0x4038dc
cmp dword [ebp + 0x20], ebx
je 0x4038d8
push 0x946
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
push dword [esp + 0xc]
lea eax, [esp + 0x24]
push 1
push 4
push eax
call fcn.004bf5f0
add esp, 0x10
cmp eax, 1
jae 0x403910
cmp dword [ebp + 0x20], ebx
je 0x40390c
push 0x94b
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
push 2
push ebx
push dword [esp + 0x14]
call fcn.004bfb1f
add esp, 0xc
test eax, eax
je 0x40393d
cmp dword [ebp + 0x20], ebx
je 0x403939
push 0x952
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
push dword [esp + 0x24]
call fcn.0041c787
mov dword [esp], 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.004c05d0
add esp, 0xc
jmp 0x403977
cmp dword [ebp + 0x20], ebx
je 0x403977
push 0x826
push str._n________ERROR__d________
call fcn.004106d5
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 0x403a36
mov edi, dword [esp + 0x44]
jmp 0x403273
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x877
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x403cd3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x88d
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x89e
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x8ab
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x8c0
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x8ca
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x8d4
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x8dd
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x8eb
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x903
jmp 0x4039a3
cmp dword [ebp + 0x20], ebx
je 0x4039af
push 0x910
jmp 0x4039a3
cmp dword [ebp + 0x14], ebx
je 0x403bcf
cmp dword [esp + 0x1c], ebx
je 0x403a4f
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.00485786
pop ecx
push eax
call fcn.004bf880
pop ecx
lea ecx, [esp + 0x3b8]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x403a8a
lea eax, [esp + 0x3b8]
call fcn.00485acb
lea eax, [esp + 0x3b8]
push 0x4de4d0
push eax
call fcn.004bf9b0
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 0x403ce3
test byte [esp + 0x68], 0x10
je 0x403ba9
lea esi, [esp + 0x94]
call fcn.00485a88
cmp byte [esp + 0x94], bl
je 0x403c14
cmp byte [esp + 0x94], 0x2e
je 0x403bbc
cmp dword [ebp + 0x18], ebx
jne 0x403b00
test byte [esp + 0x68], 2
jne 0x403bbc
cmp dword [ebp + 0x1c], ebx
jne 0x403b10
test byte [esp + 0x68], 4
jne 0x403bbc
cmp dword [esp + 0x18], ebx
je 0x403b24
push dword [esp + 0x18]
call fcn.004bf2a6
pop ecx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xc], ebx
je 0x403b38
push dword [esp + 0xc]
call fcn.0041c787
pop ecx
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x20], ebx
je 0x403b51
lea eax, [esp + 0x94]
push eax
push str._n____Searching_Directory:__s____
call fcn.004106d5
pop ecx
pop ecx
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3bc]
push 0x4de51c
push eax
call fcn.004c054e
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.00402fd3
add esp, 0x30
add dword [esp + 0x2c], eax
push 0x140
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004c05d0
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
jne 0x403abe
cmp dword [esp + 0x38], ebx
jne 0x403ce3
cmp dword [esp + 0x2c], ebx
jle 0x403ce3
cmp dword [esp + 0xc], ebx
jne 0x403c2c
mov ecx, dword [esp + 0x14]
push 0x9a6
push str..Archive.c
mov edx, 0x4de4e0
call fcn.0041c35a
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0xc], eax
jne 0x403c2c
mov dword [esp + 0x10], ebx
jmp 0x403ce3
cmp dword [ebp + 0x20], ebx
je 0x403bbc
push 0x97b
push str._n________ERROR__d________
call fcn.004106d5
pop ecx
pop ecx
jmp 0x403bbc
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
push ebx
add esi, 8
push esi
push edi
call fcn.004bfb1f
add esp, 0xc
push edi
push 1
push 8
push 0x525860
call fcn.004bf5f0
add esp, 0x10
cmp eax, 1
jae 0x403c5d
mov dword [esp + 0x10], ebx
push ebx
push esi
push edi
call fcn.004bfb1f
add esp, 0xc
push edi
xor ecx, ecx
call fcn.00403ddd
pop ecx
push edi
mov dword [esp + 0x40], eax
call fcn.004bf80a
pop ecx
push ebx
push dword [esp + 0x2c]
mov dword [esp + 0x48], eax
push edi
call fcn.004bfb1f
add esp, 0xc
push edi
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x48]
push 4
push eax
call fcn.004bf5f0
add esp, 0x10
cmp eax, esi
jae 0x403caa
mov dword [esp + 0x10], ebx
push edi
push esi
lea eax, [esp + 0x44]
push 4
push eax
call fcn.004bf5f0
add esp, 0x10
cmp eax, esi
jae 0x403cc3
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x20], ebx
je 0x403ce3
push str._nDone_
call fcn.004106d5
pop ecx
cmp dword [esp + 0x24], ebx
je 0x403ce3
push dword [esp + 0x24]
call fcn.0041c787
pop ecx
cmp dword [esp + 0xc], ebx
je 0x403cf3
push dword [esp + 0xc]
call fcn.0041c787
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x403d0a
cmp dword [esp + 0x1c], 0xffffffff
je 0x403d0a
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], ebx
je 0x403d1a
push dword [esp + 0x18]
call fcn.004bf2a6
pop ecx
call fcn.00402f83
mov eax, dword [esp + 0x10]
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.004bfeb5
mov esp, ebp
pop ebp
ret