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

Disassembly:
push 0xffffffffffffffff
push 0x540432
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x58c584]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58c584]
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 0x4ec5ad
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 0x4ec547
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004041c5
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.00403319
push edi
push 7
mov ecx, esi
call fcn.004e4560
cmp dword [esp + 0x3c], 0x10
jb 0x4ec5a6
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005089a3
add esp, 4
xor al, al
jmp 0x4ecaa1
mov ecx, dword [esi + 4]
movzx ebp, byte [eax]
mov edx, dword [ecx]
movzx edx, byte [edx + ebp + 4]
sub edx, 5
je 0x4eca93
sub edx, 0x1f
je 0x4ec822
sub edx, 1
jne 0x4eca93
lea ebp, [eax + 1]
mov dword [esi + 0x4c], ebp
cmp edi, ebp
jne 0x4ec62a
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.004026ad
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.004e6110
lea ecx, [esp + 0x40]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
lea eax, [ebp + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4ec688
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.004026ad
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.004e6110
lea ecx, [esp + 0x94]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
mov eax, dword [esi + 0x4c]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x25
je 0x4ec6a2
inc eax
mov edx, eax
mov dword [esi + 0x4c], eax
cmp edx, dword [esi + 0x48]
jne 0x4ec688
mov edx, dword [esi + 0x4c]
cmp edi, edx
jne 0x4ec6fc
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.004026ad
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.004e6110
lea ecx, [esp + 0xcc]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4ec7d8
movzx eax, byte [eax]
mov edi, dword [ecx]
cmp byte [eax + edi + 4], 0xa
jne 0x4ec7d8
push edx
push ebp
lea edx, [esp + 0x128]
push edx
call fcn.004e74c0
mov eax, dword [esp + 0x134]
xor ebx, ebx
mov dword [esp + 0x148], 9
cmp eax, ebx
je 0x4ec7ad
cmp eax, 2
ja 0x4ec7ad
push ebx
lea ecx, [esp + 0x124]
call fcn.00402736
mov al, byte [eax]
mov edi, 1
mov byte [esp + 0x14], al
cmp dword [esp + 0x134], edi
jbe 0x4ec77c
push edi
lea ecx, [esp + 0x124]
call fcn.00402736
mov cl, byte [eax]
mov byte [esp + 0x15], cl
jmp 0x4ec780
mov byte [esp + 0x15], bl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.004e8fe0
add dword [esi + 0x4c], edi
lea ecx, [esp + 0x120]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
jmp 0x4eca9f
sub ebp, dword [esi + 0x44]
mov ecx, esi
push ebp
push 3
call fcn.004e61a0
lea ecx, [esp + 0x120]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
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.004026ad
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.004e6110
lea ecx, [esp + 0x5c]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
and edx, 0x103
cmp edx, 0x101
je 0x4eca93
inc eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4ec88b
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.004026ad
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.004e6110
lea ecx, [esp + 0x78]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
mov ebp, eax
inc eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x4c], eax
cmp edi, eax
jne 0x4ec8f0
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.004026ad
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.004e6110
lea ecx, [esp + 0xb0]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
mov eax, dword [esi + 0x4c]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x24
je 0x4ec908
inc eax
mov dword [esi + 0x4c], eax
cmp eax, dword [esi + 0x48]
jne 0x4ec8f0
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], edx
cmp edi, edx
jne 0x4ec967
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.004026ad
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.004e6110
lea ecx, [esp + 0x104]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edi, eax
je 0x4eca43
movzx eax, byte [eax]
mov edi, dword [ecx]
mov al, byte [eax + edi + 4]
cmp al, 0xa
jne 0x4eca43
movzx eax, byte [ebp]
xor ebx, ebx
mov ecx, edi
cmp byte [eax + ecx + 4], 4
mov byte [esp + 0x14], bl
jne 0x4ec9a2
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x14], 1
push edx
push ebp
call fcn.004e67a0
mov ecx, dword [esp + 0x18]
cmp eax, ebx
jne 0x4eca2a
cmp byte [ecx + 0x3c], bl
je 0x4eca19
mov eax, dword [esp + 0x1c]
sub eax, ebp
cmp eax, 1
jne 0x4eca19
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x48]
je 0x4eca19
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movzx edx, byte [eax]
cmp byte [edx + ecx + 4], 0xa
jne 0x4eca19
movzx edx, byte [ebp]
mov cl, byte [edx + ecx + 4]
cmp cl, 0x14
jne 0x4ec9fe
push 8
inc eax
push 9
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004e20f0
xor al, al
jmp 0x4ecaa1
cmp cl, 0x15
jne 0x4eca19
push 8
inc eax
push 0xa
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004e20f0
xor al, al
jmp 0x4ecaa1
sub ebp, dword [esi + 0x44]
mov ecx, esi
push ebp
push 4
call fcn.004e61a0
xor al, al
jmp 0x4ecaa1
mov byte [ecx + 0x3c], bl
cmp byte [esp + 0x14], bl
jne 0x4eca3b
or dword [ecx + 0x34], eax
inc dword [esi + 0x4c]
jmp 0x4eca9f
or dword [ecx + 0x38], eax
inc dword [esi + 0x4c]
jmp 0x4eca9f
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.004026ad
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.004e6110
lea ecx, [esp + 0xe8]
mov dword [esp + 0x148], 0xffffffff
call fcn.00402723
xor al, al
jmp 0x4ecaa1
dec eax
push ebx
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004ec3e0
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.0050a878
add esp, 0x138
ret 4