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

Disassembly:
push 0xffffffffffffffff
push 0x471c33
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c0]
mov edi, dword [esp + 0x2bc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c4]
mov dword [esp + 0x18], eax
xor eax, eax
push 0x208
push eax
mov word [esp + 0x9c], ax
lea eax, [esp + 0x9e]
push eax
mov dword [esp + 0x48], edi
call fcn.00455ee0
add esp, 0xc
lea eax, [esp + 0x94]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x94]
push 0x5c
push eax
call fcn.00451c84
mov edx, eax
add esp, 8
test edx, edx
jne 0x41075c
lea edx, [esp + 0x94]
jmp 0x41075f
add edx, 2
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
cmp word [edx], ax
jne 0x41078f
xor ecx, ecx
jmp 0x4107a3
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410794
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.004073e0
mov dword [esp + 0x2b4], 0
xor ecx, ecx
mov ebp, dword [esp + 0x5c]
test ebp, ebp
je 0x410804
mov edx, dword [esp + 0x60]
lea esi, [ecx + 0x2e]
mov ebx, dword [esp + 0x4c]
lea edi, [ecx + 0x5f]
cmp edx, 8
lea eax, [esp + 0x4c]
cmovae eax, ebx
cmp si, word [eax + ecx*2]
jne 0x4107f7
cmp edx, 8
lea eax, [esp + 0x4c]
cmovae eax, ebx
mov word [eax + ecx*2], di
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x4c]
inc ecx
cmp ecx, ebp
jb 0x4107d1
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
push str._____
mov edx, 0x481dc4
lea ecx, [esp + 0x50]
call fcn.004111e0
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, 0x481dc8
push str._____
call fcn.004111e0
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, 0x481dcc
push str._____
call fcn.004111e0
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, 0x481dd0
push str._____
call fcn.004111e0
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, 0x481dd4
push str._____
call fcn.004111e0
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, 0x481dd8
push str._____
call fcn.004111e0
add esp, 4
mov dword [esp + 0x74], 0
xor eax, eax
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
push 0xffffffffffffffff
push eax
push dword [esp + 0x1c]
mov word [esp + 0x70], ax
call fcn.00406750
mov byte [esp + 0x2b4], 1
xorps xmm0, xmm0
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x2b4], 2
lea eax, [esp + 0x40]
push eax
mov edx, 0x5f
lea ecx, [esp + 0x50]
call fcn.00412fd0
mov ebx, dword [esp + 0x48]
mov eax, 0x2aaaaaab
mov ebp, dword [esp + 0x44]
mov ecx, ebx
sub ecx, ebp
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
je 0x410966
mov ebx, ebp
mov ebp, eax
jmp 0x410940
mov edx, str.__r_t_n
mov ecx, ebx
call fcn.00411320
mov edx, str.__r_t_n
mov ecx, ebx
call fcn.00411390
add ebx, 0x18
dec ebp
jne 0x410940
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
cmp ebp, ebx
jne 0x41099b
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x41097e
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406750
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x410cc7
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00406750
jmp 0x410cc7
xor eax, eax
mov dword [esp + 0x8c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x98], 0
lea ecx, [esp + 0x84]
push ebp
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
call fcn.00406750
mov byte [esp + 0x2b4], 3
mov eax, dword [esp + 0x2cc]
cmp eax, 1
jne 0x410a00
lea ecx, [esp + 0x7c]
call fcn.00411460
jmp 0x410a04
test eax, eax
je 0x410a56
cmp dword [esp + 0x78], 8
lea eax, [esp + 0x64]
push dword [esp + 0x74]
cmovae eax, dword [esp + 0x68]
push eax
push dword [esp + 0x94]
push ecx
lea ecx, [esp + 0x8c]
call fcn.00410dc0
test eax, eax
je 0x410a56
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x410a43
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406750
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x410c8c
mov ecx, esi
jmp 0x410c82
mov eax, dword [esp + 0x14]
cmp eax, 2
ja 0x410b21
sub esp, 0x18
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00406750
mov byte [esp + 0x2cc], 4
mov byte [esp + 0x2cc], 3
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x34]
call fcn.00410520
add esp, 0x18
mov dword [esp + 0x14], eax
mov byte [esp + 0x2b4], 5
cmp esi, eax
je 0x410aea
cmp dword [esi + 0x14], 8
jb 0x410acf
push dword [esi]
call fcn.0044fd7a
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00406510
mov byte [esp + 0x2b4], 3
cmp dword [esp + 0x38], 8
jb 0x410b05
push dword [esp + 0x24]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jmp 0x410c78
cmp eax, 3
jb 0x410c8c
cmp dword [ebp + 0x28], 0
jne 0x410b4d
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x410c06
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00406750
jmp 0x410c06
sub esp, 0x18
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00406750
mov byte [esp + 0x2cc], 6
mov byte [esp + 0x2cc], 3
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x34]
call fcn.00410520
add esp, 0x18
mov dword [esp + 0x14], eax
mov byte [esp + 0x2b4], 7
cmp esi, eax
je 0x410bd4
cmp dword [esi + 0x14], 8
jb 0x410bb9
push dword [esi]
call fcn.0044fd7a
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00406510
mov byte [esp + 0x2b4], 3
cmp dword [esp + 0x38], 8
jb 0x410bef
push dword [esp + 0x24]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
lea eax, [ebp + 0x30]
cmp edi, eax
je 0x410c19
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406750
mov eax, dword [edi + 0x10]
test eax, eax
je 0x410c78
cmp eax, 7
jne 0x410c78
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
xor eax, eax
push eax
mov dword [ecx + 0x10], 0
push edi
mov word [ecx], ax
call fcn.00406750
mov byte [esp + 0x2cc], 8
mov byte [esp + 0x2cc], 3
call fcn.00410460
add esp, 0x18
test al, al
je 0x410c78
cmp dword [edi + 0x14], 8
jb 0x410c6c
mov ecx, dword [edi]
jmp 0x410c6e
mov ecx, edi
call fcn.00410fd0
cmp eax, 1
jae 0x410c8c
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x410c8c
mov ecx, edi
push 0xffffffffffffffff
push 0
push eax
call fcn.00406750
mov byte [esp + 0x2b4], 2
cmp dword [esp + 0x90], 8
jb 0x410caa
push dword [esp + 0x7c]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0x2b4], 1
test ebp, ebp
je 0x410d2b
mov esi, ebp
cmp ebp, ebx
je 0x410d0a
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x410cf0
push dword [esi]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x410ce0
push ebp
call fcn.0044fd7a
add esp, 4
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x2b4], 0
cmp dword [esp + 0x78], 8
jb 0x410d46
push dword [esp + 0x64]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x2b4], 0xffffffff
cmp dword [esp + 0x60], 8
jb 0x410d7b
push dword [esp + 0x4c]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x2a4
ret