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

Disassembly:
push 0xffffffffffffffff
push 0x542840
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x58ab78]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58ab78]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.0050e940
push ecx
mov eax, esp
lea edi, [ebp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [eax], edi
mov eax, dword [edi]
and eax, 0xfffffffe
push eax
call fcn.00514ba0
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x51546d
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x515442
mov ecx, dword [ecx]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x515464
test dl, dl
je 0x515460
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x515464
add eax, 2
add ecx, 2
test dl, dl
jne 0x515444
xor eax, eax
jmp 0x515469
sbb eax, eax
or eax, 1
test eax, eax
jns 0x51546f
mov esi, edi
mov dword [esp + 0x70], 0xffffffff
mov ecx, ebp
cmp esi, edi
je 0x51548a
mov esi, dword [esi + 0xc]
call fcn.0050ef90
jmp 0x515606
call fcn.0050ef90
mov ecx, ebp
mov dword [esp + 0x20], ebp
call fcn.0050e930
push ecx
mov eax, esp
mov dword [esp + 0x74], 1
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [eax], edi
mov eax, dword [edi]
and eax, 0xfffffffe
push eax
call fcn.00514ba0
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x5154f5
cmp byte [ebx], 0
jne 0x5154ca
xor ecx, ecx
jmp 0x5154de
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5154d3
sub ecx, dword [esp + 0x18]
push ecx
push ebx
push dword [esi + 0x20]
lea ecx, [esi + 0x10]
push 0
call fcn.004f6f70
test eax, eax
je 0x5155f4
mov ebx, dword [ebp + 0x14]
cmp ebx, 0xffffffff
jb 0x51553b
push str.Too_many_log_attribute_names
lea ecx, [esp + 0x28]
call fcn.00427910
lea eax, [esp + 0x24]
mov byte [esp + 0x70], 2
push eax
lea ecx, [esp + 0x50]
call fcn.00513c00
push 0xa2
push str.libslog_src_attribute_name.cpp
push str.unsigned_int___thiscall_cptboost::log::v2s_mt_nt5::attribute_name::repository::get_id_from_string_const_char__
push eax
mov byte [esp + 0x80], 3
call fcn.00514d30
push dword [esp + 0x1c]
lea ecx, [esp + 0x50]
call fcn.00427910
and dword [esp + 0x24], 1
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x7c], 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.00431c30
lea eax, [esp + 0x24]
mov byte [esp + 0x70], 5
push eax
lea ecx, [ebp + 4]
call fcn.00515930
cmp dword [esp + 0x48], 0x10
jb 0x5155b2
push dword [esp + 0x34]
call fcn.0047d4a0
add esp, 4
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
jb 0x5155da
push dword [esp + 0x4c]
call fcn.0047d4a0
add esp, 4
lea ecx, [ebp + 4]
call fcn.005151d0
push eax
push esi
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.005157f0
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 0xc]
mov ecx, ebp
mov dword [esp + 0x70], 0xffffffff
call fcn.0050eef0
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0049f3ce
add esp, 0x60
ret 4