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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 4], ecx
xor ecx, ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [eax + 0xc9]
mov edi, dword [eax + 0xc4]
mov ebx, esi
cmp dl, 8
mov byte [esp + 0x1b], dl
mov edx, dword [eax + 0xcc]
sete cl
mov dword [esp + 0x14], edx
lea edx, [edx + ecx*8 + 4]
sub edx, edi
sub ebx, edx
setb dl
cmp ebx, edi
lea ebx, [eax + 0xa8]
setae dh
or dh, dl
mov edx, dword [eax + 0xf0]
mov dword [esp + 0x1c], edx
lea edx, [edx + 8]
jne 0x10080515
mov eax, dword [eax + 0xc0]
lea ecx, [ecx*8 + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x10], 0
xor ebx, ebx
sub esi, ecx
xor ecx, ecx
sub esi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 8], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [eax + esi]
cmp ecx, 0x3f
jne 0x100804ce
cmp dl, 2
jae 0x1008052e
mov byte [esp + 0x14], dl
xor eax, eax
mov edi, ebx
mov ebx, 0
movzx edx, byte [esp + 0x14]
and dl, 0x7f
movzx edx, dl
shld eax, edx, cl
shl edx, cl
test cl, 0x20
cmovne eax, edx
cmovne edx, ebx
mov ebx, edi
or dword [esp + 0x10], edx
movzx edx, byte [esp + 0x14]
or ebx, eax
test dl, dl
jns 0x10080547
mov eax, dword [esp + 8]
add ecx, 7
inc esi
jne 0x100804c0
xor ecx, ecx
mov dh, 0x13
jmp 0x10080530
mov eax, dword [esp + 4]
mov dword [eax], 0x38
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x1008053f
mov dh, 6
mov esi, dword [esp + 4]
mov byte [esi], dh
mov byte [esi + 1], dl
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax + 1]
or ecx, ebx
not esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
je 0x1008063e
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x1c]
test ebx, ebx
jne 0x10080586
mov ecx, dword [esp + 0x10]
dec ecx
cmp ecx, dword [eax + 0x10]
jae 0x10080586
imul ecx, ecx, 0x68
add ecx, dword [eax + 0xc]
jmp 0x10080653
mov ecx, dword [eax + 0x14]
mov dh, 0x12
test ecx, ecx
je 0x100807e8
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x4d6]
mov edx, 0xffffffff
xor edi, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], eax
imul eax, eax, 0x68
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
add ecx, edi
je 0x1008061f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + edx*8 + 8]
mov eax, dword [eax + edx*8 + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x24], eax
xor eax, ebx
xor ecx, ecx
mov esi, dword [esp + 8]
xor esi, edi
or esi, eax
mov eax, ebx
mov esi, dword [esp + 4]
setne cl
cmp edi, dword [esp + 8]
mov edi, dword [esp + 0x1c]
sbb eax, dword [esp + 0x24]
mov eax, 0xff
cmovb ecx, eax
inc edx
add edi, 0xffffff98
cmp cl, 1
je 0x100805c0
movzx eax, cl
test eax, eax
je 0x1008064a
jmp 0x10080623
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
sub dword [esp + 0x48], 1
jb 0x10080873
mov ecx, dword [ecx + edx*4 + 0x4d8]
jmp 0x1008059a
mov eax, dword [esp + 4]
mov byte [eax], 0x37
jmp 0x1008053f
mov ecx, dword [esp + 0xc]
sub ecx, edi
add ecx, 0xfffffff0
cmp byte [ecx + 0x62], 1
jne 0x10080661
mov dword [esp + 0x64], 1
push ecx
call sym.__LT_gimli..read..abbrev..Attributes_u20_as_u20_core..ops..deref..Deref_GT_::deref::hae5686a143e62adf
add esp, 4
test edx, edx
je 0x1008082c
mov ecx, eax
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x2e
mov dword [esp + 0x1c], 0
shl edi, 4
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x1b]
mov dword [esp + 8], eax
mov eax, ecx
jmp 0x100806f5
cmp eax, 3
mov edi, ebx
je 0x100807a1
cmp eax, 0x31
jne 0x100806e5
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
call sym.gimli::read::unit::Attribute_LT_R_GT_::value::h43a21af532bb1013
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x14]
add eax, 0x10
add edi, 0xfffffff0
je 0x10080807
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov ebx, edi
mov edi, esi
lea esi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push esi
push dword [eax + 0x20]
call sym.gimli::read::unit::parse_attribute::hdd3cf4e0ff72c012
add esp, 8
mov eax, dword [esp + 0x68]
xor eax, 0x2e
or eax, dword [esp + 0x6c]
je 0x100807ed
movzx eax, word [esp + 0x78]
mov esi, edi
cmp eax, 0x46
jle 0x100806b0
cmp eax, 0x47
mov edi, ebx
je 0x100806c0
cmp eax, 0x6e
je 0x1008076a
cmp eax, 0x2007
jne 0x100806e5
lea ebx, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, ebx
call sym.gimli::read::unit::Attribute_LT_R_GT_::value::h43a21af532bb1013
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x10]
call sym.gimli::read::dwarf::Dwarf_LT_R_GT_::attr_string::h2e2835e0fe0b4cd2
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x100806e5
jmp 0x1008083b
lea ebx, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, ebx
call sym.gimli::read::unit::Attribute_LT_R_GT_::value::h43a21af532bb1013
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x10]
call sym.gimli::read::dwarf::Dwarf_LT_R_GT_::attr_string::h2e2835e0fe0b4cd2
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x100806e5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
jmp 0x100806e5
jmp 0x10080534
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
jmp 0x1008053f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1008081b
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x10080833
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov eax, edx
xor eax, 0x2e
or eax, ebx
jne 0x1008084b
mov dword [esi + 4], 0
mov byte [esi], 0x4b
jmp 0x1008053f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x10080833
mov edi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x50]
mov ecx, esi
dec edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push dword [esp + 0x38]
push ebx
call sym.addr2line::function::name_attr::h36cd3aab840d5cc7
add esp, 0x1c
jmp 0x1008053f
movzx edx, byte [esp + 0x14]
mov dh, 0x12
jmp 0x10080534