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

Disassembly:
push 0xffffffffffffffff
push 0x5652d2
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 0x54276d
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 0x542707
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.00532b60
cmp dword [esp + 0x50], 0x10
jb 0x542766
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004b3165
add esp, 4
xor al, al
jmp 0x542bd8
mov ecx, dword [esi + 4]
movzx ebp, byte [eax]
mov edx, dword [ecx]
movzx edx, byte [edx + ebp + 4]
sub edx, 5
je 0x542bca
sub edx, 0x1f
je 0x542994
dec edx
jne 0x542bca
lea ebx, [eax + 1]
mov dword [esi + 0x64], ebx
cmp edi, ebx
jne 0x5427e6
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.005348b0
lea ecx, [esp + 0x90]
call fcn.00404650
xor al, al
jmp 0x542bd8
lea eax, [ebx + 1]
mov dword [esi + 0x64], eax
cmp edi, eax
jne 0x542830
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.005348b0
lea ecx, [esp + 0x58]
call fcn.00404650
xor al, al
jmp 0x542bd8
mov eax, dword [esi + 0x64]
movzx ebp, byte [eax]
mov edx, dword [ecx]
cmp byte [edx + ebp + 4], 0x25
je 0x542848
inc eax
mov dword [esi + 0x64], eax
cmp eax, dword [esi + 0x60]
jne 0x542830
mov edx, dword [esi + 0x64]
cmp edi, edx
jne 0x542897
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.005348b0
lea ecx, [esp + 0x100]
call fcn.00404650
xor al, al
jmp 0x542bd8
lea eax, [edx + 1]
mov dword [esi + 0x64], eax
cmp edi, eax
je 0x54294c
movzx eax, byte [eax]
mov edi, dword [ecx]
cmp byte [eax + edi + 4], 0xa
jne 0x54294c
push edx
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0053b6a0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x144], 9
test ecx, ecx
je 0x54292f
cmp ecx, 2
ja 0x54292f
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, edi
cmp edx, 0x10
jae 0x5428ec
lea eax, [esp + 0x20]
mov al, byte [eax]
mov byte [esp + 0x14], al
cmp ecx, 1
jbe 0x54290b
mov eax, edi
cmp edx, 0x10
jae 0x542902
lea eax, [esp + 0x20]
mov cl, byte [eax + 1]
mov byte [esp + 0x15], cl
jmp 0x542910
mov byte [esp + 0x15], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.005400d0
inc dword [esi + 0x64]
lea ecx, [esp + 0x20]
call fcn.00404650
jmp 0x542bd6
sub ebx, dword [esi + 0x5c]
mov ecx, esi
push ebx
push 3
call fcn.00537190
lea ecx, [esp + 0x20]
call fcn.00404650
xor al, al
jmp 0x542bd8
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.005348b0
lea ecx, [esp + 0xc8]
call fcn.00404650
xor al, al
jmp 0x542bd8
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
and edx, 0x103
cmp edx, 0x101
je 0x542bca
inc eax
mov dword [esi + 0x64], eax
cmp edi, eax
jne 0x5429f2
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.005348b0
lea ecx, [esp + 0x74]
call fcn.00404650
xor al, al
jmp 0x542bd8
mov ebp, eax
inc eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x64], eax
cmp edi, eax
jne 0x542a48
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.005348b0
lea ecx, [esp + 0xac]
call fcn.00404650
xor al, al
jmp 0x542bd8
mov eax, dword [esi + 0x64]
movzx ebx, byte [eax]
mov edx, dword [ecx]
cmp byte [ebx + edx + 4], 0x24
je 0x542a60
inc eax
mov dword [esi + 0x64], eax
cmp eax, dword [esi + 0x60]
jne 0x542a48
mov ebx, dword [esi + 0x64]
cmp edi, ebx
jne 0x542ab0
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.005348b0
lea ecx, [esp + 0xe4]
call fcn.00404650
xor al, al
jmp 0x542bd8
lea eax, [ebx + 1]
mov dword [esi + 0x64], eax
cmp edi, eax
je 0x542b85
movzx edx, byte [eax]
mov edi, dword [ecx]
cmp byte [edx + edi + 4], 0xa
jne 0x542b85
movzx eax, byte [ebp]
mov ecx, edi
cmp byte [eax + ecx + 4], 4
mov byte [esp + 0x14], 0
jne 0x542ae9
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
push ebx
push ebp
call fcn.00534c80
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x542b6a
cmp byte [ecx + 0x2c], al
je 0x542b59
sub ebx, ebp
cmp ebx, 1
jne 0x542b59
inc dword [esi + 0x64]
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x60]
je 0x542b59
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movzx edx, byte [eax]
cmp byte [edx + ecx + 4], 0xa
jne 0x542b59
movzx edx, byte [ebp]
mov cl, byte [edx + ecx + 4]
cmp cl, 0x14
jne 0x542b41
push 8
inc eax
push 9
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0052db60
xor al, al
jmp 0x542bd8
cmp cl, 0x15
jne 0x542b59
push 8
inc eax
push 0xa
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0052db60
xor al, al
jmp 0x542bd8
sub ebp, dword [esi + 0x5c]
mov ecx, esi
push ebp
push 4
call fcn.00537190
xor al, al
jmp 0x542bd8
cmp byte [esp + 0x14], 0
mov byte [ecx + 0x2c], 0
jne 0x542b7d
or dword [ecx + 0x24], eax
inc dword [esi + 0x64]
jmp 0x542bd6
or dword [ecx + 0x28], eax
inc dword [esi + 0x64]
jmp 0x542bd6
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.005348b0
lea ecx, [esp + 0x11c]
call fcn.00404650
xor al, al
jmp 0x542bd8
dec eax
push ebx
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.00542580
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.004b2f5a
add esp, 0x134
ret 4