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

Disassembly:
push 0xffffffffffffffff
push 0x4fd9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x543f30]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x543f30]
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 0x4e463d
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 0x4e45d5
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.00401570
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.004018a2
push edi
push 7
mov ecx, esi
call fcn.004d8170
cmp dword [esp + 0x78], 0x10
jb 0x4e4636
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0049d71c
add esp, 4
xor al, al
jmp 0x4e4743
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 0x4e46b5
nop
cmp word [eax + 0xc], cx
jae 0x4e46ab
mov eax, dword [eax + 8]
jmp 0x4e46af
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x11], 0
je 0x4e46a0
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], edx
cmp edx, eax
je 0x4e46cc
cmp cx, word [edx + 0xc]
jb 0x4e46cc
lea eax, [esp + 0x60]
jmp 0x4e46d4
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x4e46df
xor eax, eax
jmp 0x4e46e3
movzx eax, byte [eax + 0xe]
movzx eax, al
add eax, 0xfffffffc
cmp eax, 8
ja case.0x4e46ee.5
jmp dword [eax*4 + 0x4e4850]
cmp edi, dword [esp + 0x18]
jne 0x4e47fb
lea eax, [edi + 2]
mov byte [esp + 0x3c], 1
mov dword [esi + 0x64], eax
mov dword [esp + 0x14], eax
jmp 0x4e4726
cmp edi, dword [esp + 0x14]
jne 0x4e4805
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004e28b0
mov ecx, dword [esi + 0x64]
cmp ecx, dword [esi + 0x60]
jne 0x4e4688
cmp ecx, dword [esi + 0x60]
lea ecx, [esp + 0x1c]
setne bl
call fcn.004daf90
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.0049d196
add esp, 0x7c
ret
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004e2a20
test al, al
jne 0x4e4726
lea ecx, [esp + 0x1c]
call fcn.004daf90
mov al, 1
jmp 0x4e4743
lea eax, [edi + 2]
mov dword [esi + 0x64], eax
movzx edx, word [eax]
push edx
mov ecx, ebx
call fcn.004d7d00
mov ecx, dword [esi + 4]
cmp al, 0x16
jne 0x4e47bf
mov eax, dword [esi + 0x64]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.004d8f10
test eax, eax
je 0x4e47f7
or dword [esp + 0x40], eax
add dword [esi + 0x64], 2
mov byte [esp + 0x48], 0
jmp 0x4e4726
mov edx, dword [esi + 0x64]
movzx eax, word [edx]
push eax
call fcn.004d7d00
cmp al, 0x17
jne 0x4e47f7
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.004d8f10
test eax, eax
je 0x4e47f7
or dword [esp + 0x44], eax
add dword [esi + 0x64], 2
mov byte [esp + 0x48], 0
jmp 0x4e4726
add dword [esi + 0x64], 0xfffffffe
lea edx, [esp + 0x1c]
push edx
jmp 0x4e471f
add dword [esi + 0x64], 2
cmp byte [esp + 0x3d], 0
push 0
mov ecx, esi
je 0x4e481b
lea edx, [esp + 0x20]
push edx
jmp 0x4e4820
lea eax, [esp + 0x20]
push eax
call fcn.004dc130
test eax, eax
jne 0x4e4775
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
sar ecx, 1
push ecx
push 4
mov ecx, esi
call fcn.004da550
lea ecx, [esp + 0x1c]
call fcn.004daf90
xor al, al
jmp 0x4e4743