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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov dword [esp + 0x64], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esp + 0x28], ecx
mov dword [ecx + 8], 0
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x53a07c
mov esi, dword [ebp + 8]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x24], eax
jmp 0x539f01
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044f050
inc dword [esp + 0x34]
nop word cs:[eax + eax]
mov esi, dword [esp + 0x1c]
add esi, 0xc
cmp esi, dword [esp + 0x24]
je 0x53a07c
movzx ebx, byte [esi]
test bl, 1
je 0x539f20
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
jmp 0x539f25
lea edi, [esi + 1]
shr ebx, 1
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
lea eax, [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
call fcn.0054a4e6
test al, al
mov dword [esp + 0x1c], esi
jne 0x539fd0
cmp dword [esp + 0x6c], 0
jne 0x539fd0
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
lea ebx, [esp + 0x30]
jmp 0x539f72
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x539f8f
mov ebx, eax
cmp dword [eax + 0x10], edi
ja 0x539f70
jae 0x539ef0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x539f78
lea esi, [ebx + 4]
mov dword [esp], 0x18
call sub.libc.dll_operator_new_unsigned_int_
mov dword [eax + 0x10], edi
mov byte [eax + 0x14], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ebx
mov dword [esi], eax
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x539ed1
mov dword [esp + 0x2c], ecx
mov eax, dword [esi]
jmp 0x539ed1
cmp ebx, 0xfffffff8
jae 0x53a876
mov dword [esp + 0x20], edi
cmp ebx, 0xb
jae 0x53a000
mov eax, ebx
add al, bl
mov byte [esp + 0x68], al
lea edi, [esp + 0x69]
test ebx, ebx
jne 0x53a021
jmp 0x53a035
mov esi, ebx
or esi, 7
lea eax, [esi + 1]
mov dword [esp], eax
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov dword [esp + 0x70], eax
add esi, 2
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov byte [edi + ebx], 0
mov byte [esp + 0x48], 0
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp], eax
lea ecx, [esp + 0x8c]
call fcn.0053b0e0
sub esp, 0xc
test byte [esp + 0x68], 1
je 0x539ef0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x539ef0
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 4]
add eax, 0xffffffef
xor ebx, ebx
cmp eax, 0xfffffffc
setb bl
mov eax, dword [esi]
mov dword [esp], esi
lea ecx, [esp + 0x48]
call dword [eax + 0xb0]
sub esp, 4
mov eax, dword [esi]
lea ecx, [esp + 0x74]
mov dword [esp], esi
call dword [eax + 0xb4]
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
movsd xmm0, qword [esp + 0x74]
movsd qword [esp + 0x38], xmm0
jmp 0x53a126
mov eax, dword [esp + 0xa4]
mov dword [esi], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
add esi, 0xc
mov edi, esi
mov dword [ecx + 4], edi
inc ebx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
lea edx, [esp + 0x48]
mov dword [esp], edx
call dword [eax + 0x44]
sub esp, 4
mov edi, dword [esp + 0x50]
cmp edi, dword [esp + 0x40]
jne 0x53a148
mov eax, dword [esp + 0x48]
xor eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
xor ecx, dword [esp + 0x3c]
or ecx, eax
je 0x53a3c8
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
call fcn.0054aa3e
mov dword [esp + 0x20], eax
mov ecx, edi
mov edi, edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
lea ecx, [esp + 0xb0]
call dword [eax + 0x48]
sub esp, 0xc
test byte [esp + 0xb8], 1
jne 0x53a828
mov ebx, dword [esp + 0xb4]
cmp ebx, 0xfffffff8
jae 0x53a81f
mov ecx, dword [esp + 0xb0]
cmp ebx, 0xb
jae 0x53a1e0
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
test ebx, ebx
jne 0x53a205
jmp 0x53a215
mov esi, ebx
or esi, 7
lea eax, [esi + 1]
mov dword [esp], eax
mov edi, ecx
call sub.libc.dll_operator_new_unsigned_int_
mov ecx, edi
mov edi, eax
mov dword [esp + 0x18], eax
add esi, 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov byte [edi + ebx], 0
lea eax, [esp + 0x10]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
call fcn.0053b230
sub esp, 4
mov esi, eax
test byte [esp + 0x10], 1
je 0x53a244
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
lea eax, [esp + 0x90]
cmp esi, eax
je 0x53a253
mov byte [esi + 0x1c], 1
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x53a2a0
lea eax, [esp + 0x30]
mov edi, dword [esp + 0x1c]
nop word [eax + eax]
mov ecx, ebx
mov edx, eax
mov esi, dword [ebx + 0x10]
add ebx, 4
cmp esi, edi
cmovae ebx, ecx
mov eax, ecx
cmovb eax, edx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x53a270
lea ebx, [esp + 0x30]
cmp eax, ebx
je 0x53a2a0
mov edi, dword [esp + 0x1c]
cmp esi, edi
cmovb ecx, edx
cmp edi, dword [ecx + 0x10]
jae 0x53a2b6
lea eax, [esp + 0x90]
cmp dword [esp + 0x20], eax
mov ebx, dword [esp + 0x1c]
jne 0x53a2be
jmp 0x53a112
mov byte [eax + 0x14], 1
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
cmp esi, eax
jb 0x53a0f0
mov edi, dword [ecx]
mov ecx, esi
sub ecx, edi
sar ecx, 2
imul ebx, ecx, 0xaaaaaaab
lea edx, [ebx + 1]
cmp edx, 0x15555556
jae 0x53a868
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax]
cmp ecx, edx
cmova edx, ecx
cmp eax, 0xaaaaaaa
mov eax, 0x15555555
cmovae edx, eax
test edx, edx
mov dword [esp + 0x20], edx
je 0x53a336
cmp edx, 0x15555556
jae 0x53a871
lea eax, [edx*4]
lea eax, [eax + eax*2]
mov dword [esp], eax
call sub.libc.dll_operator_new_unsigned_int_
jmp 0x53a338
xor eax, eax
lea edx, [ebx + ebx*2]
mov ecx, dword [esp + 0xa0]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + edx*4 + 8], ecx
mov dword [esp + 0x24], edx
lea edx, [eax + edx*4]
cmp esi, edi
je 0x53a392
nop word cs:[eax + eax]
mov ebx, dword [esi - 4]
mov dword [edx - 4], ebx
movsd xmm0, qword [esi - 0xc]
add esi, 0xfffffff4
movsd qword [edx - 0xc], xmm0
add edx, 0xfffffff4
cmp esi, edi
jne 0x53a370
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
jmp 0x53a396
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
lea edi, [edi + edi*2]
lea ebx, [eax + edi*4]
mov edi, dword [esp + 0x24]
lea edi, [eax + edi*4]
add edi, 0xc
mov dword [ecx], edx
mov dword [ecx + 8], ebx
test esi, esi
je 0x53a3bf
mov dword [esp], esi
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
jmp 0x53a10f
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x90]
cmp edi, eax
je 0x53a5ce
mov ebx, dword [sym.imp.libLLVM_18.dll_vtable_for_llvm::raw_string_ostream]
add ebx, 8
lea esi, [esp + 0x68]
jmp 0x53a401
mov edi, eax
lea ecx, [esp + 0x90]
cmp eax, ecx
je 0x53a5ce
cmp byte [edi + 0x1c], 0
jne 0x53a5a0
lea eax, [edi + 0x10]
mov dword [esp + 0x48], 0x5659ad
mov dword [esp + 0x4c], 0x1c
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0x5659f4
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x60], eax
xorps xmm0, xmm0
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0x18], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, esi
call fcn.0054a3ba
sub esp, 0xc
lea eax, [esp + 0x48]
mov dword [esp], eax
mov ecx, esi
call fcn.0054a3f0
sub esp, 4
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x70]
je 0x53a4c8
mov ecx, esi
call fcn.0054a3b4
mov ecx, esi
call fcn.0054a3d2
mov word [esp + 0x78], 0x104
lea eax, [esp + 0x10]
mov dword [esp + 0x68], eax
call fcn.0054a58e
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], 3
mov dword [esp], esi
lea ecx, [esp + 0x38]
call fcn.0054a73e
sub esp, 4
test byte [esp + 0x38], 1
lea eax, [esp + 0x39]
je 0x53a513
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.0054a48c
test byte [esp + 0x38], 1
je 0x53a548
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x64]
call fcn.0054aa3e
mov dword [esp + 0xd0], edx
mov dword [esp + 0xcc], eax
movsd xmm0, qword [esp + 0xcc]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.0052c730
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x53a58d
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x53a5a0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x53a5c0
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x53a5b0
jmp 0x53a3f0
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x53a5c0
jmp 0x53a3f0
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
cmp edi, eax
je 0x53a7ee
mov ebx, dword [sym.imp.libLLVM_18.dll_vtable_for_llvm::raw_string_ostream]
add ebx, 8
lea esi, [esp + 0x68]
jmp 0x53a5fe
mov edi, eax
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x53a7ee
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc4], eax
movzx eax, byte [edi + 0x14]
mov byte [esp + 0xc8], al
test al, al
jne 0x53a7c0
mov dword [esp + 0x48], str.could_not_find_section_0
mov dword [esp + 0x4c], 0x1a
lea eax, [esp + 0x60]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0x565a0c
lea eax, [esp + 0xc4]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x60], eax
xorps xmm0, xmm0
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0x18], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, esi
call fcn.0054a3ba
sub esp, 0xc
lea eax, [esp + 0x48]
mov dword [esp], eax
mov ecx, esi
call fcn.0054a3f0
sub esp, 4
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x70]
je 0x53a6dc
mov ecx, esi
call fcn.0054a3b4
mov ecx, esi
call fcn.0054a3d2
mov word [esp + 0x78], 0x104
lea eax, [esp + 0x10]
mov dword [esp + 0x68], eax
call fcn.0054a58e
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], 3
mov dword [esp], esi
lea ecx, [esp + 0x38]
call fcn.0054a73e
sub esp, 4
test byte [esp + 0x38], 1
lea eax, [esp + 0x39]
je 0x53a727
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa8]
mov dword [esp], eax
call fcn.0054a48c
test byte [esp + 0x38], 1
je 0x53a75c
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x64]
call fcn.0054aa3e
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], eax
movsd xmm0, qword [esp + 0xbc]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xa8]
mov dword [esp], eax
call fcn.0052c730
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x53a7a1
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x53a7c0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
nop word cs:[eax + eax]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x53a7e0
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x53a7d0
jmp 0x53a5f0
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x53a7e0
jmp 0x53a5f0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
lea ecx, [esp + 0x2c]
call fcn.0053b440
sub esp, 4
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
call fcn.0053b470
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.00407760
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], 0
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x98]
mov dword [esp], eax
call fcn.0052c4c0
mov ecx, dword [esp + 0x28]
call fcn.0053b330
call fcn.00407780
lea ecx, [esp + 0x68]
call fcn.00407760
int3