Function at 0x1003f360
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 edi, dword [ebp + 0xc]
movzx edx, byte [eax + 0xc9]
mov ebx, dword [eax + 0xc4]
mov esi, edi
cmp dl, 8
mov byte [esp + 0x13], dl
mov edx, dword [eax + 0xcc]
sete cl
mov dword [esp], edx
lea edx, [edx + ecx*8 + 4]
sub edx, ebx
sub esi, edx
setb dl
cmp esi, ebx
lea esi, [eax + 0xa8]
setae dh
or dh, dl
mov edx, dword [eax + 0xf0]
mov dword [esp + 0x18], edx
lea edx, [edx + 8]
jne 0x1003f452
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0xc0]
lea ecx, [ecx*8 + 4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0xc], 0
xor eax, eax
sub edi, ecx
xor ecx, ecx
sub edi, dword [esp]
add esi, ebx
mov dword [esp + 8], esi
movzx edx, byte [esi + edi]
cmp ecx, 0x3f
jne 0x1003f40e
cmp dl, 2
jae 0x1003f46b
mov byte [esp], dl
xor esi, esi
mov ebx, eax
mov eax, 0
movzx edx, byte [esp]
and dl, 0x7f
movzx edx, dl
shld esi, edx, cl
shl edx, cl
test cl, 0x20
cmovne esi, edx
cmovne edx, eax
mov eax, ebx
or dword [esp + 0xc], edx
movzx edx, byte [esp]
or eax, esi
test dl, dl
jns 0x1003f484
mov esi, dword [esp + 8]
add ecx, 7
inc edi
jne 0x1003f400
xor eax, eax
mov dh, 0x13
jmp 0x1003f46d
mov eax, dword [esp + 4]
mov dword [eax], 0x38
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x1003f47c
mov dh, 6
mov ecx, dword [esp + 4]
mov byte [ecx], dh
mov byte [ecx + 1], dl
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
lea ecx, [edi + ecx + 1]
or edx, eax
not edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
je 0x1003f57e
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x1003f4bf
mov ecx, dword [esp + 0xc]
dec ecx
cmp ecx, dword [esi + 0x10]
jae 0x1003f4bf
imul eax, ecx, 0x68
add eax, dword [esi + 0xc]
jmp 0x1003f593
mov edx, dword [esi + 0x14]
test edx, edx
je 0x1003f736
mov esi, dword [esi + 0x18]
mov ebx, dword [esp + 0xc]
mov ecx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
movzx ecx, word [ecx + 0x4d6]
mov esi, 0xffffffff
xor edi, edi
mov dword [esp + 0x4c], ecx
imul ecx, ecx, 0x68
mov dword [esp + 0x20], ecx
nop word cs:[eax + eax]
nop
mov edx, dword [esp + 0x20]
add edx, edi
je 0x1003f555
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], edi
mov edx, dword [ecx + esi*8 + 8]
mov ecx, dword [ecx + esi*8 + 0xc]
mov edi, edx
mov dword [esp + 0x18], ecx
xor ecx, eax
mov dword [esp + 0x24], edx
xor edx, edx
xor edi, ebx
or edi, ecx
mov ecx, eax
mov edi, dword [esp + 8]
setne dl
cmp ebx, dword [esp + 0x24]
sbb ecx, dword [esp + 0x18]
mov ecx, 0xff
cmovb edx, ecx
inc esi
add edi, 0xffffff98
cmp dl, 1
je 0x1003f500
movzx ecx, dl
test ecx, ecx
je 0x1003f58a
jmp 0x1003f559
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp]
sub ecx, 1
jb 0x1003f7e2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + esi*4 + 0x4d8]
jmp 0x1003f4d7
mov eax, dword [esp + 4]
mov byte [eax], 0x37
jmp 0x1003f47c
mov eax, dword [esp + 0x14]
sub eax, edi
add eax, 0xfffffff0
mov esi, dword [ebp + 8]
cmp byte [eax + 0x62], 1
jne 0x1003f5a4
mov dword [esp + 0x64], 1
test byte [eax], 1
je 0x1003f5bc
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 4]
test ebx, ebx
jne 0x1003f5d7
jmp 0x1003f795
mov ebx, dword [eax + 4]
cmp ebx, 6
jae 0x1003f7e9
add eax, 8
mov ecx, dword [esp + 4]
test ebx, ebx
je 0x1003f795
mov ecx, dword [esi + 0xf4]
shl ebx, 4
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0x2e
mov dword [esp + 0x18], 0
mov dword [esp], ecx
movzx ecx, byte [esp + 0x13]
mov dword [esp + 0xc], ecx
jmp 0x1003f651
cmp eax, 3
je 0x1003f6ef
cmp eax, 0x31
jne 0x1003f643
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 + 8], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
mov eax, esi
add eax, 0x10
add ebx, 0xfffffff0
je 0x1003f75f
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov esi, eax
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push edi
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 0x1003f741
movzx eax, word [esp + 0x78]
cmp eax, 0x46
jle 0x1003f610
cmp eax, 0x47
je 0x1003f61e
cmp eax, 0x6e
je 0x1003f6b8
cmp eax, 0x2007
jne 0x1003f643
lea edi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, edi
call sym.gimli::read::unit::Attribute_LT_R_GT_::value::h43a21af532bb1013
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push edi
push dword [esp + 4]
push dword [esp + 0x14]
call sym.gimli::read::dwarf::Dwarf_LT_R_GT_::attr_string::h2e2835e0fe0b4cd2
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x1003f643
jmp 0x1003f7a4
lea edi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, edi
call sym.gimli::read::unit::Attribute_LT_R_GT_::value::h43a21af532bb1013
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push edi
push dword [esp + 4]
push dword [esp + 0x14]
call sym.gimli::read::dwarf::Dwarf_LT_R_GT_::attr_string::h2e2835e0fe0b4cd2
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x1003f643
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
jmp 0x1003f643
movzx edx, byte [esp]
mov dh, 0x12
jmp 0x1003f46d
movsd xmm0, qword [esp + 0x70]
mov eax, dword [esp + 4]
movsd xmm1, qword [esp + 0x78]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x1003f47c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1003f77d
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov byte [eax], 0x4b
jmp 0x1003f47c
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov esi, dword [ebp + 8]
mov eax, edx
xor eax, 0x2e
or eax, ebx
jne 0x1003f7be
mov dword [ecx + 4], 0
mov byte [ecx], 0x4b
jmp 0x1003f47c
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov byte [edx], 0x4b
jmp 0x1003f47c
mov edi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x50]
dec edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
push dword [esp + 0x38]
push ebx
call sym.addr2line::function::name_attr::h36cd3aab840d5cc7
add esp, 0x1c
jmp 0x1003f47c
mov dh, 0x12
jmp 0x1003f46d
push 0x100ed52c
push 5
push ebx
call sym.core::slice::index::slice_end_index_len_fail::h31017dc9c470f2c8
nop word cs:[eax + eax]