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

Disassembly:
push 0xffffffffffffffff
push 0x484538
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
mov edi, edx
sete al
test al, al
sete al
mov dword [esp + 0x18], edi
test al, al
je 0x413196
cmp dword [esi + 4], 0
sete al
test al, al
sete al
test al, al
je 0x413196
mov ebp, dword [edi + 0x10]
cmp dword [edi + 0xc], ebp
jbe 0x4130cf
call fcn.00461bce
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
cmp edi, dword [ecx + 0x10]
jbe 0x4130e6
call fcn.00461bce
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebp
push ebx
push edi
push eax
lea eax, [esp + 0x7c]
push eax
mov edi, ecx
call fcn.00413c00
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Item
call fcn.00402310
lea edx, [esp + 0x14]
push edx
push esi
lea esi, [esp + 0x68]
mov dword [esp + 0x88], 0
call fcn.00414790
mov byte [esp + 0x80], 2
mov esi, dword [esp + 0x14]
test esi, esi
je 0x413165
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x413165
mov eax, dword [esi]
test eax, eax
je 0x41314c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41315c
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
mov ecx, dword [esp + 0x68]
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x41317f
mov ebx, dword [esp + 0x64]
test ebx, ebx
jg 0x41319d
mov dword [esp + 0x80], 0xffffffff
test ecx, ecx
je 0x413196
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
xor eax, eax
jmp 0x4135c1
lea ecx, [esp + 0x30]
push ecx
mov edi, str.Type
call fcn.00402310
lea edx, [esp + 0x40]
push edx
mov edi, str.File
mov byte [esp + 0x84], 3
call fcn.00402310
lea eax, [esp + 0x2c]
push eax
mov edi, str.Param
mov byte [esp + 0x84], 4
call fcn.00402310
lea ecx, [esp + 0x38]
push ecx
mov edi, str.WaitForExit
mov byte [esp + 0x84], 5
call fcn.00402310
lea edx, [esp + 0x14]
push edx
mov edi, str.Entry
mov byte [esp + 0x84], 6
call fcn.00402310
lea eax, [esp + 0x34]
push eax
mov edi, str.System
mov byte [esp + 0x84], 7
call fcn.00402310
mov byte [esp + 0x80], 8
mov edx, dword [0x4a4e50]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a4e50
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x3c], ebp
lea esi, [esp + 0x48]
call fcn.00412c80
xor edi, edi
mov byte [esp + 0x80], 0xa
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], edi
test ebx, ebx
jle 0x413428
lea ecx, [esp + 0x1c]
push ecx
mov edx, edi
lea ecx, [esp + 0x64]
call fcn.00409ef0
mov byte [esp + 0x80], 0xb
cmp dword [esp + 0x24], 0
sete al
test al, al
sete al
test al, al
je 0x41329b
cmp dword [esp + 0x20], 0
sete al
test al, al
sete al
test al, al
jne 0x4132b1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0xa
call fcn.00402480
jmp 0x413419
push 0x491898
xor ebx, ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00402230
push 0x491898
lea eax, [esp + 0x54]
call fcn.00402230
push 0x491898
lea eax, [esp + 0x58]
call fcn.00402230
push 0x491898
lea eax, [esp + 0x60]
mov byte [esp + 0x5c], bl
call fcn.00402230
push ebx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x38]
lea esi, [esp + 0x24]
call fcn.00409240
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x413317
or eax, 0xffffffff
jmp 0x413358
push 0x4928f4
push ebp
call fcn.00462130
add esp, 8
test eax, eax
jne 0x413330
mov eax, 2
jmp 0x413358
push str.SimpleDll
push ebp
call fcn.00462130
add esp, 8
test eax, eax
je 0x413358
push str.ExtendDll
push ebp
call fcn.00462130
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
mov dword [esp + 0x48], eax
cmp eax, 0xffffffff
jne 0x413377
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0xa
call fcn.00402480
jmp 0x413419
push 0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
lea esi, [esp + 0x24]
call fcn.00409240
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4133b4
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409240
push 0
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x3c]
call fcn.00409240
jmp 0x4133f6
cmp eax, 1
jne 0x4133cf
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x24]
call fcn.00409240
jmp 0x4133f6
cmp eax, 2
jne 0x4133f6
push 0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x34]
lea esi, [esp + 0x24]
call fcn.00409240
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x3c]
call fcn.00408e80
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
call fcn.00413a90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0xa
call fcn.00402480
mov edi, dword [esp + 0x44]
inc edi
cmp edi, dword [esp + 0x6c]
mov dword [esp + 0x44], edi
jl 0x413261
lea esi, [esp + 0x48]
call fcn.004135e0
lea eax, [ebp - 0x10]
mov byte [esp + 0x80], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x413497
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x413497
mov eax, dword [esi]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x41347c
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x41348c
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
jmp 0x41349d
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4134d1
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x4134d1
mov eax, dword [esi]
test eax, eax
je 0x4134b8
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4134c8
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x413505
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x413505
mov eax, dword [esi]
test eax, eax
je 0x4134ec
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4134fc
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x413539
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x413539
mov eax, dword [esi]
test eax, eax
je 0x413520
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x413530
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
mov esi, dword [esp + 0x40]
test esi, esi
je 0x41356d
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x41356d
mov eax, dword [esi]
test eax, eax
je 0x413554
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x413564
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4135a1
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x4135a1
mov eax, dword [esi]
test eax, eax
je 0x413588
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x413598
push eax
call fcn.00461ef0
add esp, 4
push esi
call fcn.0044d6f0
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4135bc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00461862
add esp, 0x70
ret