Function at 0x10043130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005b202
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov esi, ecx
push str.LoadPatchManager
push esi
call fcn.100477f0
test eax, eax
je 0x10043d8d
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x518], edi
mov word [esp + 0x4f4], 0x5c
mov dword [esp + 0x4f8], edi
mov dword [esp + 0x4fc], edi
add esi, 0x51c
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], esi
push eax
mov esi, 0x10061414
mov byte [esp + 0x520], 1
call fcn.100170d0
mov eax, dword [eax]
lea esi, [esp + 0x9c]
call fcn.100497f0
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10043211
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10043211
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp esi, edi
je 0x100432f1
mov eax, dword [esp + 0x4fc]
cmp eax, edi
je 0x100432c4
mov ecx, dword [esp + 0x9c]
shr ecx, 4
and ecx, 1
je 0x1004325f
cmp word [esp + 0xc8], 0x2e
jne 0x1004325f
mov dx, word [esp + 0xca]
cmp dx, di
je 0x100432c4
cmp dx, 0x2e
jne 0x1004325f
cmp word [esp + 0xcc], di
je 0x100432c4
cmp ecx, edi
je 0x100432c4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.100496c0
mov ebx, eax
lea esi, [esp + 0x24]
mov byte [esp + 0x518], 2
call fcn.10028e10
mov byte [esp + 0x518], 1
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x100432bd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100432bd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x4fc]
mov ecx, dword [esp + 0x4f8]
cmp ecx, edi
je 0x100432f1
cmp eax, edi
je 0x100432f1
lea edx, [esp + 0x9c]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
mov dword [esp + 0x4fc], eax
jne 0x10043228
mov eax, dword [esp + 0x4f8]
cmp eax, edi
mov dword [esp + 0x4fc], edi
je 0x10043316
cmp eax, 0xffffffff
je 0x10043316
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x4f8], edi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp edi, ebx
jbe 0x1004332c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x40], edi
mov esi, ebx
jbe 0x10043342
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x2c]
cmp edi, esi
je 0x10043d3a
xor eax, eax
push 0x44
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x5c]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x54], 0x44
jb 0x1004337e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea ecx, [esp + 0x38]
push ecx
mov esi, str..exe
call fcn.100170d0
mov eax, dword [eax]
lea esi, [esp + 0x9c]
call fcn.100497f0
mov esi, eax
mov eax, dword [esp + 0x34]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
je 0x100433cb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100433cb
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
test esi, esi
je 0x10043c49
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.100496c0
mov edx, dword [esp + 0x38]
mov byte [esp + 0x518], 3
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
mov dword [esp + 0x14], eax
jl 0x10043412
mov esi, eax
lea eax, [esi - 0xc]
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x10043492
test eax, eax
mov esi, dword [0x1006eb44]
mov dword [esp + 0x1c], esi
jne 0x10043424
xor edi, edi
jmp 0x1004342d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp dword [esi - 0xc], 1
lea ebx, [esi - 0xc]
jg 0x1004343b
cmp edi, dword [esi - 4]
jle 0x10043477
add esi, 0xfffffff4
cmp esi, 0x1006eb34
je 0x10043464
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1004345a
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [0x1006eb44]
mov dword [esp + 0x1c], ecx
mov ecx, edi
lea edx, [esp + 0x1c]
call fcn.10011c80
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x10043492
mov edx, dword [esp + 0x14]
lea ebx, [edi + edi]
push ebx
push edx
push esi
call sub.MSVCR80.dll_memcpy
mov dword [esi - 8], edi
add esp, 0xc
mov word [ebx + esi], 0
mov byte [esp + 0x518], 4
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
mov edi, dword [eax - 8]
lea ebx, [eax - 0xc]
lea ecx, [edi + 2]
jg 0x100434b2
cmp ecx, dword [eax - 4]
jle 0x10043501
cmp ecx, edi
lea edx, [esp + 0x10]
cmovl ecx, edi
call fcn.10011c80
test eax, eax
je 0x10043501
mov edx, dword [esp + 0x10]
lea eax, [edi + edi + 2]
push eax
lea ecx, [ebx + 0xc]
push ecx
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp ebx, 0x1006eb34
mov dword [eax - 8], edi
je 0x100434fd
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100434fd
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
lea edi, [eax - 0xc]
jle 0x1004356d
add eax, 0xfffffff4
cmp eax, 0x1006eb34
je 0x10043544
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1004353a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [0x1006eb44]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x10]
call fcn.10011c80
test eax, eax
je 0x1004356d
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x10]
lea eax, [edx + edx + 2]
push eax
add edi, 0xc
push edi
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call edi
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
push str.__e
mov word [edx + eax*2], 0
call edi
mov ebx, eax
test ebx, ebx
je 0x10043659
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
lea ecx, [eax - 0xc]
mov dword [esp + 0x14], ecx
jg 0x100435e3
mov ecx, dword [eax - 8]
lea edx, [ecx + ebx]
cmp edx, dword [eax - 4]
jg 0x100435e3
lea edx, [ebx + ebx]
push edx
lea eax, [eax + ecx*2]
push str.__e
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [eax - 8], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x10043659
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 4]
lea ecx, [ebx + edi]
cmp ecx, edi
mov dword [esp + 0x20], eax
jl 0x10043659
cmp ecx, ebx
jl 0x10043659
test ecx, ecx
je 0x10043637
lea edx, [esp + 0x10]
call fcn.10011c80
test eax, eax
je 0x10043659
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add edi, edi
push edi
push eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [ebx + ebx]
push edx
add edi, eax
push str.__e
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x14], 0x1006eb34
je 0x10043659
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10043659
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xa0]
call fcn.10049640
mov byte [esp + 0x518], 5
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 1
mov ebx, dword [eax - 8]
lea edi, [eax - 0xc]
jg 0x10043687
cmp ebx, dword [eax - 4]
jle 0x100436d3
mov ecx, ebx
lea edx, [esp + 0x18]
call fcn.10011c80
test eax, eax
je 0x100436d3
mov ecx, dword [esp + 0x18]
lea edx, [ebx + ebx + 2]
push edx
lea eax, [edi + 0xc]
push eax
push ecx
call sub.MSVCR80.dll_memcpy
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edi, 0x1006eb34
mov dword [edx - 8], ebx
je 0x100436cf
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100436cf
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 1
lea edi, [eax - 0xc]
jle 0x1004373e
add eax, 0xfffffff4
cmp eax, 0x1006eb34
je 0x10043715
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1004370c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [0x1006eb44]
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 4]
lea edx, [esp + 0x18]
call fcn.10011c80
test eax, eax
je 0x1004373e
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx + 2]
push edx
add edi, 0xc
push edi
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x18]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x18]
mov ebx, dword [eax - 8]
test ebx, ebx
mov dword [esp + 0x20], eax
je 0x10043818
cmp dword [esi - 0xc], 1
lea ecx, [esi - 0xc]
mov dword [esp + 0x14], ecx
jg 0x100437a4
mov ecx, dword [esi - 8]
lea edx, [ecx + ebx]
cmp edx, dword [esi - 4]
jg 0x100437a4
lea edx, [ebx + ebx]
push edx
push eax
lea eax, [esi + ecx*2]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi - 8], ebx
mov ecx, dword [esi - 8]
mov word [esi + ecx*2], 0
jmp 0x10043818
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 4]
lea ecx, [edi + ebx]
cmp ecx, edi
jl 0x10043818
cmp ecx, ebx
jl 0x10043818
test ecx, ecx
je 0x100437ec
lea edx, [esp + 0x1c]
call fcn.10011c80
test eax, eax
je 0x10043814
add edi, edi
push edi
push esi
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [ebx + ebx]
push eax
push ecx
add edi, esi
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x14], 0x1006eb34
je 0x10043818
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10043818
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x10043818
mov esi, dword [esp + 0x1c]
push 0x10060fac
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x100438dc
cmp dword [esi - 0xc], 1
lea eax, [esi - 0xc]
mov dword [esp + 0x14], eax
jg 0x10043868
mov eax, dword [esi - 8]
lea ecx, [eax + ebx]
cmp ecx, dword [esi - 4]
jg 0x10043868
lea edx, [ebx + ebx]
push edx
lea eax, [esi + eax*2]
push 0x10060fac
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi - 8], ebx
mov ecx, dword [esi - 8]
mov word [esi + ecx*2], 0
jmp 0x100438dc
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 4]
lea ecx, [edi + ebx]
cmp ecx, edi
jl 0x100438dc
cmp ecx, ebx
jl 0x100438dc
test ecx, ecx
je 0x100438b0
lea edx, [esp + 0x1c]
call fcn.10011c80
test eax, eax
je 0x100438d8
add edi, edi
push edi
push esi
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea eax, [ebx + ebx]
push eax
push 0x10060fac
add edi, esi
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x14], 0x1006eb34
je 0x100438dc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100438dc
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x100438dc
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 1
mov ebx, dword [esi - 8]
lea edi, [esi - 0xc]
lea ecx, [ebx + 2]
jg 0x100438f0
cmp ecx, dword [esi - 4]
jle 0x10043937
cmp ecx, ebx
lea edx, [esp + 0x1c]
cmovl ecx, ebx
call fcn.10011c80
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x10043939
lea eax, [ebx + ebx + 2]
push eax
lea ecx, [edi + 0xc]
push ecx
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp edi, 0x1006eb34
mov dword [esi - 8], ebx
je 0x10043937
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10043937
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
cmp dword [esi - 0xc], 1
lea edi, [esi - 0xc]
jle 0x1004399b
add esi, 0xfffffff4
cmp esi, 0x1006eb34
je 0x10043972
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10043968
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [0x1006eb44]
mov dword [esp + 0x1c], edx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x1c]
call fcn.10011c80
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x1004399b
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0xc
push edi
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi - 8], eax
mov word [esi + eax*2], 0
mov ebx, dword [esi - 8]
test ebx, ebx
je 0x10043a73
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
lea ecx, [eax - 0xc]
mov dword [esp + 0x14], ecx
jg 0x100439f9
mov ecx, dword [eax - 8]
lea edx, [ecx + ebx]
cmp edx, dword [eax - 4]
jg 0x100439f9
lea edx, [ebx + ebx]
push edx
lea eax, [eax + ecx*2]
push esi
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [eax - 8], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x10043a73
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 4]
lea ecx, [edi + ebx]
cmp ecx, edi
mov dword [esp + 0x20], eax
jl 0x10043a77
cmp ecx, ebx
jl 0x10043a77
test ecx, ecx
je 0x10043a4d
lea edx, [esp + 0x10]
call fcn.10011c80
test eax, eax
je 0x10043a73
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add edi, edi
push edi
push eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [ebx + ebx]
push edx
add edi, eax
push esi
push edi
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x14], 0x1006eb34
je 0x10043a77
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10043a73
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
mov edi, dword [eax - 8]
lea ebx, [eax - 0xc]
mov ecx, edi
jg 0x10043a8a
cmp ecx, dword [eax - 4]
jle 0x10043aa0
cmp ecx, edi
lea edx, [esp + 0x10]
cmovl ecx, edi
call fcn.10011c80
test eax, eax
jne 0x10043b5b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10043c8a
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
lea ebx, [eax - 0xc]
jle 0x10043b30
add eax, 0xfffffff4
cmp eax, 0x1006eb34
je 0x10043b07
push ebx
call edi
test eax, eax
jg 0x10043afe
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [0x1006eb44]
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x10]
call fcn.10011c80
test eax, eax
je 0x10043b30
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
lea edx, [ecx + ecx + 2]
push edx
add ebx, 0xc
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x4f8]
test eax, eax
jne 0x10043b9f
xor ebx, ebx
jmp 0x10043bc5
mov edx, dword [esp + 0x10]
lea eax, [edi + edi + 2]
push eax
lea ecx, [ebx + 0xc]
push ecx
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp ebx, 0x1006eb34
mov dword [eax - 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x10043b96
push ebx
call edi
test eax, eax
jg 0x10043b96
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x10043aa6
cmp dword [esp + 0x4fc], 0
jne 0x10043bad
xor ebx, ebx
jmp 0x10043bc5
lea edx, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x4fc], eax
mov ebx, eax
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10043bee
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x10043bee
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea edx, [esi - 0xc]
cmp edx, 0x1006eb34
je 0x10043c0c
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10043c0c
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov byte [esp + 0x518], 1
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10043c3d
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x10043c3d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebx, ebx
jne 0x100433d3
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x4f8]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x4fc], esi
je 0x10043c70
cmp eax, 0xffffffff
je 0x10043c70
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x4f8], esi
mov ebx, dword [esp + 0x2c]
cmp edi, ebx
jb 0x10043c82
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x2c]
add edi, 4
jmp 0x1004332c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10043cb9
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x10043cb9
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [esi - 0xc]
cmp eax, 0x1006eb34
je 0x10043cd6
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10043cd6
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10043cff
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x10043cff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x4f8]
test eax, eax
mov dword [esp + 0x4fc], 0
je 0x10043d2c
cmp eax, 0xffffffff
je 0x10043d2c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x4f8], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10043d8d
mov ebx, dword [esp + 0x2c]
jmp 0x10043d73
mov eax, dword [esp + 0x4f8]
test eax, eax
mov dword [esp + 0x4fc], 0
je 0x10043d6b
cmp eax, 0xffffffff
je 0x10043d6b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x4f8], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10043d8d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10024910
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.10056d50
mov esp, ebp
pop ebp
ret