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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4c61e2
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4ea6c4]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x1b4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], esi
jne 0x411018
mov dword [esp + 0x28], ebx
jmp 0x411037
mov ecx, dword [esi + 0x1b8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x28], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x1b4]
cmp eax, ebx
je 0x41189d
mov ecx, dword [esi + 0x1b8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41189d
mov eax, dword [esi + 0x1b4]
cmp eax, ebx
je 0x41109b
mov ecx, dword [esi + 0x1b8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4110a0
call fcn.004ac22f
mov eax, dword [esi + 0x1b4]
add eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xd4]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
call fcn.004017d0
mov dword [esp + 0x140], ebx
cmp dword [esp + 0xdc], ebx
je 0x4115ba
push 1
push 0x4cb904
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
call fcn.00401700
mov eax, esi
push eax
lea edi, [esp + 0xcc]
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 1
call fcn.00407400
add esp, 4
mov byte [esp + 0x140], 3
cmp dword [esp + 0x44], 8
jb 0x411146
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004abbe4
add esp, 4
mov esi, dword [esp + 0xa4]
cmp esi, 3
mov edi, 7
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov edx, esi
jb 0x411169
lea edx, [edi - 4]
cmp dword [esp + 0xa8], 8
mov ecx, dword [esp + 0x94]
jae 0x411181
lea ecx, [esp + 0x94]
cmp edx, ebx
mov eax, 0x4cf6d0
jbe 0x4111ac
lea ebx, [ebx]
mov di, word [ecx]
cmp di, word [eax]
jne 0x4112c1
add ecx, 2
add eax, 2
sub edx, 1
jne 0x411190
mov edi, 7
cmp esi, 3
jb 0x4112e1
xor eax, eax
cmp esi, 3
setne al
cmp eax, ebx
jne 0x4112e1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call fcn.004017d0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0xb0]
mov edx, esi
mov byte [esp + 0x144], 4
call fcn.004118d0
test al, al
je 0x41167d
cmp dword [esi + 0x1f0], 1
jne 0x411276
cmp dword [esi + 0x114], ebx
je 0x411276
mov eax, dword [esp + 0x20]
fldz
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
add eax, 1
sub esp, 0x10
test eax, eax
fstp qword [esp + 8]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jge 0x411254
fadd qword [0x4da8d8]
mov eax, dword [esp + 0x38]
fmul qword [0x4da888]
test eax, eax
fild dword [esp + 0x38]
jge 0x41126c
fadd qword [0x4da8d8]
fdivp st(1)
mov edx, dword [edx + 0xc]
fstp qword [esp]
call edx
cmp dword [esp + 0xc4], 8
jb 0x411290
mov eax, dword [esp + 0xb0]
push eax
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xa8], 8
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
jb 0x4115a4
mov ecx, dword [esp + 0x94]
push ecx
jmp 0x41159c
mov dx, di
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
cmp eax, ebx
je 0x4111a7
mov edi, 7
jmp 0x4111bd
lea eax, [esp + 0x90]
push eax
mov ecx, str.runcheck
call fcn.0040a940
test eax, eax
jne 0x411510
push 1
push 0x4cb904
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00401700
mov ecx, esi
push ecx
lea edi, [esp + 0xcc]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x144], 5
call fcn.00407400
add esp, 4
mov byte [esp + 0x140], 7
cmp dword [esp + 0x6c], 8
jb 0x411359
mov edx, dword [esp + 0x58]
push edx
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xfc], 8
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jae 0x411382
lea eax, [esp + 0xe8]
push ebx
call fcn.00406a30
add esp, 4
push 0xffffffffffffffff
mov edi, eax
push ebx
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call fcn.004017d0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0xb0]
mov edx, esi
mov byte [esp + 0x144], 8
call fcn.004118d0
test al, al
je 0x411778
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41177e
cmp dword [esi + 0x1f0], 1
jne 0x41144e
cmp dword [esi + 0x114], ebx
je 0x41144e
mov eax, dword [esp + 0x20]
fldz
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
add eax, 1
sub esp, 0x10
test eax, eax
fstp qword [esp + 8]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jge 0x41142c
fadd qword [0x4da8d8]
mov eax, dword [esp + 0x38]
fmul qword [0x4da888]
test eax, eax
fild dword [esp + 0x38]
jge 0x411444
fadd qword [0x4da8d8]
fdivp st(1)
mov edx, dword [edx + 0xc]
fstp qword [esp]
call edx
cmp dword [esp + 0xc4], 8
jb 0x411468
mov eax, dword [esp + 0xb0]
push eax
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xfc], 8
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
jb 0x41149c
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xa8], 8
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
jb 0x4114d0
mov edx, dword [esp + 0x94]
push edx
call fcn.004abbe4
add esp, 4
mov dword [esp + 0x140], 0xffffffff
cmp dword [esp + 0xe0], 8
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jb 0x4115df
mov eax, dword [esp + 0xcc]
push eax
jmp 0x4115d7
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x4cfa28
call fcn.0040a940
test eax, eax
jne 0x411539
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc8]
push edx
call fcn.00412970
jmp 0x41158a
lea eax, [esp + 0x90]
push eax
mov ecx, str.CreateShortCut
call fcn.0040a940
test eax, eax
jne 0x411563
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc8]
push ecx
push edx
call fcn.00413a20
jmp 0x41158a
lea eax, [esp + 0x90]
push eax
mov ecx, str.DeleteFile
call fcn.0040a940
test eax, eax
jne 0x4115f6
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0xcc]
call fcn.00414170
cmp dword [esp + 0xa8], 8
jb 0x4115a4
mov edx, dword [esp + 0x94]
push edx
call fcn.004abbe4
add esp, 4
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
mov dword [esp + 0x140], 0xffffffff
cmp dword [esp + 0xe0], 8
jb 0x4115df
mov edx, dword [esp + 0xcc]
push edx
call fcn.004abbe4
add esp, 4
add dword [esp + 0x20], 1
add dword [esp + 0x1c], 0x1c
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
jmp 0x411041
mov edx, 0x4cfa68
lea eax, [esp + 0x74]
call fcn.004016b0
mov byte [esp + 0x140], 9
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0xa4]
jbe 0x411622
mov byte [esp + 0x17], bl
jmp 0x41163a
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x78]
call fcn.00407ff0
test eax, eax
sete byte [esp + 0x17]
lea esi, [esp + 0x74]
call fcn.00449530
lea esi, [esp + 0x90]
call fcn.00449530
lea esi, [esp + 0xc8]
mov dword [esp + 0x140], 0xffffffff
call fcn.00449530
add dword [esp + 0x20], 1
add dword [esp + 0x1c], 0x1c
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
jmp 0x411041
cmp dword [esi + 0x114], ebx
je 0x4116f7
mov eax, 8
cmp dword [esp + 0xa8], eax
jb 0x4116a0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
jmp 0x4116ab
lea edx, [esp + 0x94]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0xc4], eax
mov edi, dword [esp + 0xb0]
jae 0x4116c2
lea edi, [esp + 0xb0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x114]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], 0x40000001
mov dword [esp + 0x38], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x2c]
push eax
call edx
mov edi, 7
cmp dword [esp + 0xc4], 8
jb 0x411711
mov eax, dword [esp + 0xb0]
push eax
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xa8], 8
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
jb 0x411741
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xe0], 8
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jb 0x411771
mov edx, dword [esp + 0xcc]
push edx
call fcn.004abbe4
add esp, 4
xor al, al
jmp 0x41189f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x114], ebx
je 0x4117df
mov edx, dword [esp + 0x94]
mov ecx, 8
cmp dword [esp + 0xa8], ecx
jae 0x4117a2
lea edx, [esp + 0x94]
cmp dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0xb0]
jae 0x4117b9
lea ecx, [esp + 0xb0]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x114]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], 0x40000001
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x2c]
push edx
call eax
cmp dword [esp + 0xc4], 8
jb 0x4117f9
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xfc], 8
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
jb 0x41182d
mov edx, dword [esp + 0xe8]
push edx
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xa8], 8
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
jb 0x411861
mov eax, dword [esp + 0x94]
push eax
call fcn.004abbe4
add esp, 4
cmp dword [esp + 0xe0], 8
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jb 0x411771
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004abbe4
add esp, 4
xor al, al
jmp 0x41189f
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004abc64
mov esp, ebp
pop ebp
ret