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

Disassembly:
jmp 0x876c50
sub esp, 0xbc
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0xf
push ebx
mov bl, byte [esp + 0xcc]
mov byte [esp + 7], bl
mov byte [esp + 0x1c], bl
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x14], esi
push edi
test eax, eax
jne 0x876ca7
xor ecx, ecx
lea eax, [esp + 0x74]
mov dword [esp + 0x84], ecx
jmp 0x876cfb
push dword [esp + 0xd4]
lea ecx, [esp + 0x78]
mov dword [esp + 0x88], 0
push eax
call fcn.00408698
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
jb 0x876cf4
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x876cf4
mov dword [esp + 0xac], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0xf
jmp 0x876d2a
mov ecx, dword [esp + 0x84]
push ecx
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xf
call fcn.00408698
movups xmm0, xmmword [esp + 0xac]
lea eax, [esi + 0x34c]
mov byte [esp + 0xa4], bl
mov dword [esp + 0x50], eax
xor edi, edi
mov eax, dword [eax]
mov ebp, eax
movups xmmword [esp + 0x8c], xmm0
mov dword [esp + 0xa8], 0
movq xmm0, qword [esp + 0xbc]
movq qword [esp + 0x9c], xmm0
mov esi, dword [eax + 4]
mov dword [esp + 0x6c], eax
cmp byte [esi + 0xd], 0
jne 0x876dd0
nop dword [eax + eax]
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], esi
push eax
lea edi, [esi + 0x10]
push edi
call fcn.004152df
add esp, 8
test al, al
jne 0x876dc1
lea eax, [esp + 0x8c]
push edi
push eax
call fcn.004152df
add esp, 8
test al, al
jne 0x876db6
cmp byte [edi + 0x18], bl
jb 0x876dc1
mov ebp, esi
mov edi, 1
mov esi, dword [esi]
jmp 0x876dc6
mov esi, dword [esi + 8]
xor edi, edi
cmp byte [esi + 0xd], 0
je 0x876d80
mov esi, dword [esp + 0x14]
cmp byte [ebp + 0xd], 0
jne 0x876e12
lea eax, [ebp + 0x10]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004152df
add esp, 8
test al, al
jne 0x876e12
lea eax, [esp + 0x8c]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.004152df
add esp, 8
test al, al
jne 0x876e0b
cmp bl, byte [ebp + 0x28]
jb 0x876e12
xor bl, bl
jmp 0x876ea5
mov ebx, dword [esp + 0x50]
cmp dword [ebx + 4], 0x5555555
je 0x8771a3
push 0x30
call fcn.00405e93
mov edx, eax
add esp, 4
mov ecx, ebx
mov dword [edx + 0x10], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
movups xmm0, xmmword [esp + 0x8c]
push edx
push edi
movups xmmword [edx + 0x10], xmm0
push esi
movq xmm0, qword [esp + 0xa8]
movq qword [edx + 0x20], xmm0
mov al, byte [esp + 0xb0]
mov dword [esp + 0xac], 0xf
mov byte [esp + 0x98], 0
mov byte [edx + 0x28], al
mov eax, dword [esp + 0xb4]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov word [edx + 0xc], 0
call fcn.0040211c
mov ebp, eax
mov bl, 1
mov edx, dword [esp + 0xa0]
cmp edx, 0x10
jb 0x876edd
mov ecx, dword [esp + 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x876ed3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x876f26
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x88]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0xf
mov byte [esp + 0x8c], 0
cmp edx, 0x10
jb 0x876f36
mov ecx, dword [esp + 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x876f2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x876f2c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
test bl, bl
jne 0x876f5d
mov eax, dword [ebp + 0x2c]
jmp 0x877188
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
jb 0x876f69
mov eax, dword [ebp + 0x10]
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x70]
push eax
mov word [esp + 0x48], 0x103
mov dword [esp + 0x40], 0x934ba0
call fcn.004083af
lea ecx, [esp + 0x38]
mov word [esp + 0x84], 0x105
mov dword [esp + 0x5c], ecx
add esp, 8
lea ecx, [esp + 0x54]
mov word [esp + 0x5c], 0x305
mov dword [esp + 0x44], ecx
mov cl, byte [esp + 0x40]
mov dword [esp + 0x58], 0x935948
mov dword [esp + 0x48], eax
mov word [esp + 0x4c], 0x502
test cl, cl
je 0x877015
cmp cl, 1
jne 0x876feb
movq xmm0, qword [esp + 0x44]
mov eax, dword [esp + 0x4c]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], eax
jmp 0x87701c
cmp byte [esp + 0x41], 1
lea eax, [esp + 0x38]
mov dl, 2
jne 0x876ffe
mov eax, dword [esp + 0x38]
mov dl, cl
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x24], 2
mov byte [esp + 0x25], dl
jmp 0x87701c
mov word [esp + 0x24], 0x100
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00403d5a
mov esi, eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x18], esi
test eax, eax
je 0x877073
cmp byte [eax], 0
mov byte [esp + 0x69], 1
je 0x87705a
mov dword [esp + 0x60], eax
mov byte [esp + 0x68], 3
jmp 0x87705f
mov byte [esp + 0x68], 1
push 1
push 0
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.00414f38
mov dword [esp + 0x14], eax
push 8
push 0xa8
lea ecx, [ebx + 0x144]
call fcn.00410af5
test byte [esi], 4
mov ebx, eax
jne 0x877092
xor ecx, ecx
xor eax, eax
jmp 0x87709a
mov eax, dword [esi - 8]
lea ecx, [eax + 8]
mov eax, dword [eax]
push eax
push ecx
lea eax, [esp + 0x30]
push eax
call fcn.00404034
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x14]
push dword [esp + 0xe8]
push dword [esp + 0x34]
push dword [esp + 0x34]
push 4
call fcn.004120cb
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0xe0]
mov byte [ebx + 0x98], al
mov al, byte [esp + 0xdc]
mov byte [ebx + 0x99], al
mov eax, dword [esp + 0x18]
mov dword [ebx], 0x9f8bd0
mov byte [ebx + 0x9a], cl
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0xa4], edi
cmp byte [eax + 0x19], 0
jne 0x877117
mov byte [eax + 0x19], 1
mov byte [eax + 0x18], cl
mov ecx, eax
push ebx
call fcn.00408558
cmp byte [ebx + 0x99], 0
je 0x877140
push 2
push 0
push 4
call fcn.0040ebba
mov cl, 0x3f
add esp, 0xc
sub cl, al
mov byte [ebx + 0x10], cl
push 0xa8
mov dword [ebp + 0x2c], ebx
call fcn.00405e93
add esp, 4
test eax, eax
je 0x877161
push 0
mov ecx, eax
call fcn.004061ef
mov edx, eax
jmp 0x877163
xor edx, edx
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [eax + 4], edx
mov dword [ecx], edx
mov ecx, dword [esp + 0x14]
mov dword [edx + 8], ebx
test ecx, ecx
je 0x877186
mov eax, dword [ecx]
and eax, 7
or eax, edx
mov dword [ecx], eax
mov eax, ebx
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0xbc
ret 0x1c
call fcn.00402a54
int3