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

Disassembly:
push 0xffffffffffffffff
push 0x4758e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4a3140]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3140]
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 0x46b27d
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 0x46b215
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.00402900
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.004024f0
push edi
push 7
mov ecx, esi
call fcn.0045e3a0
cmp dword [esp + 0x78], 0x10
jb 0x46b276
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x46b383
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 0x46b2f5
nop
cmp word [eax + 0xc], cx
jae 0x46b2eb
mov eax, dword [eax + 8]
jmp 0x46b2ef
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x11], 0
je 0x46b2e0
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], edx
cmp edx, eax
je 0x46b30c
cmp cx, word [edx + 0xc]
jb 0x46b30c
lea eax, [esp + 0x60]
jmp 0x46b314
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x46b31f
xor eax, eax
jmp 0x46b323
movzx eax, byte [eax + 0xe]
movzx eax, al
add eax, 0xfffffffc
cmp eax, 8
ja case.0x46b32e.5
jmp dword [eax*4 + 0x46b490]
cmp edi, dword [esp + 0x18]
jne 0x46b43b
lea eax, [edi + 2]
mov byte [esp + 0x3c], 1
mov dword [esi + 0x64], eax
mov dword [esp + 0x14], eax
jmp 0x46b366
cmp edi, dword [esp + 0x14]
jne 0x46b445
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00469d50
mov ecx, dword [esi + 0x64]
cmp ecx, dword [esi + 0x60]
jne 0x46b2c8
cmp ecx, dword [esi + 0x60]
lea ecx, [esp + 0x1c]
setne bl
call fcn.00461bc0
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.00456bde
add esp, 0x7c
ret
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00469ed0
test al, al
jne 0x46b366
lea ecx, [esp + 0x1c]
call fcn.00461bc0
mov al, 1
jmp 0x46b383
lea eax, [edi + 2]
mov dword [esi + 0x64], eax
movzx edx, word [eax]
push edx
mov ecx, ebx
call fcn.0045dd30
mov ecx, dword [esi + 4]
cmp al, 0x16
jne 0x46b3ff
mov eax, dword [esi + 0x64]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.0045f7f0
test eax, eax
je 0x46b437
or dword [esp + 0x40], eax
add dword [esi + 0x64], 2
mov byte [esp + 0x48], 0
jmp 0x46b366
mov edx, dword [esi + 0x64]
movzx eax, word [edx]
push eax
call fcn.0045dd30
cmp al, 0x17
jne 0x46b437
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.0045f7f0
test eax, eax
je 0x46b437
or dword [esp + 0x44], eax
add dword [esi + 0x64], 2
mov byte [esp + 0x48], 0
jmp 0x46b366
add dword [esi + 0x64], 0xfffffffe
lea edx, [esp + 0x1c]
push edx
jmp 0x46b35f
add dword [esi + 0x64], 2
cmp byte [esp + 0x3d], 0
push 0
mov ecx, esi
je 0x46b45b
lea edx, [esp + 0x20]
push edx
jmp 0x46b460
lea eax, [esp + 0x20]
push eax
call fcn.00462b90
test eax, eax
jne 0x46b3b5
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
sar ecx, 1
push ecx
push 4
mov ecx, esi
call fcn.0045f340
lea ecx, [esp + 0x1c]
call fcn.00461bc0
xor al, al
jmp 0x46b383