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

Disassembly:
push 0xffffffffffffffff
push 0x4c8712
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x510a50]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x510a50]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x14c]
mov esi, ecx
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
mov dword [esp + 0x18], ebx
cmp edi, eax
jne 0x4bdfad
mov edx, dword [str.Character_class_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 + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bdf47
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00404e60
mov edi, dword [esi + 0x4c]
sub edi, dword [esi + 0x44]
lea eax, [esp + 0x3c]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push eax
mov dword [esp + 0x170], ebx
mov byte [ecx], 0
call fcn.00404b00
push edi
push 7
mov ecx, esi
call fcn.004b4e30
cmp dword [esp + 0x50], 0x10
jb 0x4bdfa6
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00460bb0
add esp, 4
xor al, al
jmp 0x4be418
mov ecx, dword [esi + 4]
movzx ebp, byte [eax]
mov edx, dword [ecx]
movzx edx, byte [edx + ebp + 4]
sub edx, 5
je 0x4be40a
sub edx, 0x1f
je 0x4be1d4
dec edx
jne 0x4be40a
lea ebx, [eax + 1]
mov dword [esi + 0x4c], ebx
cmp edi, ebx
jne 0x4be026
mov edx, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push edx
lea ecx, [esp + 0x94]
call fcn.00404f60
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x44]
lea eax, [esp + 0x90]
push eax
push ecx
push 7
mov ecx, esi
mov dword [esp + 0x150], 5
call fcn.004b5720
lea ecx, [esp + 0x90]
call fcn.00404a40
xor al, al
jmp 0x4be418
lea eax, [ebx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4be070
mov edx, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push edx
lea ecx, [esp + 0x5c]
call fcn.00404f60
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x44]
lea eax, [esp + 0x58]
push eax
push ecx
push 7
mov ecx, esi
mov dword [esp + 0x150], 6
call fcn.004b5720
lea ecx, [esp + 0x58]
call fcn.00404a40
xor al, al
jmp 0x4be418
mov eax, dword [esi + 0x4c]
movzx ebp, byte [eax]
mov edx, dword [ecx]
cmp byte [edx + ebp + 4], 0x25
je 0x4be088
inc eax
mov dword [esi + 0x4c], eax
cmp eax, dword [esi + 0x48]
jne 0x4be070
mov edx, dword [esi + 0x4c]
cmp edi, edx
jne 0x4be0d7
mov eax, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push eax
lea ecx, [esp + 0x104]
call fcn.00404f60
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0x100]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 7
call fcn.004b5720
lea ecx, [esp + 0x100]
call fcn.00404a40
xor al, al
jmp 0x4be418
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4be18c
movzx eax, byte [eax]
mov edi, dword [ecx]
cmp byte [eax + edi + 4], 0xa
jne 0x4be18c
push edx
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.004b94e0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x144], 9
test ecx, ecx
je 0x4be16f
cmp ecx, 2
ja 0x4be16f
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, edi
cmp edx, 0x10
jae 0x4be12c
lea eax, [esp + 0x20]
mov al, byte [eax]
mov byte [esp + 0x14], al
cmp ecx, 1
jbe 0x4be14b
mov eax, edi
cmp edx, 0x10
jae 0x4be142
lea eax, [esp + 0x20]
mov cl, byte [eax + 1]
mov byte [esp + 0x15], cl
jmp 0x4be150
mov byte [esp + 0x15], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.004bcae0
inc dword [esi + 0x4c]
lea ecx, [esp + 0x20]
call fcn.00404a40
jmp 0x4be416
sub ebx, dword [esi + 0x44]
mov ecx, esi
push ebx
push 3
call fcn.004b6830
lea ecx, [esp + 0x20]
call fcn.00404a40
xor al, al
jmp 0x4be418
mov eax, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push eax
lea ecx, [esp + 0xcc]
call fcn.00404f60
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0xc8]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 8
call fcn.004b5720
lea ecx, [esp + 0xc8]
call fcn.00404a40
xor al, al
jmp 0x4be418
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
and edx, 0x103
cmp edx, 0x101
je 0x4be40a
inc eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4be232
mov eax, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push eax
lea ecx, [esp + 0x78]
call fcn.00404f60
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0x74]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 1
call fcn.004b5720
lea ecx, [esp + 0x74]
call fcn.00404a40
xor al, al
jmp 0x4be418
mov ebp, eax
inc eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4be288
mov eax, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push eax
lea ecx, [esp + 0xb0]
call fcn.00404f60
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0xac]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 2
call fcn.004b5720
lea ecx, [esp + 0xac]
call fcn.00404a40
xor al, al
jmp 0x4be418
mov eax, dword [esi + 0x4c]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x24
je 0x4be2a0
inc eax
mov dword [esi + 0x4c], eax
cmp eax, dword [esi + 0x48]
jne 0x4be288
mov ebx, dword [esi + 0x4c]
cmp edi, ebx
jne 0x4be2f0
mov ecx, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push ecx
lea ecx, [esp + 0xe8]
call fcn.00404f60
mov eax, dword [esi + 0x4c]
sub eax, dword [esi + 0x44]
lea edx, [esp + 0xe4]
push edx
push eax
push 7
mov ecx, esi
mov dword [esp + 0x150], 3
call fcn.004b5720
lea ecx, [esp + 0xe4]
call fcn.00404a40
xor al, al
jmp 0x4be418
lea eax, [ebx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4be3c5
movzx edx, byte [eax]
mov edi, dword [ecx]
cmp byte [edx + edi + 4], 0xa
jne 0x4be3c5
movzx eax, byte [ebp]
mov ecx, edi
cmp byte [eax + ecx + 4], 4
mov byte [esp + 0x14], 0
jne 0x4be329
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
push ebx
push ebp
call fcn.004b5a70
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4be3aa
cmp byte [ecx + 0x2c], al
je 0x4be399
sub ebx, ebp
cmp ebx, 1
jne 0x4be399
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x48]
je 0x4be399
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movzx edx, byte [eax]
cmp byte [edx + ecx + 4], 0xa
jne 0x4be399
movzx edx, byte [ebp]
mov cl, byte [edx + ecx + 4]
cmp cl, 0x14
jne 0x4be381
push 8
inc eax
push 9
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004b3b80
xor al, al
jmp 0x4be418
cmp cl, 0x15
jne 0x4be399
push 8
inc eax
push 0xa
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004b3b80
xor al, al
jmp 0x4be418
sub ebp, dword [esi + 0x44]
mov ecx, esi
push ebp
push 4
call fcn.004b6830
xor al, al
jmp 0x4be418
cmp byte [esp + 0x14], 0
mov byte [ecx + 0x2c], 0
jne 0x4be3bd
or dword [ecx + 0x24], eax
inc dword [esi + 0x4c]
jmp 0x4be416
or dword [ecx + 0x28], eax
inc dword [esi + 0x4c]
jmp 0x4be416
mov eax, dword [str.Character_class_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
push eax
lea ecx, [esp + 0x120]
call fcn.00404f60
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0x11c]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 4
call fcn.004b5720
lea ecx, [esp + 0x11c]
call fcn.00404a40
xor al, al
jmp 0x4be418
dec eax
push ebx
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004bddc0
mov al, 1
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004840ae
add esp, 0x134
ret 4