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

Disassembly:
push 0xffffffffffffffff
push 0x47a3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x496db8]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496db8]
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 0x411520
cmp dword [ebx + 4], 0
sete al
test al, al
sete al
test al, al
je 0x411520
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x41145f
call fcn.0045e070
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 0x10]
jbe 0x411476
call fcn.0045e070
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.00411dd0
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Item
call fcn.004024b0
lea edx, [esp + 0x14]
push edx
push ebx
lea esi, [esp + 0x60]
mov dword [esp + 0x80], 0
call fcn.004128f0
mov byte [esp + 0x78], 2
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4114f2
lea eax, [esi + 8]
push eax
call dword [0x47c260]
test eax, eax
jne 0x4114f2
mov eax, dword [esi]
test eax, eax
je 0x4114d9
push eax
call dword [0x47c360]
mov eax, dword [esi + 4]
test eax, eax
je 0x4114e9
push eax
call fcn.0045e644
add esp, 4
push esi
call fcn.00454dc0
add esp, 4
mov ecx, dword [esp + 0x60]
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x41150c
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jg 0x411527
mov dword [esp + 0x78], 0xffffffff
test ecx, ecx
je 0x411520
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
xor eax, eax
jmp 0x4118bd
lea ecx, [esp + 0x20]
push ecx
mov edi, str.Type
call fcn.004024b0
lea edx, [esp + 0x30]
push edx
mov edi, str.File
mov byte [esp + 0x7c], 3
call fcn.004024b0
lea eax, [esp + 0x1c]
push eax
mov edi, str.Param
mov byte [esp + 0x7c], 4
call fcn.004024b0
lea ecx, [esp + 0x28]
push ecx
mov edi, str.WaitForExit
mov byte [esp + 0x7c], 5
call fcn.004024b0
lea edx, [esp + 0x14]
push edx
mov edi, str.Entry
mov byte [esp + 0x7c], 6
call fcn.004024b0
mov byte [esp + 0x78], 7
mov eax, dword [0x498df8]
mov edx, dword [eax + 0xc]
mov ecx, 0x498df8
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
lea esi, [esp + 0x44]
call fcn.00410f90
xor edi, edi
mov byte [esp + 0x78], 9
mov dword [esp + 0x64], ebx
mov dword [esp + 0x24], edi
test ebx, ebx
jle 0x41175e
lea eax, [esp + 0x34]
push eax
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.0040a1a0
mov byte [esp + 0x78], 0xa
cmp dword [esp + 0x3c], 0
sete al
test al, al
sete al
test al, al
je 0x4115f8
cmp dword [esp + 0x38], 0
sete al
test al, al
sete al
test al, al
jne 0x41160b
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 9
call fcn.00402620
jmp 0x41174f
push 0x486aac
xor ebx, ebx
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00402250
push 0x486aac
lea eax, [esp + 0x50]
call fcn.00402250
push 0x486aac
lea eax, [esp + 0x54]
call fcn.00402250
push ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
lea esi, [esp + 0x3c]
mov byte [esp + 0x5c], bl
call fcn.004094e0
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jne 0x411663
or eax, 0xffffffff
jmp 0x4116a4
push 0x487b14
push ebp
call fcn.0045e858
add esp, 8
test eax, eax
jne 0x41167c
mov eax, 2
jmp 0x4116a4
push str.SimpleDll
push ebp
call fcn.0045e858
add esp, 8
test eax, eax
je 0x4116a4
push str.ExtendDll
push ebp
call fcn.0045e858
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
mov dword [esp + 0x44], eax
cmp eax, 0xffffffff
jne 0x4116c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 9
call fcn.00402620
jmp 0x41174f
push 0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x38]
lea esi, [esp + 0x3c]
call fcn.004094e0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4116ed
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.004094e0
jmp 0x41172f
cmp eax, 1
jne 0x411708
push 0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x3c]
call fcn.004094e0
jmp 0x41172f
cmp eax, 2
jne 0x41172f
push 0
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
lea esi, [esp + 0x3c]
call fcn.004094e0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409120
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
call fcn.00411c50
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 9
call fcn.00402620
mov edi, dword [esp + 0x24]
inc edi
cmp edi, dword [esp + 0x64]
mov dword [esp + 0x24], edi
jl 0x4115c1
lea esi, [esp + 0x44]
call fcn.004118e0
lea eax, [ebp - 0x10]
mov byte [esp + 0x78], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411788
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 [0x47c260]
test esi, esi
je 0x4117ca
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x4117ca
mov eax, dword [esi]
mov ebx, dword [0x47c360]
test eax, eax
je 0x4117af
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4117bf
push eax
call fcn.0045e644
add esp, 4
push esi
call fcn.00454dc0
add esp, 4
jmp 0x4117d0
mov ebx, dword [0x47c360]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x411804
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x411804
mov eax, dword [esi]
test eax, eax
je 0x4117eb
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4117fb
push eax
call fcn.0045e644
add esp, 4
push esi
call fcn.00454dc0
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x411838
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x411838
mov eax, dword [esi]
test eax, eax
je 0x41181f
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x41182f
push eax
call fcn.0045e644
add esp, 4
push esi
call fcn.00454dc0
add esp, 4
mov esi, dword [esp + 0x30]
test esi, esi
je 0x41186c
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x41186c
mov eax, dword [esi]
test eax, eax
je 0x411853
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x411863
push eax
call fcn.0045e644
add esp, 4
push esi
call fcn.00454dc0
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4118a0
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x4118a0
mov eax, dword [esi]
test eax, eax
je 0x411887
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x411897
push eax
call fcn.0045e644
add esp, 4
push esi
call fcn.00454dc0
add esp, 4
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4118b8
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.0045d8c6
add esp, 0x68
ret