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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x3c], 0
mov dword [esp + 0x44], ecx
je 0x53f4bd
mov eax, ebx
mov ebx, dword [ebx + 0x40]
mov esi, dword [eax + 0x44]
xorps xmm0, xmm0
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov dword [esp], esi
lea ecx, [esp + 0x20]
call fcn.0054f9bc
sub esp, 4
test esi, esi
je 0x53f43a
add esi, esi
xor edi, edi
movzx eax, word [ebx + edi]
cmp eax, 0x100
mov ecx, 0x3f
cmovae eax, ecx
movsx eax, al
mov dword [esp], eax
lea ecx, [esp + 0x20]
call fcn.0054f9c2
sub esp, 4
add edi, 2
cmp esi, edi
jne 0x53f410
mov esi, dword [esp + 0x44]
mov ecx, dword [esi]
movzx eax, byte [esp + 0x20]
mov edx, eax
shr edx, 1
test al, 1
lea eax, [esp + 0x21]
cmovne eax, dword [esp + 0x28]
mov dword [esp + 0xcc], str.Resource_type__string_
cmovne edx, dword [esp + 0x24]
mov dword [esp + 0xd0], 0x16
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xc4]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xcc]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
test byte [esp + 0x20], 1
je 0x53f4b5
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ebx, dword [ebp + 8]
jmp 0x53f5ab
mov esi, ecx
lea eax, [esp + 0x54]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x14
xorps xmm0, xmm0
movups xmmword [esp + 0x24], xmm0
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov eax, dword [sym.imp.libLLVM_18.dll_vtable_for_llvm::raw_svector_ostream]
add eax, 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x40], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
lea edi, [esp + 0x20]
mov ecx, edi
call fcn.0054f21e
sub esp, 0xc
movzx eax, word [ebx + 0x48]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0054f440
mov ecx, dword [esi]
mov dword [esp + 0xbc], str.Resource_type__int_
mov dword [esp + 0xc0], 0x13
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], eax
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xb4]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xbc]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
mov ecx, edi
call fcn.0054f236
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x53f5ab
mov dword [esp], eax
call sub.msvcrt.dll_free
cmp byte [ebx + 0x4a], 0
je 0x53f69a
mov eax, ebx
mov ebx, dword [ebx + 0x4c]
mov esi, dword [eax + 0x50]
xorps xmm0, xmm0
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov dword [esp], esi
lea ecx, [esp + 0x20]
call fcn.0054f9bc
sub esp, 4
test esi, esi
je 0x53f61a
add esi, esi
xor edi, edi
nop word cs:[eax + eax]
movzx eax, word [ebx + edi]
cmp eax, 0x100
mov ecx, 0x3f
cmovae eax, ecx
movsx eax, al
mov dword [esp], eax
lea ecx, [esp + 0x20]
call fcn.0054f9c2
sub esp, 4
add edi, 2
cmp esi, edi
jne 0x53f5f0
mov esi, dword [esp + 0x44]
mov ecx, dword [esi]
movzx eax, byte [esp + 0x20]
mov edx, eax
shr edx, 1
test al, 1
lea eax, [esp + 0x21]
cmovne eax, dword [esp + 0x28]
mov dword [esp + 0xac], str.Resource_name__string_
cmovne edx, dword [esp + 0x24]
mov dword [esp + 0xb0], 0x16
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xac]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
test byte [esp + 0x20], 1
je 0x53f695
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ebx, dword [ebp + 8]
jmp 0x53f6d0
mov ecx, dword [esi]
mov dword [esp + 0x9c], str.Resource_name__int_
mov dword [esp + 0xa0], 0x13
movzx eax, word [ebx + 0x54]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x94], str.Data_version
mov dword [esp + 0x98], 0xc
mov eax, dword [ebx + 0x58]
movzx eax, word [eax]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x94]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ebx + 0x58]
movzx eax, word [eax + 4]
mov dword [esp + 0x20], str.Memory_flags
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
call dword [eax + 0xa8]
sub esp, 0x10
mov ecx, dword [esi]
mov dword [esp + 0x8c], str.Language_ID
mov dword [esp + 0x90], 0xb
mov eax, dword [ebx + 0x58]
movzx eax, word [eax + 6]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x84], str.Version__major_
mov dword [esp + 0x88], 0xf
mov eax, dword [ebx + 0x58]
movzx eax, word [eax + 0xa]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x84]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x7c], str.Version__minor_
mov dword [esp + 0x80], 0xf
mov eax, dword [ebx + 0x58]
movzx eax, word [eax + 8]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x74], str.Characteristics
mov dword [esp + 0x78], 0xf
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xc]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x74]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x20]
sub esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x6c], str.Data_size
mov dword [esp + 0x70], 9
mov eax, dword [ebx + 0x60]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [edx + 0x30]
sub esp, 0x10
mov ecx, dword [esi]
movsd xmm0, qword [ebx + 0x5c]
mov dword [esp + 0x20], str.Data:
mov dword [esp + 0x24], 5
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
movsd qword [esp + 0xd4], xmm0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xd4]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call dword [eax + 0x98]
sub esp, 0x20
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x53f8e2
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x53f8fb
mov dword [esp + 4], 1
mov dword [esp], 0x56b598
mov ecx, eax
call fcn.0054f224
sub esp, 8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4