Function at 0x41d140
Capabilities:
Get common file path
Get startup folder
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495bb2
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x96]
push ecx
mov word [esp + 0x98], ax
call fcn.00471430
add esp, 0xc
push 0
push 0x28
lea edx, [esp + 0x94]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
call fcn.00401e90
push 0x22
push str._funshion_funshiontoolsLoadIE.log
lea ebx, [esp + 0x24]
mov dword [esp + 0x2b8], 0
call fcn.00407ad0
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov eax, 7
or edi, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xbb8
mov dword [esp + 0x70], 0xa8c0
mov dword [esp + 0x74], 0x194
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov byte [esp + 0x2b0], 1
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov byte [esp + 0x84], bl
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41d250
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x4c]
call fcn.0040c1d0
push 0x3e8
push str.http:__neirong.funshion.com_tools_tactics_LoadIE.log
lea ecx, [esp + 0x34]
call fcn.00469bc0
test al, al
je 0x41d50d
lea ecx, [esp + 0x2c]
call fcn.00469590
test al, al
je 0x41d39d
lea ecx, [esp + 0x2c]
call fcn.004697c0
test al, al
je 0x41d39d
mov ecx, dword [esp + 0x1c]
push 0x4a741c
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x90], 1
mov dword [esp + 0x24], ebx
call fcn.00470860
add esp, 0xc
cmp dword [esp + 0x18], ebx
je 0x41d50d
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x4a7420
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b4], 2
call fcn.00401e90
mov byte [esp + 0x2b0], 3
mov eax, dword [esp + 0x18]
push eax
call fcn.004708a7
add esp, 4
test eax, eax
jne 0x41d4bc
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x90]
push 0x104
push edx
call fcn.004708cf
add esp, 0xc
test eax, eax
je 0x41d4a7
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
jmp 0x41d350
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d350
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d90
lea ebx, [esp + 0x14]
call fcn.0040cd90
mov ebx, eax
call fcn.0040ce10
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x41d4a5
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x41d3a9
or eax, 0xffffffff
jmp 0x41d3cd
mov byte [esp + 0x84], bl
jmp 0x41d50d
test eax, eax
jns 0x41d3b2
or eax, 0xffffffff
jmp 0x41d3cd
push edx
push ecx
call fcn.0046ffe8
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x41d3c9
or eax, 0xffffffff
jmp 0x41d3cd
sub eax, ecx
sar eax, 1
mov edx, dword [esp + 0x20]
mov edi, dword [edx - 0xc]
push 0x7c
push ecx
add edi, eax
call fcn.0046dd04
add esp, 8
test eax, eax
je 0x41d4a5
sub eax, dword [esp + 0x14]
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41d4a5
cmp edi, 0xffffffff
je 0x41d4a5
cmp edi, ebx
jge 0x41d4a5
lea ecx, [ebx + 1]
lea esi, [esp + 0x24]
lea edx, [esp + 0x14]
call fcn.00401570
mov esi, eax
lea ecx, [esp + 0x14]
mov eax, ebx
push ecx
sub eax, edi
mov ecx, edi
lea edx, [esp + 0x2c]
mov byte [esp + 0x2b4], 4
call fcn.00401610
mov edi, eax
mov byte [esp + 0x2b0], 5
mov esi, dword [esi]
push esi
call fcn.0046faf6
add esp, 4
push eax
push edi
call fcn.0041b530
mov byte [esp + 0x2b0], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d47d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004708a7
add esp, 4
test eax, eax
je 0x41d31c
mov byte [esp + 0x2b0], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d4e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d50d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
call fcn.00469520
mov dword [esp + 0x2b0], edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41d53a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret