Function at 0x4101b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46d1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 8], 0
mov esi, edx
sete al
test al, al
sete al
mov dword [esp + 0x18], esi
test al, al
je 0x4102e0
cmp dword [ebx + 4], 0
sete al
test al, al
sete al
test al, al
je 0x4102e0
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x41021f
call fcn.0044f5fa
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 0x10]
jbe 0x410236
call fcn.0044f5fa
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebp
push edi
push esi
push eax
lea eax, [esp + 0x74]
push eax
mov esi, ecx
call fcn.00410b60
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Item
call fcn.00404080
lea edx, [esp + 0x14]
push edx
push ebx
lea esi, [esp + 0x60]
mov dword [esp + 0x80], 0
call fcn.00411700
mov byte [esp + 0x78], 2
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4102b2
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4102b2
mov eax, dword [esi]
test eax, eax
je 0x410299
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4102a9
push eax
call fcn.0044fbd4
add esp, 4
push esi
call fcn.00446570
add esp, 4
mov ecx, dword [esp + 0x60]
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x4102cc
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jg 0x4102e7
mov dword [esp + 0x78], 0xffffffff
test ecx, ecx
je 0x4102e0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
xor eax, eax
jmp 0x4106d9
lea ecx, [esp + 0x34]
push ecx
mov edi, str.Type
call fcn.00404080
lea edx, [esp + 0x40]
push edx
mov edi, str.File
mov byte [esp + 0x7c], 3
call fcn.00404080
lea eax, [esp + 0x30]
push eax
mov edi, str.Param
mov byte [esp + 0x7c], 4
call fcn.00404080
lea ecx, [esp + 0x38]
push ecx
mov edi, str.WaitForExit
mov byte [esp + 0x7c], 5
call fcn.00404080
lea edx, [esp + 0x14]
push edx
mov edi, str.Entry
mov byte [esp + 0x7c], 6
call fcn.00404080
mov byte [esp + 0x78], 7
mov eax, dword [0x488d58]
mov edx, dword [eax + 0xc]
mov ecx, 0x488d58
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x3c], ebp
lea esi, [esp + 0x1c]
call fcn.0040fd50
xor edi, edi
mov byte [esp + 0x78], 9
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], edi
test ebx, ebx
jle 0x41051e
lea eax, [esp + 0x44]
push eax
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.00409c30
mov byte [esp + 0x78], 0xa
cmp dword [esp + 0x4c], 0
sete al
test al, al
sete al
test al, al
je 0x4103b8
cmp dword [esp + 0x48], 0
sete al
test al, al
sete al
test al, al
jne 0x4103cb
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 9
call fcn.004041f0
jmp 0x41050f
push 0x4788e0
xor ebx, ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0xffffffff
call fcn.00402bd0
push 0x4788e0
lea eax, [esp + 0x28]
call fcn.00402bd0
push 0x4788e0
lea eax, [esp + 0x2c]
call fcn.00402bd0
push ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x3c]
lea esi, [esp + 0x4c]
mov byte [esp + 0x34], bl
call fcn.00408f60
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x410423
or eax, 0xffffffff
jmp 0x410464
push 0x479b3c
push ebp
call fcn.0044fde8
add esp, 8
test eax, eax
jne 0x41043c
mov eax, 2
jmp 0x410464
push str.SimpleDll
push ebp
call fcn.0044fde8
add esp, 8
test eax, eax
je 0x410464
push str.ExtendDll
push ebp
call fcn.0044fde8
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x410480
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 9
call fcn.004041f0
jmp 0x41050f
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
lea esi, [esp + 0x4c]
call fcn.00408f60
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4104ad
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00408f60
jmp 0x4104ef
cmp eax, 1
jne 0x4104c8
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x4c]
call fcn.00408f60
jmp 0x4104ef
cmp eax, 2
jne 0x4104ef
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
lea esi, [esp + 0x4c]
call fcn.00408f60
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00408ba0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004109f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 9
call fcn.004041f0
mov edi, dword [esp + 0x54]
inc edi
cmp edi, dword [esp + 0x64]
mov dword [esp + 0x54], edi
jl 0x410381
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410543
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410563
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x78], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x4105e6
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x4105e6
mov eax, dword [esi]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x4105cb
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4105db
push eax
call fcn.0044fbd4
add esp, 4
push esi
call fcn.00446570
add esp, 4
jmp 0x4105ec
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x38]
test esi, esi
je 0x410620
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x410620
mov eax, dword [esi]
test eax, eax
je 0x410607
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x410617
push eax
call fcn.0044fbd4
add esp, 4
push esi
call fcn.00446570
add esp, 4
mov esi, dword [esp + 0x30]
test esi, esi
je 0x410654
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x410654
mov eax, dword [esi]
test eax, eax
je 0x41063b
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x41064b
push eax
call fcn.0044fbd4
add esp, 4
push esi
call fcn.00446570
add esp, 4
mov esi, dword [esp + 0x40]
test esi, esi
je 0x410688
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x410688
mov eax, dword [esi]
test eax, eax
je 0x41066f
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x41067f
push eax
call fcn.0044fbd4
add esp, 4
push esi
call fcn.00446570
add esp, 4
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4106bc
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x4106bc
mov eax, dword [esi]
test eax, eax
je 0x4106a3
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4106b3
push eax
call fcn.0044fbd4
add esp, 4
push esi
call fcn.00446570
add esp, 4
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4106d4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0044efac
add esp, 0x68
ret