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

Disassembly:
push 0xffffffffffffffff
push 0x592040
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5ed80c]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
add dword [esi + 0x64], 2
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x60]
jne 0x5465ad
mov edx, dword [str.Character_set_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
xor ebx, ebx
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x546545
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.00401850
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
lea eax, [esp + 0x64]
sar edi, 1
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push eax
mov dword [esp + 0xb8], ebx
mov byte [ecx], 0
call fcn.00401760
push edi
push 7
mov ecx, esi
call fcn.0053a620
cmp dword [esp + 0x78], 0x10
jb 0x5465a6
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0055ae44
add esp, 4
xor al, al
jmp 0x5466b3
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov word [esp + 0x3c], cx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x48], 1
mov dword [esp + 0x8c], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 4]
mov ebp, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp byte [eax + 0x11], 0
mov edi, dword [esi + 0x64]
movzx ecx, word [edi]
jne 0x546625
nop
cmp word [eax + 0xc], cx
jae 0x54661b
mov eax, dword [eax + 8]
jmp 0x54661f
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x11], 0
je 0x546610
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], edx
cmp edx, eax
je 0x54663c
cmp cx, word [edx + 0xc]
jb 0x54663c
lea eax, [esp + 0x60]
jmp 0x546644
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x54664f
xor eax, eax
jmp 0x546653
movzx eax, byte [eax + 0xe]
movzx eax, al
add eax, 0xfffffffc
cmp eax, 8
ja case.0x54665e.5
jmp dword [eax*4 + 0x5467c0]
cmp edi, dword [esp + 0x18]
jne 0x54676b
lea eax, [edi + 2]
mov byte [esp + 0x3c], 1
mov dword [esi + 0x64], eax
mov dword [esp + 0x14], eax
jmp 0x546696
cmp edi, dword [esp + 0x14]
jne 0x546775
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00544900
mov ecx, dword [esi + 0x64]
cmp ecx, dword [esi + 0x60]
jne 0x5465f8
cmp ecx, dword [esi + 0x60]
lea ecx, [esp + 0x1c]
setne bl
call fcn.0054e240
mov al, bl
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0055bc32
add esp, 0x7c
ret
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00544a70
test al, al
jne 0x546696
lea ecx, [esp + 0x1c]
call fcn.0054e240
mov al, 1
jmp 0x5466b3
lea eax, [edi + 2]
mov dword [esi + 0x64], eax
movzx edx, word [eax]
push edx
mov ecx, ebx
call fcn.0053a080
mov ecx, dword [esi + 4]
cmp al, 0x16
jne 0x54672f
mov eax, dword [esi + 0x64]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.0053b530
test eax, eax
je 0x546767
or dword [esp + 0x40], eax
add dword [esi + 0x64], 2
mov byte [esp + 0x48], 0
jmp 0x546696
mov edx, dword [esi + 0x64]
movzx eax, word [edx]
push eax
call fcn.0053a080
cmp al, 0x17
jne 0x546767
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.0053b530
test eax, eax
je 0x546767
or dword [esp + 0x44], eax
add dword [esi + 0x64], 2
mov byte [esp + 0x48], 0
jmp 0x546696
add dword [esi + 0x64], 0xfffffffe
lea edx, [esp + 0x1c]
push edx
jmp 0x54668f
add dword [esi + 0x64], 2
cmp byte [esp + 0x3d], 0
push 0
mov ecx, esi
je 0x54678b
lea edx, [esp + 0x20]
push edx
jmp 0x546790
lea eax, [esp + 0x20]
push eax
call fcn.0053e1f0
test eax, eax
jne 0x5466e5
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
sar ecx, 1
push ecx
push 4
mov ecx, esi
call fcn.0053c7c0
lea ecx, [esp + 0x1c]
call fcn.0054e240
xor al, al
jmp 0x5466b3