Function at 0x41f960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fe08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4785c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0x467d3c
mov eax, dword [ebp + 0xc]
push eax
call fcn.004024f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41fa35
cmp dword [ebp + 8], 0
jne 0x41f9c2
push 0
mov ecx, 0x484f10
call fcn.004146d0
push 1
mov ecx, 0x484f10
call fcn.0042708d
cmp dword [ebp + 8], 1
jne 0x41f9e0
push 1
mov ecx, 0x484f10
call fcn.004146d0
push 1
mov ecx, 0x484f10
call fcn.0042708d
cmp dword [ebp + 8], 2
jne 0x41f9fe
push 2
mov ecx, 0x484f10
call fcn.004146d0
push 1
mov ecx, 0x484f10
call fcn.0042708d
cmp dword [ebp + 8], 3
jne 0x41fa1c
push 3
mov ecx, 0x484f10
call fcn.004146d0
push 1
mov ecx, 0x484f10
call fcn.0042708d
cmp dword [ebp + 8], 9
jne 0x41fa2e
push 2
mov ecx, 0x484f10
call fcn.0042708d
mov al, 1
jmp 0x41fe08
push 0x467d40
mov edx, dword [ebp + 0xc]
push edx
call fcn.004024f0
add esp, 8
movzx eax, al
test eax, eax
je 0x41fbd1
mov byte [ebp - 0x19], 0
cmp dword [ebp + 8], 0
jne 0x41fa9a
push 1
mov ecx, dword [ebp - 0x20]
call fcn.00422180
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x41fa86
push 0x30
push 0x467d44
push 0x467d58
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
jmp 0x41fa9a
push 0
push 0x467da0
push 0x467d4c
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
cmp dword [ebp + 8], 1
jne 0x41fadf
push 2
mov ecx, dword [ebp - 0x20]
call fcn.00422180
mov byte [ebp - 0x19], al
movzx edx, byte [ebp - 0x19]
test edx, edx
jne 0x41facb
push 0x30
push 0x467da8
push 0x467db0
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
jmp 0x41fadf
push 0
push 0x467df8
push 0x467e00
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
cmp dword [ebp + 8], 2
jne 0x41fb24
push 3
mov ecx, dword [ebp - 0x20]
call fcn.00422180
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x19]
test eax, eax
jne 0x41fb10
push 0x30
push 0x467e0c
push 0x467e20
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
jmp 0x41fb24
push 0
push 0x467e68
push 0x467e14
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
cmp dword [ebp + 8], 3
jne 0x41fb69
push 4
mov ecx, dword [ebp - 0x20]
call fcn.00422180
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x41fb55
push 0x30
push 0x467e70
push 0x467e78
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
jmp 0x41fb69
push 0
push 0x467ec0
push 0x467ec8
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
cmp dword [ebp + 8], 9
jne 0x41fb8d
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0xb0
call fcn.00402690
push eax
push 0x467ed4
mov ecx, dword [ebp - 0x20]
call fcn.004296fb
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x41fbca
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x8c], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x88], 0
je 0x41fbca
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x88], 0
mov al, 1
jmp 0x41fe08
mov ecx, dword [ebp - 0x20]
add ecx, 0x218
call fcn.0041e660
push eax
lea ecx, [ebp - 0x18]
call fcn.00401360
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402690
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xb8
call fcn.004018c0
movzx eax, al
test eax, eax
jne 0x41fc36
push 0
push 0
push str.js.SetDocument___failed.
call fcn.00424970
mov byte [ebp - 0x1a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041abb0
mov al, byte [ebp - 0x1a]
jmp 0x41fe08
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x90], 1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov dword [edx + 0x94], eax
cmp dword [ebp + 8], 4
jne 0x41fc75
mov ecx, dword [ebp - 0x20]
call fcn.00422f70
push 0x467f28
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fdcc
cmp dword [ebp + 8], 2
jne 0x41fc93
push 0x467f3c
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fdcc
cmp dword [ebp + 8], 3
jne 0x41fcb1
push 0x467f54
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fdcc
cmp dword [ebp + 8], 1
jne 0x41fccf
push 0x467f6c
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fdcc
cmp dword [ebp + 8], 0xa
jne 0x41fda0
push str.FTIE
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004024f0
add esp, 8
movzx edx, al
test edx, edx
je 0x41fd13
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x74], 1
push str.mainframe3.addResult
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fd9e
push str.FTCT
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004024f0
add esp, 8
movzx edx, al
test edx, edx
je 0x41fd4a
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x74], 2
push str.mainframe2.addResult
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fd9e
push str.FTKEY
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004024f0
add esp, 8
movzx edx, al
test edx, edx
je 0x41fd81
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x74], 3
push str.mainframe1.addResult
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fd9e
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x74], 0
push str.mainframe.addResult
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fdcc
cmp dword [ebp + 8], 0xb
jne 0x41fdbb
push str.mainframe10.addResult
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
call fcn.00402310
jmp 0x41fdcc
push str.PARM_ERR
mov edx, dword [ebp + 0x10]
push edx
call fcn.00403100
add esp, 8
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x41edb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041abb0
mov al, byte [ebp - 0x1b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc