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

Disassembly:
push 0xffffffffffffffff
push 0x6afa76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b4
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x2c]
xor esi, esi
test eax, eax
push edi
mov dword [esp + 0x30], ebx
je 0x54c688
mov esi, dword [eax + 0x114]
test esi, esi
jne 0x54c6ae
mov ecx, dword [0x8dfbfc]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x54c6ae
mov ecx, dword [0x8dfbfc]
mov edx, dword [ecx]
call dword [edx + 0xa8]
mov esi, dword [eax + 0x114]
mov byte [0x8cc1f0], 0
mov eax, dword [ebx + 0xcc]
mov ecx, eax
mov byte [esp + 0xbc], 0
shr ecx, 4
test cl, 1
mov dword [esp + 0x14], 4
je 0x54c6dd
mov dword [esp + 0x14], 0x1804
mov cl, byte [ebx + 0x1c8]
test cl, cl
je 0x54c6ef
or dword [esp + 0x14], 0x880020
mov edx, eax
shr edx, 5
test dl, 1
je 0x54c701
or dword [esp + 0x14], 0x80200
mov ecx, eax
shr ecx, 7
test cl, 1
jne 0x54c710
or dword [esp + 0x14], 8
shr eax, 2
test al, 1
je 0x54c721
mov eax, dword [esp + 0x14]
or al, 2
mov dword [esp + 0x14], eax
mov edx, dword [0x8a7a78]
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1a0]
mov ecx, dword [0x8b0a50]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x406
mov dword [esp + 0x34], ecx
mov edx, dword [ebx + 0x1a4]
add ebx, 0x1a4
lea ecx, [esp + 0x34]
mov dword [esp + 0x4cc], 0
mov edi, dword [edx - 8]
mov dword [esp + 0x38], ebx
push edi
call fcn.00570990
xor esi, esi
test edi, edi
jbe 0x54c7ea
mov ecx, ebx
call fcn.00570850
mov eax, dword [ebx]
mov al, byte [eax + esi]
cmp al, 0x2f
mov byte [esp + 0x20], al
je 0x54c7ab
cmp al, 0x5c
je 0x54c7b0
jmp 0x54c7d5
mov byte [esp + 0x20], 0x5c
lea ebp, [edi - 1]
cmp esi, ebp
jae 0x54c7d5
mov ecx, ebx
call fcn.00570850
mov ecx, dword [ebx]
mov al, byte [ecx + esi + 1]
cmp al, 0x5c
je 0x54c7cc
cmp al, 0x2f
jne 0x54c7d5
test esi, esi
jbe 0x54c7d5
inc esi
cmp esi, ebp
jb 0x54c7b7
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push edx
push 1
call fcn.00570940
inc esi
cmp esi, edi
jb 0x54c791
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
push 0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x8c], 0x54c120
call fcn.00572ec0
push 0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x4d0], 1
call fcn.00572ec0
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xac]
lea eax, [esp + 0x9c]
push edx
add ecx, 0x1b0
push eax
push ecx
mov byte [esp + 0x4d8], 2
call fcn.00576df0
mov ebp, eax
mov eax, dword [0x8b0a50]
add esp, 0xc
mov dword [esp + 0x18], eax
xor esi, esi
mov byte [esp + 0x4cc], 3
test ebp, ebp
jbe 0x54c902
mov edx, dword [esp + 0xa4]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.005712b0
mov eax, 0x769158
test eax, eax
je 0x54c8a1
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x54c8a3
xor ecx, ecx
push ecx
push 0x769158
push ecx
lea ecx, [esp + 0x24]
call fcn.005712b0
mov ecx, dword [esp + 0xb4]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.005712b0
mov edx, 0x769158
test edx, edx
je 0x54c8e3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x54c8e5
xor ecx, ecx
push ecx
push 0x769158
push ecx
lea ecx, [esp + 0x24]
call fcn.005712b0
inc esi
cmp esi, ebp
jb 0x54c871
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
xor esi, esi
test ecx, ecx
jbe 0x54c92e
cmp byte [eax + esi], 0x7c
jne 0x54c926
lea ecx, [esp + 0x18]
call fcn.00570850
mov eax, dword [esp + 0x18]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jb 0x54c90b
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x50], eax
push 0xfffd
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [ebp + 0x1ac]
lea ebx, [ebp + 0x1ac]
inc ecx
push eax
push 0x8cc1f0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], ebx
call dword [0x6c74c0]
mov edx, dword [0x8b0a50]
add esp, 0xc
mov byte [0x8dc1ed], 0
mov dword [esp + 0x60], 0x8cc1f0
mov dword [esp + 0x64], 0xfffe
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 0xcc]
mov edi, dword [0x6c74ac]
shr eax, 1
test al, 1
mov byte [esp + 0x4cc], 4
je 0x54cb14
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
lea eax, [ecx + ecx - 1]
test eax, eax
jle 0x54c9d7
mov esi, eax
test edx, edx
je 0x54c9ce
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [0x6c74ac]
not ecx
dec ecx
jmp 0x54c9d0
xor ecx, ecx
dec esi
lea edx, [edx + ecx + 1]
jne 0x54c9b6
test edx, edx
jne 0x54c9e0
mov edx, 0x8c55f4
mov eax, dword [0x6e14e0]
lea ecx, [esp + 0x1c]
push eax
push 0
push edx
call fcn.00570720
mov ecx, 0x8a7ab0
mov byte [esp + 0x4cc], 5
test ecx, ecx
mov eax, ecx
jne 0x54ca0a
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x20]
push edx
push 0
push eax
call fcn.00570720
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x4d8], 6
call fcn.00512c20
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4d0], 7
call fcn.00571160
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x54ca69
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54ca69
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x54ca85
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54ca85
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x4cc], 4
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x54caa9
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54caa9
push eax
call edi
add esp, 4
push 0
push 0x8a7aac
lea ecx, [esp + 0x30]
call fcn.00572050
test al, al
je 0x54cb14
mov eax, dword [0x6e14e0]
lea ecx, [esp + 0x3c]
push eax
push 2
push ecx
lea ecx, [esp + 0x34]
call fcn.00571f80
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4d0], 8
call fcn.00571160
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x4cc], 4
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x54cb09
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54cb09
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00576af0
mov eax, dword [ebp + 0xcc]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x4dc], 9
call fcn.0054d0e0
mov cl, al
add esp, 0x10
test cl, cl
mov byte [esp + 0x13], cl
jne 0x54cbec
cmp dword [esp + 0x2c], 0x3002
jne 0x54cb89
mov eax, dword [esp + 0x60]
cmp byte [eax], 0
je 0x54d012
mov byte [eax], cl
mov eax, dword [ebp + 0xcc]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x44]
push edx
push eax
push ecx
call fcn.0054d0e0
add esp, 0xc
mov byte [esp + 0x13], al
test al, al
jne 0x54cbec
mov cl, al
cmp dword [esp + 0x2c], 1
jne 0x54d012
mov edx, dword [esp + 0x44]
mov eax, 0x4c
cmp edx, eax
je 0x54d012
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xcc]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x44]
push edx
push eax
push ecx
call fcn.0054d0e0
add esp, 0xc
mov byte [esp + 0x13], al
test al, al
jne 0x54cbda
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x54d00e
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x44]
test al, al
mov dword [0x8a7a78], edx
je 0x54d00e
test byte [esp + 0x14], 8
je 0x54cc00
lea eax, [esp + 0x40]
push eax
call fcn.00576bc0
add esp, 4
mov edi, dword [esp + 0x30]
lea ebp, [edi + 0x1b8]
mov ecx, ebp
call fcn.00573070
mov ecx, dword [edi + 0xcc]
shr ecx, 5
test cl, 1
je 0x54cddf
mov edx, dword [esp + 0x7c]
and edx, 0xffff
mov al, byte [edx + 0x8cc1ef]
test al, al
jne 0x54cddf
mov ecx, dword [esp + 0x38]
push 0x8cc1f0
call fcn.00571200
mov esi, dword [esp + 0x7c]
mov ecx, ebx
and esi, 0xffff
lea eax, [esi + 0x8cc1f0]
push eax
call fcn.00571200
push 1
push ebx
mov ecx, ebp
call fcn.00573250
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
lea esi, [esi + eax + 1]
mov al, byte [esi + 0x8cc1f0]
test al, al
lea edi, [esi + 0x8cc1f0]
je 0x54cd0f
mov bl, 0xa
test edi, edi
mov eax, edi
jne 0x54cc95
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
call fcn.00570720
lea eax, [esp + 0x1c]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x4d4], bl
call fcn.00573250
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x4cc], 9
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x54cce5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54cce5
push eax
call dword [0x6c74ac]
add esp, 4
test edi, edi
je 0x54ccf5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x54ccf7
xor ecx, ecx
lea esi, [esi + ecx + 1]
mov al, byte [esi + 0x8cc1f0]
lea edi, [esi + 0x8cc1f0]
test al, al
jne 0x54cc8a
mov edi, dword [esp + 0x38]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x54cd28
mov edx, dword [0x8b0a50]
mov dword [esp + 0x14], edx
jmp 0x54cd38
mov dword [esp + 0x14], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x54cd38
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x4cc], 0xb
mov esi, dword [eax - 8]
call fcn.00570850
mov ecx, dword [edi]
cmp byte [ecx + esi - 1], 0x5c
je 0x54cd62
push 0x5c
push 1
lea ecx, [esp + 0x1c]
call fcn.00570940
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00571790
add esp, 0xc
mov esi, dword [esp + 0x30]
push eax
mov byte [esp + 0x4d0], 0xc
lea ecx, [esi + 0x1a8]
call fcn.00571160
mov edx, dword [esp + 0x24]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x54cdb1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54cdb1
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
dec eax
mov dword [esi + 0x1b4], eax
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x54d00e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54d00e
jmp 0x54d004
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7e]
test ax, ax
lea edx, [ecx - 1]
mov dword [edi + 0x1b4], edx
je 0x54ce08
and eax, 0xffff
mov dl, byte [eax + 0x8cc1f0]
test dl, dl
jne 0x54cf4f
mov edx, dword [esp + 0x18]
lea eax, [ecx + ecx - 1]
test eax, eax
jle 0x54ce35
mov esi, eax
test edx, edx
je 0x54ce2c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x30]
not ecx
dec ecx
jmp 0x54ce2e
xor ecx, ecx
dec esi
lea edx, [edx + ecx + 1]
jne 0x54ce16
test edx, edx
jne 0x54ce3e
mov edx, 0x8c55f4
mov eax, dword [0x6e14e0]
lea ecx, [esp + 0x20]
push eax
push 0
push edx
call fcn.00570720
mov ecx, 0x8cc1f0
mov byte [esp + 0x4cc], 0xd
test ecx, ecx
mov eax, ecx
jne 0x54ce68
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
call fcn.00570720
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x4d8], 0xe
call fcn.00512c20
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x4d0], 0xf
call fcn.00571160
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x54cecd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54cecd
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x54ced3
mov esi, dword [0x6c74ac]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x54ceef
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54ceef
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x20]
mov byte [esp + 0x4cc], 9
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x54cf13
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54cf13
push eax
call esi
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
cmp ecx, 0xfffd
jb 0x54cf25
mov ecx, 0xfffd
push ecx
push eax
push 0x8cc1f0
call dword [0x6c74c0]
mov eax, dword [ebx]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, 0xfffd
jb 0x54cf46
mov eax, 0xfffd
mov byte [eax + 0x8cc1f0], 0
jmp 0x54cf55
mov esi, dword [0x6c74ac]
push 0x8cc1f0
lea ecx, [edi + 0x1a8]
call fcn.00571200
push 0x8cc1f0
call fcn.00576190
add esp, 4
mov ecx, ebx
push eax
call fcn.00571200
push 1
push ebx
mov ecx, ebp
call fcn.00573250
mov ecx, 0x8cc1f0
test ecx, ecx
mov eax, ecx
jne 0x54cf94
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
call fcn.00570720
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x4d4], 0x10
call fcn.005763a0
add esp, 8
mov ecx, dword [esp + 0x38]
push eax
mov byte [esp + 0x4d0], 0x11
call fcn.00571160
mov edx, dword [esp + 0x24]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x54cfef
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54cfef
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x54d00e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54d00e
push eax
call dword [0x6c74ac]
add esp, 4
mov cl, byte [esp + 0x13]
neg cl
sbb ecx, ecx
add ecx, 0x13ed
mov esi, ecx
mov ecx, dword [esp + 0x40]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x54d042
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54d042
mov edi, dword [0x6c74ac]
push eax
call edi
add esp, 4
jmp 0x54d048
mov edi, dword [0x6c74ac]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x54d064
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54d064
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x54d07f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54d07f
push eax
call edi
add esp, 4
lea ecx, [esp + 0xac]
mov byte [esp + 0x4cc], 1
call fcn.005730c0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4cc], 0
call fcn.005730c0
mov ecx, dword [esp + 0x34]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x54d0c3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x54d0c3
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x4c4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c0
ret