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

Disassembly:
push 0xffffffffffffffff
push 0x4fae50
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x543f30]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x543f30]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], ebx
push 6
mov ebp, 0xf
push str.option
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00401570
lea eax, [esp + 0x24]
add esi, 0x10
push eax
mov ecx, esi
mov dword [esp + 0xa4], ebx
call fcn.00438020
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 4]
je 0x4c6047
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4c602c
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
push ebx
lea ecx, [esp + 0x34]
call fcn.00407432
test eax, eax
js 0x4c6047
lea eax, [esp + 0x20]
jmp 0x4c6052
mov edx, dword [esi + 4]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
mov eax, dword [eax]
cmp dword [eax + 0x38], ebx
mov dword [esp + 0xa0], 0xffffffff
sete byte [esp + 0x17]
cmp dword [esp + 0x38], 0x10
jb 0x4c607b
mov eax, dword [esp + 0x24]
push eax
call fcn.0049d71c
add esp, 4
push 0xe
push str.original_token
cmp byte [esp + 0x1f], bl
je 0x4c60e6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00401570
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0xa8], 1
call fcn.00433d48
mov eax, dword [eax]
push 0xffffffffffffffff
push ebx
add eax, 0x28
mov dword [edi + 0x14], ebp
mov dword [edi + 0x10], ebx
push eax
mov ecx, edi
mov byte [edi], bl
call fcn.004018a2
cmp dword [esp + 0x38], 0x10
jb 0x4c62c2
mov eax, dword [esp + 0x24]
push eax
jmp 0x4c62ba
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00401570
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0xa8], 2
call fcn.00433d48
mov eax, dword [eax]
add eax, 0x28
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004c5d90
add esp, 8
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0xa0], 4
jb 0x4c6146
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0049d71c
add esp, 4
push 6
push str.option
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00401570
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 5
call fcn.00433d48
mov eax, dword [eax]
add eax, 0x28
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.004c5d90
add esp, 8
mov esi, 0x10
mov byte [esp + 0xa0], 7
cmp dword [esp + 0x38], esi
jb 0x4c61ba
mov edx, dword [esp + 0x24]
push edx
call fcn.0049d71c
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp eax, 1
je 0x4c624d
cmp eax, 0x1000
je 0x4c624d
cmp eax, ebx
je 0x4c6237
cmp dword [esp + 0x88], ebx
je 0x4c6237
lea eax, [esp + 0x40]
push eax
call fcn.004c5ba0
mov ecx, dword [esp + 0x78]
mov byte [esp + 0xa0], 9
cmp dword [esp + 0x8c], esi
jae 0x4c6209
lea ecx, [esp + 0x78]
movzx ecx, byte [ecx]
push ecx
push eax
push edi
call fcn.004119e5
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0040125d
lea ecx, [esp + 0x5c]
call fcn.0040125d
lea ecx, [esp + 0x78]
call fcn.0040125d
jmp 0x4c62c2
lea edx, [esp + 0x5c]
mov dword [edi + 0x14], ebp
mov dword [edi + 0x10], ebx
push edx
mov ecx, edi
mov byte [edi], bl
call fcn.00407339
jmp 0x4c628d
lea edx, [esp + 0x40]
push edx
call fcn.004c5ba0
lea ecx, [esp + 0x5c]
push ecx
push eax
push edi
mov byte [esp + 0xac], 8
call fcn.0041fc1b
add esp, 0xc
cmp dword [esp + 0x54], esi
jb 0x4c6281
mov edx, dword [esp + 0x40]
push edx
call fcn.0049d71c
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x70], esi
jb 0x4c62a0
mov eax, dword [esp + 0x5c]
push eax
call fcn.0049d71c
add esp, 4
mov byte [esp + 0x5c], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
cmp dword [esp + 0x8c], esi
jb 0x4c62c2
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0049d71c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0049d196
add esp, 0x90
ret 4