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

Disassembly:
jmp 0x515570
sub esp, 0xa4
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0xa0], eax
cmp byte [esp + 0xa8], 0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
jne 0x5155ad
cmp byte [esp + 0xbc], 0
je 0x515aa4
movzx eax, byte [ebp + 0x59]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cdq
add eax, esi
mov dword [esp + 0x34], eax
movzx eax, byte [ebp + 0x1b]
adc edx, ecx
sub eax, 0
mov dword [esp + 0x38], edx
mov eax, 0xc
jne 0x5155d7
mov eax, 4
add esi, dword [ebp + 0x20]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x24]
adc edx, ecx
movlpd qword [esp + 0x3c], xmm0
add esi, eax
mov dword [esp + 0x44], 0
lea eax, [esp + 0x84]
mov dword [esp + 0x1c], esi
adc edx, 0
mov dword [esp + 0x48], 0
push eax
mov ecx, ebp
mov dword [esp + 0x28], edx
call fcn.0040b67c
xor ebx, ebx
mov byte [esp + 0x13], 1
push ebx
push dword [esp + 0x28]
lea eax, [esp + 0x8c]
mov dword [esp + 0x20], ebx
push esi
push eax
lea eax, [esp + 0x44]
push eax
push ebp
lea ecx, [esp + 0x54]
call fcn.0040b05f
test al, al
je 0x515938
cmp byte [esp + 0x13], 0
je 0x5157c6
cmp byte [esp + 0xb8], 0
je 0x51576b
mov ebp, dword [edi + 4]
mov ecx, dword [edi + 8]
cmp ebp, ecx
je 0x515679
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [ebp], xmm0
add dword [edi + 4], 0x10
jmp 0x515767
mov esi, dword [edi]
mov eax, ebp
mov edx, ebp
sub eax, esi
sub edx, esi
sar eax, 4
sar edx, 4
mov dword [esp + 0x14], edx
cmp eax, 0xfffffff
je 0x515ac4
sub ecx, esi
lea ebx, [eax + 1]
sar ecx, 4
mov eax, 0xfffffff
mov esi, ecx
mov dword [esp + 0x30], ebx
shr esi, 1
sub eax, esi
cmp ecx, eax
jbe 0x5156ce
mov eax, 0xfffffff0
mov esi, 0xfffffff
push eax
call fcn.00404818
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
jmp 0x515718
lea eax, [esi + ecx]
mov esi, ebx
cmp eax, ebx
cmovae esi, eax
cmp esi, 0xfffffff
ja 0x515abf
mov eax, esi
shl eax, 4
cmp eax, 0x1000
jb 0x515701
push eax
call fcn.00404818
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
jmp 0x515718
test eax, eax
je 0x515716
push eax
call fcn.00405e93
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
jmp 0x515718
xor ebx, ebx
movups xmm0, xmmword [esp + 0x3c]
add edx, edx
lea eax, [ebx + edx*8]
movups xmmword [eax], xmm0
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
push ebx
cmp ebp, eax
jne 0x51573e
push eax
push ecx
mov ecx, edi
call fcn.0041217f
jmp 0x51575a
push ebp
push ecx
mov ecx, edi
call fcn.00409bc9
mov eax, dword [esp + 0x28]
mov ecx, edi
add eax, 0x10
push eax
push dword [edi + 4]
push ebp
call fcn.00409bc9
push esi
push dword [esp + 0x34]
mov ecx, edi
push ebx
call fcn.004020e0
mov ebp, dword [esp + 0x20]
cmp byte [esp + 0xbc], 0
je 0x515938
mov ecx, ebp
call fcn.0040ee17
mov ecx, dword [edi + 4]
mov ebx, eax
sub ecx, dword [edi]
mov eax, 0x24924925
mul ebx
mov eax, dword [edi + 8]
sub eax, dword [edi]
sub ebx, edx
shr ebx, 1
add ebx, edx
sar ecx, 4
shr ebx, 3
add ebx, ecx
sar eax, 4
cmp ebx, eax
jbe 0x5157bc
cmp ebx, 0xfffffff
ja 0x515ac4
push ebx
mov ecx, edi
call fcn.004157fd
mov byte [esp + 0x13], 0
jmp 0x5158e7
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
cmp esi, ecx
je 0x5157e1
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esi], xmm0
add dword [edi + 4], 0x10
jmp 0x5158eb
mov edx, dword [edi]
mov eax, esi
sub eax, edx
mov ebp, esi
sar eax, 4
sub ebp, edx
cmp eax, 0xfffffff
je 0x515ac4
sub ecx, edx
lea ebx, [eax + 1]
sar ecx, 4
mov eax, 0xfffffff
mov edx, ecx
mov dword [esp + 0x28], ebx
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x51582b
mov eax, 0xfffffff0
mov ebx, 0xfffffff
push eax
call fcn.00404818
add esp, 4
mov ecx, eax
jmp 0x51586f
lea eax, [edx + ecx]
cmp eax, ebx
cmovae ebx, eax
cmp ebx, 0xfffffff
ja 0x515abf
mov eax, ebx
shl eax, 4
cmp eax, 0x1000
jb 0x515858
push eax
call fcn.00404818
add esp, 4
mov ecx, eax
jmp 0x51586f
test eax, eax
je 0x51586d
push eax
call fcn.00405e93
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, eax
jmp 0x515873
xor ecx, ecx
mov dword [esp + 0x14], ecx
movups xmm0, xmmword [esp + 0x3c]
and ebp, 0xfffffff0
add ebp, ecx
movups xmmword [ebp], xmm0
mov edx, dword [edi + 4]
mov eax, dword [edi]
cmp esi, edx
jne 0x5158a3
cmp eax, edx
je 0x5158d3
nop
movups xmm0, xmmword [eax]
add eax, 0x10
lea ecx, [ecx + 0x10]
movups xmmword [ecx - 0x10], xmm0
cmp eax, edx
jne 0x515890
jmp 0x5158d3
cmp eax, esi
je 0x5158bb
movups xmm0, xmmword [eax]
add eax, 0x10
lea ecx, [ecx + 0x10]
movups xmmword [ecx - 0x10], xmm0
cmp eax, esi
jne 0x5158a7
mov edx, dword [edi + 4]
cmp esi, edx
je 0x5158d3
lea eax, [ebp + 0x10]
movups xmm0, xmmword [esi]
add esi, 0x10
lea eax, [eax + 0x10]
movups xmmword [eax - 0x10], xmm0
cmp esi, edx
jne 0x5158c2
push ebx
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.004020e0
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x515900
cmp byte [eax + 7], 0
je 0x51590d
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x51590d
test ebx, ebx
je 0x515938
dec ebx
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x515938
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x84]
push ebx
push dword [esp + 0x28]
lea ecx, [esp + 0x44]
push esi
push eax
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.0040b05f
test al, al
jne 0x515644
jmp 0x51593c
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], eax
jb 0x515aa4
ja 0x515956
cmp dword [esp + 0x34], esi
jbe 0x515aa4
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
call fcn.00415dfc
push 0
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x50]
push 0
lea eax, [esp + 0xa0]
mov dword [esp + 0x30], 0x16
push 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0xf
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x924694
mov dword [esp + 0x74], eax
call fcn.0040826f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0x74], str.DWARF_compile_unit_extends_beyond_its_bounds_cu_0x_8.8llx_at_0x_8.8llx_n
mov dword [esp + 0x70], 0x931d74
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
call fcn.0040c69e
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x50]
je 0x515a2c
lea ecx, [esp + 0x4c]
call fcn.004067b2
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x38]
push eax
call fcn.00408deb
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.0040934a
mov edx, dword [esp + 0xac]
cmp edx, 0x10
jb 0x515a89
mov ecx, dword [esp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x515a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x515a7f
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 edx, dword [ebp + 8]
mov eax, dword [esp + 0x30]
add edx, 0x140
push ecx
mov ecx, esp
push edx
mov dword [ecx], eax
call fcn.004047ff
add esp, 8
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0xa4
ret 0xc
call fcn.004104b5
call fcn.00412625
int3