Function at 0x539e90
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 0x53a0bc
mov esi, dword [ebp + 8]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x24], eax
jmp 0x539f41
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044f090
inc dword [esp + 0x34]
nop word cs:[eax + eax]
mov esi, dword [esp + 0x1c]
add esi, 0xc
cmp esi, dword [esp + 0x24]
je 0x53a0bc
movzx ebx, byte [esi]
test bl, 1
je 0x539f60
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
jmp 0x539f65
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.0054f34a
test al, al
mov dword [esp + 0x1c], esi
jne 0x53a010
cmp dword [esp + 0x6c], 0
jne 0x53a010
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
lea ebx, [esp + 0x30]
jmp 0x539fb2
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x539fcf
mov ebx, eax
cmp dword [eax + 0x10], edi
ja 0x539fb0
jae 0x539f30
mov eax, dword [ebx + 4]
test eax, eax
jne 0x539fb8
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 0x539f11
mov dword [esp + 0x2c], ecx
mov eax, dword [esi]
jmp 0x539f11
cmp ebx, 0xfffffff8
jae 0x53a8b6
mov dword [esp + 0x20], edi
cmp ebx, 0xb
jae 0x53a040
mov eax, ebx
add al, bl
mov byte [esp + 0x68], al
lea edi, [esp + 0x69]
test ebx, ebx
jne 0x53a061
jmp 0x53a075
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.msvcrt.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.0053b120
sub esp, 0xc
test byte [esp + 0x68], 1
je 0x539f30
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x539f30
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 0x53a166
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 0x53a188
mov eax, dword [esp + 0x48]
xor eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
xor ecx, dword [esp + 0x3c]
or ecx, eax
je 0x53a408
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
call fcn.0054f8a2
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 0x53a868
mov ebx, dword [esp + 0xb4]
cmp ebx, 0xfffffff8
jae 0x53a85f
mov ecx, dword [esp + 0xb0]
cmp ebx, 0xb
jae 0x53a220
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
test ebx, ebx
jne 0x53a245
jmp 0x53a255
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.msvcrt.dll_memmove
mov byte [edi + ebx], 0
lea eax, [esp + 0x10]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
call fcn.0053b270
sub esp, 4
mov esi, eax
test byte [esp + 0x10], 1
je 0x53a284
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
lea eax, [esp + 0x90]
cmp esi, eax
je 0x53a293
mov byte [esi + 0x1c], 1
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x53a2e0
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 0x53a2b0
lea ebx, [esp + 0x30]
cmp eax, ebx
je 0x53a2e0
mov edi, dword [esp + 0x1c]
cmp esi, edi
cmovb ecx, edx
cmp edi, dword [ecx + 0x10]
jae 0x53a2f6
lea eax, [esp + 0x90]
cmp dword [esp + 0x20], eax
mov ebx, dword [esp + 0x1c]
jne 0x53a2fe
jmp 0x53a152
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 0x53a130
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 0x53a8a8
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 0x53a376
cmp edx, 0x15555556
jae 0x53a8b1
lea eax, [edx*4]
lea eax, [eax + eax*2]
mov dword [esp], eax
call sub.libc.dll_operator_new_unsigned_int_
jmp 0x53a378
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 0x53a3d2
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 0x53a3b0
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
jmp 0x53a3d6
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 0x53a3ff
mov dword [esp], esi
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
jmp 0x53a14f
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x90]
cmp edi, eax
je 0x53a60e
mov ebx, dword [sym.imp.libLLVM_18.dll_vtable_for_llvm::raw_string_ostream]
add ebx, 8
lea esi, [esp + 0x68]
jmp 0x53a441
mov edi, eax
lea ecx, [esp + 0x90]
cmp eax, ecx
je 0x53a60e
cmp byte [edi + 0x1c], 0
jne 0x53a5e0
lea eax, [edi + 0x10]
mov dword [esp + 0x48], 0x56a9ad
mov dword [esp + 0x4c], 0x1c
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0x56a9f4
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.0054f21e
sub esp, 0xc
lea eax, [esp + 0x48]
mov dword [esp], eax
mov ecx, esi
call fcn.0054f254
sub esp, 4
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x70]
je 0x53a508
mov ecx, esi
call fcn.0054f218
mov ecx, esi
call fcn.0054f236
mov word [esp + 0x78], 0x104
lea eax, [esp + 0x10]
mov dword [esp + 0x68], eax
call fcn.0054f3f2
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], 3
mov dword [esp], esi
lea ecx, [esp + 0x38]
call fcn.0054f5a2
sub esp, 4
test byte [esp + 0x38], 1
lea eax, [esp + 0x39]
je 0x53a553
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.0054f2f0
test byte [esp + 0x38], 1
je 0x53a588
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x64]
call fcn.0054f8a2
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.0052c770
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x53a5cd
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x53a5e0
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 0x53a600
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x53a5f0
jmp 0x53a430
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x53a600
jmp 0x53a430
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
cmp edi, eax
je 0x53a82e
mov ebx, dword [sym.imp.libLLVM_18.dll_vtable_for_llvm::raw_string_ostream]
add ebx, 8
lea esi, [esp + 0x68]
jmp 0x53a63e
mov edi, eax
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x53a82e
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc4], eax
movzx eax, byte [edi + 0x14]
mov byte [esp + 0xc8], al
test al, al
jne 0x53a800
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], 0x56aa0c
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.0054f21e
sub esp, 0xc
lea eax, [esp + 0x48]
mov dword [esp], eax
mov ecx, esi
call fcn.0054f254
sub esp, 4
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x70]
je 0x53a71c
mov ecx, esi
call fcn.0054f218
mov ecx, esi
call fcn.0054f236
mov word [esp + 0x78], 0x104
lea eax, [esp + 0x10]
mov dword [esp + 0x68], eax
call fcn.0054f3f2
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], 3
mov dword [esp], esi
lea ecx, [esp + 0x38]
call fcn.0054f5a2
sub esp, 4
test byte [esp + 0x38], 1
lea eax, [esp + 0x39]
je 0x53a767
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.0054f2f0
test byte [esp + 0x38], 1
je 0x53a79c
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x64]
call fcn.0054f8a2
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.0052c770
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x53a7e1
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x53a800
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 0x53a820
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x53a810
jmp 0x53a630
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x53a820
jmp 0x53a630
mov eax, dword [esp + 0x30]
mov dword [esp], eax
lea ecx, [esp + 0x2c]
call fcn.0053b480
sub esp, 4
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
call fcn.0053b4b0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.00407790
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.0052c500
mov ecx, dword [esp + 0x28]
call fcn.0053b370
call fcn.004077b0
lea ecx, [esp + 0x68]
call fcn.00407790
int3