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

Disassembly:
push 0xffffffffffffffff
push 0x54c242
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x59b364]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b364]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x150]
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 0x4f55ad
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 + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4f5547
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004029ca
mov edi, dword [esi + 0x4c]
sub edi, dword [esi + 0x44]
lea eax, [esp + 0x24]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x174], ebx
mov byte [ecx + 4], bl
call fcn.00402938
push edi
push 7
mov ecx, esi
call fcn.004ed080
cmp dword [esp + 0x3c], 0x10
jb 0x4f55a6
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00511b06
add esp, 4
xor al, al
jmp 0x4f5aa1
mov ecx, dword [esi + 4]
movzx ebp, byte [eax]
mov edx, dword [ecx]
movzx edx, byte [edx + ebp + 4]
sub edx, 5
je 0x4f5a93
sub edx, 0x1f
je 0x4f5822
sub edx, 1
jne 0x4f5a93
lea ebp, [eax + 1]
mov dword [esi + 0x4c], ebp
cmp edi, ebp
jne 0x4f562a
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 + 0x44]
call fcn.004020cc
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x44]
lea eax, [esp + 0x40]
push eax
push ecx
push 7
mov ecx, esi
mov dword [esp + 0x154], 5
call fcn.004eed70
lea ecx, [esp + 0x40]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
lea eax, [ebp + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4f5688
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 + 0x98]
call fcn.004020cc
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x44]
lea eax, [esp + 0x94]
push eax
push ecx
push 7
mov ecx, esi
mov dword [esp + 0x154], 6
call fcn.004eed70
lea ecx, [esp + 0x94]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
mov eax, dword [esi + 0x4c]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x25
je 0x4f56a2
inc eax
mov edx, eax
mov dword [esi + 0x4c], eax
cmp edx, dword [esi + 0x48]
jne 0x4f5688
mov edx, dword [esi + 0x4c]
cmp edi, edx
jne 0x4f56fc
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 + 0xd0]
call fcn.004020cc
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0xcc]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x154], 7
call fcn.004eed70
lea ecx, [esp + 0xcc]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4f57d8
movzx eax, byte [eax]
mov edi, dword [ecx]
cmp byte [eax + edi + 4], 0xa
jne 0x4f57d8
push edx
push ebp
lea edx, [esp + 0x128]
push edx
call fcn.004f0190
mov eax, dword [esp + 0x134]
xor ebx, ebx
mov dword [esp + 0x148], 9
cmp eax, ebx
je 0x4f57ad
cmp eax, 2
ja 0x4f57ad
push ebx
lea ecx, [esp + 0x124]
call fcn.0040545d
mov al, byte [eax]
mov edi, 1
mov byte [esp + 0x14], al
cmp dword [esp + 0x134], edi
jbe 0x4f577c
push edi
lea ecx, [esp + 0x124]
call fcn.0040545d
mov cl, byte [eax]
mov byte [esp + 0x15], cl
jmp 0x4f5780
mov byte [esp + 0x15], bl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.004f1fe0
add dword [esi + 0x4c], edi
lea ecx, [esp + 0x120]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
jmp 0x4f5a9f
sub ebp, dword [esi + 0x44]
mov ecx, esi
push ebp
push 3
call fcn.004eedb0
lea ecx, [esp + 0x120]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
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 + 0x60]
call fcn.004020cc
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0x5c]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x154], 8
call fcn.004eed70
lea ecx, [esp + 0x5c]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
and edx, 0x103
cmp edx, 0x101
je 0x4f5a93
inc eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4f588b
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 + 0x7c]
call fcn.004020cc
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0x78]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x154], 1
call fcn.004eed70
lea ecx, [esp + 0x78]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
mov ebp, eax
inc eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4f58f0
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 + 0xb4]
call fcn.004020cc
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0xb0]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x154], 2
call fcn.004eed70
lea ecx, [esp + 0xb0]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
mov eax, dword [esi + 0x4c]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x24
je 0x4f5908
inc eax
mov dword [esi + 0x4c], eax
cmp eax, dword [esi + 0x48]
jne 0x4f58f0
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], edx
cmp edi, edx
jne 0x4f5967
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 + 0x108]
call fcn.004020cc
mov eax, dword [esi + 0x4c]
sub eax, dword [esi + 0x44]
lea edx, [esp + 0x104]
push edx
push eax
push 7
mov ecx, esi
mov dword [esp + 0x154], 3
call fcn.004eed70
lea ecx, [esp + 0x104]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4f5a43
movzx eax, byte [eax]
mov edi, dword [ecx]
mov al, byte [eax + edi + 4]
cmp al, 0xa
jne 0x4f5a43
movzx eax, byte [ebp]
xor ebx, ebx
mov ecx, edi
cmp byte [eax + ecx + 4], 4
mov byte [esp + 0x14], bl
jne 0x4f59a2
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x14], 1
push edx
push ebp
call fcn.004ef3c0
mov ecx, dword [esp + 0x18]
cmp eax, ebx
jne 0x4f5a2a
cmp byte [ecx + 0x3c], bl
je 0x4f5a19
mov eax, dword [esp + 0x1c]
sub eax, ebp
cmp eax, 1
jne 0x4f5a19
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x48]
je 0x4f5a19
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movzx edx, byte [eax]
cmp byte [edx + ecx + 4], 0xa
jne 0x4f5a19
movzx edx, byte [ebp]
mov cl, byte [edx + ecx + 4]
cmp cl, 0x14
jne 0x4f59fe
push 8
inc eax
push 9
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004eac30
xor al, al
jmp 0x4f5aa1
cmp cl, 0x15
jne 0x4f5a19
push 8
inc eax
push 0xa
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004eac30
xor al, al
jmp 0x4f5aa1
sub ebp, dword [esi + 0x44]
mov ecx, esi
push ebp
push 4
call fcn.004eedb0
xor al, al
jmp 0x4f5aa1
mov byte [ecx + 0x3c], bl
cmp byte [esp + 0x14], bl
jne 0x4f5a3b
or dword [ecx + 0x34], eax
inc dword [esi + 0x4c]
jmp 0x4f5a9f
or dword [ecx + 0x38], eax
inc dword [esi + 0x4c]
jmp 0x4f5a9f
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 + 0xec]
call fcn.004020cc
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x44]
lea ecx, [esp + 0xe8]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x154], 4
call fcn.004eed70
lea ecx, [esp + 0xe8]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f5aa1
dec eax
push ebx
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004f53e0
mov al, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005139d8
add esp, 0x138
ret 4