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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x792130
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [edi + 0x2c]
mov dword [edi + 0x48], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x1f], 0
call fcn.004013d0
push esi
lea ecx, [edi + 0x4c]
push 0x81d238
call fcn.00403a80
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00479c80
test al, al
jne 0x5498dd
mov ebx, esi
lea esi, [esp + 0x58]
call fcn.004389b0
push eax
mov edx, 0x821408
lea esi, [esp + 0x24]
mov dword [esp + 0x84], 0
call fcn.00406c30
add esp, 4
mov byte [esp + 0x80], 1
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov esi, 8
mov bl, al
cmp dword [esp + 0x38], esi
jb 0x54989c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
cmp dword [esp + 0x70], esi
jb 0x5498c6
mov eax, dword [esp + 0x5c]
push eax
call fcn.006441c7
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test al, al
jne 0x549bcc
mov edi, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
xor bl, bl
push eax
mov ecx, edi
mov byte [esp + 0x19], 0
mov byte [esp + 0x18], 1
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x1a], bl
call edx
cmp eax, 2
je 0x549aab
cmp eax, 1
je 0x549ae5
test eax, eax
jne 0x549b56
mov eax, dword [esp + 0x18]
cmp ax, 0xd
je 0x549a84
cmp ax, 0xa
jne 0x54994c
inc dword [esp + 0x1c]
jmp 0x549964
cmp ax, 0x20
je 0x549958
cmp ax, 9
jne 0x549964
cmp byte [esp + 0x14], 0
je 0x5499b0
mov byte [esp + 0x16], 1
cmp byte [esp + 0x14], 0
je 0x5499b0
cmp ax, 0x20
je 0x549a84
cmp ax, 9
je 0x549a84
cmp ax, 0xa
je 0x549a84
test byte [edi + 0x28], 2
je 0x5499a0
cmp byte [esp + 0x16], 0
jne 0x5499a0
cmp dword [edi + 0x60], 0
ja 0x549a9d
cmp ax, 0x23
jne 0x5499ab
mov byte [esp + 0x15], 1
mov byte [esp + 0x14], 0
cmp ax, 0xa
jne 0x5499d5
cmp byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x14], 1
je 0x549a55
mov byte [esp + 0x15], 0
jmp 0x549a84
cmp byte [esp + 0x15], 0
jne 0x549a84
cmp ax, 0x5c
jne 0x5499ff
cmp byte [esp + 0x12], 0
jne 0x5499f4
cmp byte [esp + 0x13], 0
je 0x549a55
test bl, bl
jne 0x549a59
mov bl, 1
jmp 0x549a84
cmp ax, 0x27
jne 0x549a1d
cmp byte [esp + 0x13], 0
jne 0x549a55
test bl, bl
jne 0x549a59
cmp byte [esp + 0x12], bl
sete cl
mov byte [esp + 0x12], cl
jmp 0x549a6b
cmp ax, 0x22
jne 0x549a3b
cmp byte [esp + 0x12], 0
jne 0x549a55
test bl, bl
jne 0x549a59
cmp byte [esp + 0x13], bl
sete dl
mov byte [esp + 0x13], dl
jmp 0x549a6b
cmp ax, 0x3b
jne 0x549a55
test byte [edi + 0x28], 1
je 0x549a55
cmp byte [esp + 0x12], 0
jne 0x549a55
cmp byte [esp + 0x13], 0
je 0x549aab
test bl, bl
je 0x549a6b
push 0x5c
push 1
lea ecx, [edi + 0x4c]
call fcn.00405180
mov eax, dword [esp + 0x18]
xor bl, bl
cmp dword [edi + 0x60], 0
jne 0x549a79
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [edi + 0x48], ecx
push eax
push 1
lea ecx, [edi + 0x4c]
call fcn.00405180
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
cmp eax, 2
jne 0x549921
jmp 0x549aab
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
cmp dword [edi + 0x60], 0
jbe 0x549acf
lea ebx, [edi + 0x4c]
push ebx
mov esi, edi
call fcn.005496f0
test al, al
je 0x549bc7
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004013d0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
test al, al
je 0x5498f0
jmp 0x549bcc
push 0x11
xor eax, eax
push str.Invalid_Character
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00403a80
mov dword [esp + 0x80], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x38], 8
mov bl, al
jb 0x5498c6
mov eax, dword [esp + 0x24]
push eax
call fcn.006441c7
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
push 0xe
mov word [esp + 0x44], cx
push str.Internal_Error
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
call fcn.00403a80
mov dword [esp + 0x80], 3
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x54], 8
mov bl, al
jb 0x5498c6
mov eax, dword [esp + 0x40]
push eax
call fcn.006441c7
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x17], 1
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x4c]
call fcn.004013d0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
mov dword [edi + 0x48], 0
call eax
xor eax, eax
cmp byte [esp + 0x17], al
sete al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4