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

Disassembly:
push 0xffffffffffffffff
push 0x5653d2
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5b4a28]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b4a28]
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 + 0x64]
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x60]
mov dword [esp + 0x18], ebx
cmp edi, eax
jne 0x54286d
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 0x542807
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.004052f0
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
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.00406020
push edi
push 7
mov ecx, esi
call fcn.00532c60
cmp dword [esp + 0x50], 0x10
jb 0x542866
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004b3245
add esp, 4
xor al, al
jmp 0x542cd8
mov ecx, dword [esi + 4]
movzx ebp, byte [eax]
mov edx, dword [ecx]
movzx edx, byte [edx + ebp + 4]
sub edx, 5
je 0x542cca
sub edx, 0x1f
je 0x542a94
dec edx
jne 0x542cca
lea ebx, [eax + 1]
mov dword [esi + 0x64], ebx
cmp edi, ebx
jne 0x5428e6
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.004045a0
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
lea eax, [esp + 0x90]
push eax
push ecx
push 7
mov ecx, esi
mov dword [esp + 0x150], 5
call fcn.005349b0
lea ecx, [esp + 0x90]
call fcn.00404650
xor al, al
jmp 0x542cd8
lea eax, [ebx + 1]
mov dword [esi + 0x64], eax
cmp edi, eax
jne 0x542930
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.004045a0
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
lea eax, [esp + 0x58]
push eax
push ecx
push 7
mov ecx, esi
mov dword [esp + 0x150], 6
call fcn.005349b0
lea ecx, [esp + 0x58]
call fcn.00404650
xor al, al
jmp 0x542cd8
mov eax, dword [esi + 0x64]
movzx ebp, byte [eax]
mov edx, dword [ecx]
cmp byte [edx + ebp + 4], 0x25
je 0x542948
inc eax
mov dword [esi + 0x64], eax
cmp eax, dword [esi + 0x60]
jne 0x542930
mov edx, dword [esi + 0x64]
cmp edi, edx
jne 0x542997
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.004045a0
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0x100]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 7
call fcn.005349b0
lea ecx, [esp + 0x100]
call fcn.00404650
xor al, al
jmp 0x542cd8
lea eax, [edx + 1]
mov dword [esi + 0x64], eax
cmp edi, eax
je 0x542a4c
movzx eax, byte [eax]
mov edi, dword [ecx]
cmp byte [eax + edi + 4], 0xa
jne 0x542a4c
push edx
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0053b7a0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x144], 9
test ecx, ecx
je 0x542a2f
cmp ecx, 2
ja 0x542a2f
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, edi
cmp edx, 0x10
jae 0x5429ec
lea eax, [esp + 0x20]
mov al, byte [eax]
mov byte [esp + 0x14], al
cmp ecx, 1
jbe 0x542a0b
mov eax, edi
cmp edx, 0x10
jae 0x542a02
lea eax, [esp + 0x20]
mov cl, byte [eax + 1]
mov byte [esp + 0x15], cl
jmp 0x542a10
mov byte [esp + 0x15], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.005401d0
inc dword [esi + 0x64]
lea ecx, [esp + 0x20]
call fcn.00404650
jmp 0x542cd6
sub ebx, dword [esi + 0x5c]
mov ecx, esi
push ebx
push 3
call fcn.00537290
lea ecx, [esp + 0x20]
call fcn.00404650
xor al, al
jmp 0x542cd8
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.004045a0
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0xc8]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 8
call fcn.005349b0
lea ecx, [esp + 0xc8]
call fcn.00404650
xor al, al
jmp 0x542cd8
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
and edx, 0x103
cmp edx, 0x101
je 0x542cca
inc eax
mov dword [esi + 0x64], eax
cmp edi, eax
jne 0x542af2
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.004045a0
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0x74]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 1
call fcn.005349b0
lea ecx, [esp + 0x74]
call fcn.00404650
xor al, al
jmp 0x542cd8
mov ebp, eax
inc eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x64], eax
cmp edi, eax
jne 0x542b48
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.004045a0
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0xac]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 2
call fcn.005349b0
lea ecx, [esp + 0xac]
call fcn.00404650
xor al, al
jmp 0x542cd8
mov eax, dword [esi + 0x64]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x24
je 0x542b60
inc eax
mov dword [esi + 0x64], eax
cmp eax, dword [esi + 0x60]
jne 0x542b48
mov ebx, dword [esi + 0x64]
cmp edi, ebx
jne 0x542bb0
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.004045a0
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
lea edx, [esp + 0xe4]
push edx
push eax
push 7
mov ecx, esi
mov dword [esp + 0x150], 3
call fcn.005349b0
lea ecx, [esp + 0xe4]
call fcn.00404650
xor al, al
jmp 0x542cd8
lea eax, [ebx + 1]
mov dword [esi + 0x64], eax
cmp edi, eax
je 0x542c85
movzx edx, byte [eax]
mov edi, dword [ecx]
cmp byte [edx + edi + 4], 0xa
jne 0x542c85
movzx eax, byte [ebp]
mov ecx, edi
cmp byte [eax + ecx + 4], 4
mov byte [esp + 0x14], 0
jne 0x542be9
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
push ebx
push ebp
call fcn.00534d80
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x542c6a
cmp byte [ecx + 0x2c], al
je 0x542c59
sub ebx, ebp
cmp ebx, 1
jne 0x542c59
inc dword [esi + 0x64]
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x60]
je 0x542c59
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movzx edx, byte [eax]
cmp byte [edx + ecx + 4], 0xa
jne 0x542c59
movzx edx, byte [ebp]
mov cl, byte [edx + ecx + 4]
cmp cl, 0x14
jne 0x542c41
push 8
inc eax
push 9
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0052dc60
xor al, al
jmp 0x542cd8
cmp cl, 0x15
jne 0x542c59
push 8
inc eax
push 0xa
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0052dc60
xor al, al
jmp 0x542cd8
sub ebp, dword [esi + 0x5c]
mov ecx, esi
push ebp
push 4
call fcn.00537290
xor al, al
jmp 0x542cd8
cmp byte [esp + 0x14], 0
mov byte [ecx + 0x2c], 0
jne 0x542c7d
or dword [ecx + 0x24], eax
inc dword [esi + 0x64]
jmp 0x542cd6
or dword [ecx + 0x28], eax
inc dword [esi + 0x64]
jmp 0x542cd6
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.004045a0
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0x11c]
push ecx
push edx
push 7
mov ecx, esi
mov dword [esp + 0x150], 4
call fcn.005349b0
lea ecx, [esp + 0x11c]
call fcn.00404650
xor al, al
jmp 0x542cd8
dec eax
push ebx
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.00542680
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.004b303a
add esp, 0x134
ret 4