Function at 0x407670
Capabilities:
Resolve function by parsing pe exports
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d92af
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push ecx
push 0x67d8e0
push 1
xor edi, edi
push edi
push 0x67dad0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x88], ebx
mov byte [esp + 0x2b], 0
mov dword [esp + 0x5c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x408555
mov esi, dword [esp + 0x48]
push 0xc
call fcn.005939b5
add esp, 4
mov dword [esp + 0x94], eax
mov dword [esp + 0x258], edi
cmp eax, edi
je 0x40773a
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [esp + 0x258], 1
mov dword [eax], vtable.StartupAreas::FreeMemberFuncPtr_unsigned_short_int____cdecl_IUnknown::__unsigned_long_int__void___struct_ITaskService__.0
mov dword [eax + 4], 0x416f70
mov dword [eax + 8], esi
mov byte [esp + 0x258], 0
mov edi, eax
mov dword [esp + 0x40], eax
jmp 0x407740
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x258], 0xffffffff
mov dword [esp + 0xd8], edi
mov dword [esp + 0x258], 2
xor eax, eax
mov edx, dword [esp + 0x48]
mov esi, dword [edx]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
push edx
mov edx, dword [esi + 0x28]
mov dword [ecx + 8], eax
mov dword [esp + 0x108], eax
mov dword [ecx + 0xc], eax
call edx
test eax, eax
jl 0x408537
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], 0
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x4078c5
mov ecx, dword [esp + 0x60]
push ecx
lea esi, [esp + 0x34]
call fcn.00413c10
mov byte [esp + 0x258], 3
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x50]
xor ebx, ebx
push ecx
mov dword [esp + 0x54], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push ebx
push eax
call edx
cmp eax, ebx
jge 0x407852
mov byte [esp + 0x258], 2
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x258], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, bl
jmp 0x408559
mov eax, dword [esp + 0x50]
push eax
lea esi, [esp + 0x5c]
call fcn.00413c80
mov byte [esp + 0x258], 4
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x88]
mov dword [esp + 0x88], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x4078e8
mov byte [esp + 0x258], 3
mov esi, dword [esp + 0x58]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x258], 2
mov esi, dword [esp + 0x30]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x258], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
jmp 0x408555
xor eax, eax
cmp dword [esp + 0x88], ebx
jle 0x407a8f
mov edx, dword [esp + 0x50]
lea ebx, [eax + 1]
lea eax, [esp + 0x20]
push eax
mov ecx, 3
sub esp, 0x10
mov eax, esp
mov word [esp + 0xd8], cx
mov ecx, dword [esp + 0xd8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [esp + 0x34], 0
mov esi, dword [edx]
mov dword [eax + 4], ecx
push edx
mov edx, dword [esi + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
call edx
test eax, eax
jl 0x407a80
mov eax, dword [esp + 0x20]
push eax
lea esi, [esp + 0x6c]
call fcn.00413c10
mov byte [esp + 0x258], 5
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x407a61
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea esi, [esp + 0x5c]
call fcn.00413cf0
mov byte [esp + 0x258], 6
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x18]
push eax
call fcn.0040b8a0
mov byte [esp + 0x258], 7
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x692fe8
call fcn.0040bce0
add esp, 4
test al, al
je 0x4079d2
push 1
push 0x692fe8
lea edx, [esp + 0x20]
push edx
call fcn.00412100
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x4079de
xor eax, eax
jmp 0x4079f2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4079e3
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00412100
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x407a1a
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040db00
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00407670
add esp, 8
test al, al
je 0x407a31
mov byte [esp + 0x17], 1
mov byte [esp + 0x258], 6
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x258], 5
mov esi, dword [esp + 0x54]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x258], 4
mov esi, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov eax, ebx
cmp eax, dword [esp + 0x88]
jl 0x4078f7
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x38]
push edx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x38]
call eax
cmp eax, ebx
jl 0x407887
mov ecx, dword [esp + 0x38]
push ecx
lea esi, [esp + 0x58]
call fcn.00413d60
mov byte [esp + 0x258], 8
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x4084da
xor eax, eax
cmp dword [esp + 0x7c], ebx
jle 0x4084da
nop
mov edx, dword [esp + 0x38]
lea esi, [eax + 1]
lea eax, [esp + 0x44]
push eax
mov ecx, 3
sub esp, 0x10
mov eax, esp
mov word [esp + 0xd8], cx
mov ecx, dword [esp + 0xd8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [esp + 0x58], ebx
mov ebx, dword [edx]
mov dword [eax + 4], ecx
push edx
mov edx, dword [ebx + 0x20]
mov dword [eax + 8], esi
mov dword [esp + 0xac], esi
mov dword [eax + 0xc], ecx
call edx
xor ebx, ebx
cmp eax, ebx
jl 0x4084c9
mov eax, dword [esp + 0x44]
push eax
lea esi, [esp + 0x38]
call fcn.00413dd0
mov byte [esp + 0x258], 9
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x407b92
mov byte [esp + 0x258], 8
mov esi, dword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
jmp 0x4084c9
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea esi, [esp + 0x28]
call fcn.00413cf0
mov byte [esp + 0x258], 0xa
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
cmp eax, ebx
jge 0x407c0b
mov byte [esp + 0x258], 9
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x258], 8
mov esi, dword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
jmp 0x4084c9
mov ecx, dword [esp + 0x70]
push ecx
lea esi, [esp + 0x70]
call fcn.00413e40
mov byte [esp + 0x258], 0xb
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x40846c
mov eax, dword [esp + 0x64]
push eax
lea esi, [esp + 0x6c]
call fcn.00413eb0
mov byte [esp + 0x258], 0xc
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x407cf8
mov byte [esp + 0x258], 0xb
mov esi, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x258], 0xa
mov esi, dword [esp + 0x6c]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x258], 9
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x258], 8
mov esi, dword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
jmp 0x4084c9
xor eax, eax
cmp dword [esp + 0x8c], ebx
jle 0x40844d
jmp 0x407d10
lea ecx, [eax + 1]
mov eax, dword [esp + 0x64]
lea esi, [esp + 0x2c]
push esi
mov dword [esp + 0x30], ebx
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0xcc], ecx
call eax
cmp eax, ebx
jl 0x408439
mov ecx, dword [esp + 0x2c]
push ecx
lea esi, [esp + 0x1c]
call fcn.00413f20
mov byte [esp + 0x258], 0xd
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0xb4]
push ecx
push eax
call edx
cmp eax, ebx
jge 0x407d8a
mov byte [esp + 0x258], 0xc
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
jmp 0x408439
mov eax, dword [esp + 0xb4]
cmp eax, ebx
je 0x4080a8
cmp eax, 5
jne 0x407dbd
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
xor edi, edi
mov dword [esp + 0x20], edi
mov ecx, dword [eax]
push 0x67da60
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jge 0x407dd9
mov byte [esp + 0x258], 0xc
lea esi, [esp + 0x18]
call fcn.00406380
mov edi, dword [esp + 0x40]
xor ebx, ebx
jmp 0x408439
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0x9c]
call fcn.00414000
mov byte [esp + 0x258], 0x18
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push ecx
push eax
call edx
cmp eax, edi
jl 0x40808f
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x40808f
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
push eax
lea esi, [esp + 0xc0]
call fcn.00413cf0
mov byte [esp + 0x258], 0x19
lea edx, [esp + 0xa8]
push edx
call fcn.00406ff0
mov byte [esp + 0x258], 0x1a
mov edx, dword [esp + 0x74]
lea edi, [esp + 0xac]
mov dword [esp + 0xa8], 2
call fcn.0040b9c0
mov edx, dword [esp + 0x5c]
lea edi, [esp + 0xb0]
call fcn.0040b9c0
mov eax, str.InprocServer32
lea ecx, [esp + 0xf8]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x1b
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xdc]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x1c
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xfc]
lea edi, [esp + 0x1a4]
call fcn.00408bf0
add esp, 4
mov byte [esp + 0x258], 0x1d
cmp dword [eax + 0x18], 8
jb 0x407ed9
mov eax, dword [eax + 4]
jmp 0x407edc
add eax, 4
push eax
lea edi, [esp + 0x150]
call fcn.00406480
add esp, 4
mov byte [esp + 0x258], 0x1e
mov ecx, dword [esp + 0x28]
push ecx
push eax
xor edx, edx
lea ecx, [esp + 0xb0]
call fcn.00408650
add esp, 8
test al, al
sete bl
mov byte [esp + 0x258], 0x1d
mov esi, edi
call fcn.00440d90
mov byte [esp + 0x258], 0x1c
lea esi, [esp + 0x1a0]
call fcn.00440d90
mov byte [esp + 0x258], 0x1b
lea esi, [esp + 0xdc]
call fcn.00440d90
mov byte [esp + 0x258], 0x1a
lea esi, [esp + 0xf8]
call fcn.00440d90
test bl, bl
je 0x40804d
mov eax, str.InprocServer32
lea ecx, [esp + 0x114]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x1f
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x130]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x20
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0x118]
lea edi, [esp + 0x188]
call fcn.00408bf0
add esp, 4
mov byte [esp + 0x258], 0x21
cmp dword [eax + 0x18], 8
jb 0x407fc5
mov eax, dword [eax + 4]
jmp 0x407fc8
add eax, 4
push eax
lea edi, [esp + 0x16c]
call fcn.00406480
add esp, 4
mov byte [esp + 0x258], 0x22
mov ecx, dword [esp + 0x28]
push ecx
push eax
xor edx, edx
lea ecx, [esp + 0xb0]
call fcn.00408650
add esp, 8
mov bl, al
mov byte [esp + 0x258], 0x21
mov esi, edi
call fcn.00440d90
mov byte [esp + 0x258], 0x20
lea esi, [esp + 0x184]
call fcn.00440d90
mov byte [esp + 0x258], 0x1f
lea esi, [esp + 0x130]
call fcn.00440d90
mov byte [esp + 0x258], 0x1a
lea esi, [esp + 0x114]
call fcn.00440d90
test bl, bl
je 0x40804d
mov byte [esp + 0x17], 1
mov byte [esp + 0x258], 0x19
lea edx, [esp + 0xa8]
push edx
call fcn.0041b9d0
mov byte [esp + 0x258], 0x18
lea esi, [esp + 0xb8]
call fcn.00406380
mov byte [esp + 0x258], 0xd
lea esi, [esp + 0x98]
call fcn.00406380
jmp 0x407dbd
mov byte [esp + 0x258], 0xd
lea esi, [esp + 0x98]
call fcn.00406380
jmp 0x407dbd
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x408428
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0x28]
call fcn.00413f90
mov byte [esp + 0x258], 0xe
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x3c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x408417
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x408417
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
push eax
lea esi, [esp + 0x8c]
call fcn.00413cf0
mov byte [esp + 0x258], 0xf
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x78]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x408403
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x408403
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
push eax
lea esi, [esp + 0x98]
call fcn.00413cf0
mov byte [esp + 0x258], 0x10
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x4083ef
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4083ef
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
push eax
lea esi, [esp + 0xc4]
call fcn.00413cf0
mov byte [esp + 0x258], 0x11
lea edx, [esp + 0x9c]
push edx
call fcn.00406ff0
mov byte [esp + 0x258], 0x12
mov edx, dword [esp + 0x74]
lea edi, [esp + 0xa0]
mov dword [esp + 0x9c], 2
call fcn.0040b9c0
mov edx, dword [esp + 0x5c]
lea edi, [esp + 0xa4]
call fcn.0040b9c0
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x210]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x13
cmp dword [esp + 0x3c], ebx
je 0x408267
mov eax, 0x694264
lea ecx, [esp + 0x1bc]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x14
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x218]
call fcn.0040d290
mov byte [esp + 0x258], 0x13
lea esi, [esp + 0x1bc]
call fcn.00440d90
lea eax, [esp + 0x210]
push eax
mov eax, dword [esp + 0x40]
call fcn.0040b370
mov eax, dword [esp + 0x78]
cmp eax, ebx
jne 0x408274
mov eax, 0x692fd0
lea ecx, [esp + 0x22c]
call fcn.0040b2d0
mov byte [esp + 0x258], 0x15
push ebx
lea ecx, [esp + 0x214]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x234]
call fcn.0040d290
cmp dword [esp + 0x244], 8
mov eax, dword [esp + 0x230]
jae 0x4082b8
lea eax, [esp + 0x230]
push eax
lea edi, [esp + 0x1f8]
call fcn.00406480
add esp, 4
mov byte [esp + 0x258], 0x16
mov edx, dword [esp + 0x28]
push edx
push eax
xor edx, edx
lea ecx, [esp + 0xa4]
call fcn.00408650
add esp, 8
test al, al
sete bl
mov byte [esp + 0x258], 0x15
mov esi, edi
call fcn.00440d90
test bl, bl
je 0x408360
cmp dword [esp + 0x228], 8
mov eax, dword [esp + 0x214]
jae 0x408317
lea eax, [esp + 0x214]
push eax
lea edi, [esp + 0x1dc]
call fcn.00406480
add esp, 4
mov byte [esp + 0x258], 0x17
mov ecx, dword [esp + 0x28]
push ecx
push eax
xor edx, edx
lea ecx, [esp + 0xa4]
call fcn.00408650
add esp, 8
mov bl, al
mov byte [esp + 0x258], 0x15
mov esi, edi
call fcn.00440d90
test bl, bl
je 0x408360
mov byte [esp + 0x17], 1
mov byte [esp + 0x258], 0x13
lea esi, [esp + 0x22c]
call fcn.00440d90
mov byte [esp + 0x258], 0x12
lea esi, [esp + 0x210]
call fcn.00440d90
mov byte [esp + 0x258], 0x11
lea edx, [esp + 0x9c]
push edx
call fcn.0041b9d0
mov byte [esp + 0x258], 0x10
lea esi, [esp + 0xbc]
call fcn.00406380
mov byte [esp + 0x258], 0xf
lea esi, [esp + 0x90]
call fcn.00406380
mov byte [esp + 0x258], 0xe
lea esi, [esp + 0x84]
call fcn.00406380
mov byte [esp + 0x258], 0xd
lea esi, [esp + 0x24]
call fcn.00406380
jmp 0x407dbd
mov byte [esp + 0x258], 0xf
lea esi, [esp + 0x90]
call fcn.00406380
mov byte [esp + 0x258], 0xe
lea esi, [esp + 0x84]
call fcn.00406380
mov byte [esp + 0x258], 0xd
lea esi, [esp + 0x24]
call fcn.00406380
mov byte [esp + 0x258], 0xc
lea esi, [esp + 0x18]
call fcn.00406380
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0x8c]
jl 0x407d10
mov byte [esp + 0x258], 0xb
mov esi, dword [esp + 0x68]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov byte [esp + 0x258], 0xa
mov esi, dword [esp + 0x6c]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov byte [esp + 0x258], 9
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov byte [esp + 0x258], 8
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x7c]
jl 0x407af0
mov byte [esp + 0x258], 4
mov esi, dword [esp + 0x54]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov byte [esp + 0x258], 3
mov esi, dword [esp + 0x58]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov byte [esp + 0x258], 2
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x258], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0059393a
mov esp, ebp
pop ebp
ret