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

Disassembly:
push 0xffffffffffffffff
push 0x511d62
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x54d028]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d028]
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 0x4d07dd
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 0x4d0777
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00407ad0
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.00407720
push edi
push 7
mov ecx, esi
call fcn.004c5f60
cmp dword [esp + 0x50], 0x10
jb 0x4d07d6
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004d62da
add esp, 4
xor al, al
jmp 0x4d0c48
mov ecx, dword [esi + 4]
movzx ebp, byte [eax]
mov edx, dword [ecx]
movzx edx, byte [edx + ebp + 4]
sub edx, 5
je 0x4d0c3a
sub edx, 0x1f
je 0x4d0a04
dec edx
jne 0x4d0c3a
lea ebx, [eax + 1]
mov dword [esi + 0x4c], ebx
cmp edi, ebx
jne 0x4d0856
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.00407bd0
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.004c6920
lea ecx, [esp + 0x90]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
lea eax, [ebx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4d08a0
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.00407bd0
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.004c6920
lea ecx, [esp + 0x58]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
mov eax, dword [esi + 0x4c]
movzx ebp, byte [eax]
mov edx, dword [ecx]
cmp byte [edx + ebp + 4], 0x25
je 0x4d08b8
inc eax
mov dword [esi + 0x4c], eax
cmp eax, dword [esi + 0x48]
jne 0x4d08a0
mov edx, dword [esi + 0x4c]
cmp edi, edx
jne 0x4d0907
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.00407bd0
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.004c6920
lea ecx, [esp + 0x100]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4d09bc
movzx eax, byte [eax]
mov edi, dword [ecx]
cmp byte [eax + edi + 4], 0xa
jne 0x4d09bc
push edx
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.004cba90
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x144], 9
test ecx, ecx
je 0x4d099f
cmp ecx, 2
ja 0x4d099f
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, edi
cmp edx, 0x10
jae 0x4d095c
lea eax, [esp + 0x20]
mov al, byte [eax]
mov byte [esp + 0x14], al
cmp ecx, 1
jbe 0x4d097b
mov eax, edi
cmp edx, 0x10
jae 0x4d0972
lea eax, [esp + 0x20]
mov cl, byte [eax + 1]
mov byte [esp + 0x15], cl
jmp 0x4d0980
mov byte [esp + 0x15], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.004cf240
inc dword [esi + 0x4c]
lea ecx, [esp + 0x20]
call fcn.004c5490
jmp 0x4d0c46
sub ebx, dword [esi + 0x44]
mov ecx, esi
push ebx
push 3
call fcn.004c8230
lea ecx, [esp + 0x20]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
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.00407bd0
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.004c6920
lea ecx, [esp + 0xc8]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
and edx, 0x103
cmp edx, 0x101
je 0x4d0c3a
inc eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4d0a62
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.00407bd0
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.004c6920
lea ecx, [esp + 0x74]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
mov ebp, eax
inc eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4d0ab8
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.00407bd0
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.004c6920
lea ecx, [esp + 0xac]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
mov eax, dword [esi + 0x4c]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x24
je 0x4d0ad0
inc eax
mov dword [esi + 0x4c], eax
cmp eax, dword [esi + 0x48]
jne 0x4d0ab8
mov ebx, dword [esi + 0x4c]
cmp edi, ebx
jne 0x4d0b20
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.00407bd0
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.004c6920
lea ecx, [esp + 0xe4]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
lea eax, [ebx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4d0bf5
movzx edx, byte [eax]
mov edi, dword [ecx]
cmp byte [edx + edi + 4], 0xa
jne 0x4d0bf5
movzx eax, byte [ebp]
mov ecx, edi
cmp byte [eax + ecx + 4], 4
mov byte [esp + 0x14], 0
jne 0x4d0b59
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
push ebx
push ebp
call fcn.004c6c70
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4d0bda
cmp byte [ecx + 0x2c], al
je 0x4d0bc9
sub ebx, ebp
cmp ebx, 1
jne 0x4d0bc9
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x48]
je 0x4d0bc9
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movzx edx, byte [eax]
cmp byte [edx + ecx + 4], 0xa
jne 0x4d0bc9
movzx edx, byte [ebp]
mov cl, byte [edx + ecx + 4]
cmp cl, 0x14
jne 0x4d0bb1
push 8
inc eax
push 9
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004c3b70
xor al, al
jmp 0x4d0c48
cmp cl, 0x15
jne 0x4d0bc9
push 8
inc eax
push 0xa
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004c3b70
xor al, al
jmp 0x4d0c48
sub ebp, dword [esi + 0x44]
mov ecx, esi
push ebp
push 4
call fcn.004c8230
xor al, al
jmp 0x4d0c48
cmp byte [esp + 0x14], 0
mov byte [ecx + 0x2c], 0
jne 0x4d0bed
or dword [ecx + 0x24], eax
inc dword [esi + 0x4c]
jmp 0x4d0c46
or dword [ecx + 0x28], eax
inc dword [esi + 0x4c]
jmp 0x4d0c46
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.00407bd0
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.004c6920
lea ecx, [esp + 0x11c]
call fcn.004c5490
xor al, al
jmp 0x4d0c48
dec eax
push ebx
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004d05f0
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.004d62e5
add esp, 0x134
ret 4