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

Disassembly:
push 0xffffffffffffffff
push 0x571568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 1
mov byte [esp + 0x38], al
call fcn.00550b20
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call fcn.00531b50
movsx ebp, ax
lea esi, [ebp + 2]
push esi
mov dword [esp + 0x1c], esi
call fcn.00556a96
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x78]
mov byte [ebx], 0x20
lea edi, [ebx + 1]
call fcn.00531b60
mov ecx, ebp
mov esi, eax
mov eax, ecx
mov dword [esp + 0x10], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x54c0c1
cmp byte [esi + ebx], 0x20
jne 0x54c0b0
sub esi, dword [esp + 0x10]
cmp esi, 2
jl 0x54c12e
push esi
call fcn.00556a96
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea ecx, [esi - 1]
mov edx, ecx
mov edi, ebp
lea esi, [ebx + eax + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx eax, byte [ebp]
push eax
call fcn.00557b68
add esp, 8
test eax, eax
je 0x54c081
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx ecx, byte [ebp]
push ecx
call fcn.00557b18
add esp, 4
test eax, eax
je 0x54c024
push 0x2e
push ebp
call fcn.00556fd0
add esp, 8
test eax, eax
jne 0x54c010
push ebp
mov byte [esp + 0x24], 3
call fcn.00557164
add esp, 4
mov dword [esp + 0x24], eax
jmp 0x54c071
push ebp
mov byte [esp + 0x24], 0xc
call fcn.0055708c
fstp qword [esp + 0x34]
add esp, 4
jmp 0x54c071
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx eax, byte [ebp]
add eax, 0xffffffbe
cmp eax, 0x20
ja case.0x54c049.71
xor edx, edx
mov dl, byte [eax + 0x54c68c]
jmp dword [edx*4 + 0x54c674]
mov byte [esp + 0x20], 7
jmp 0x54c071
mov byte [esp + 0x20], 5
jmp 0x54c071
mov byte [esp + 0x20], 9
jmp 0x54c071
mov byte [esp + 0x20], 6
jmp 0x54c071
mov byte [esp + 0x20], 0xa
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
call fcn.0054e380
jmp 0x54c09d
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push edx
call fcn.0054ad10
test al, al
je 0x54c1e3
push ebp
call fcn.00556360
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x54bf6c
cmp dword [esp + 0x64], 1
je 0x54c24f
push ebx
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c113
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c102
cmp ecx, dword [esp + 0x40]
jne 0x54c10b
lea ecx, [esp + 0x38]
call fcn.0054ed70
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c0e7
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00531940
mov dword [esp + 0x70], 0xffffffff
jmp 0x54c654
push ebx
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c113
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c164
cmp ecx, dword [esp + 0x40]
jne 0x54c16d
lea ecx, [esp + 0x38]
call fcn.0054ed70
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c149
jmp 0x54c113
push ebp
call fcn.00556360
push ebx
call fcn.00556360
mov eax, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c1c8
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c1b7
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp edx, eax
jne 0x54c1c0
lea ecx, [esp + 0x38]
call fcn.0054ed70
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c198
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00531940
mov dword [esp + 0x70], 0xffffffff
jmp 0x54c654
push ebp
call fcn.00556360
push ebx
call fcn.00556360
mov eax, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c234
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c223
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x54c22c
lea ecx, [esp + 0x38]
call fcn.0054ed70
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c204
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00531940
mov dword [esp + 0x70], 0xffffffff
jmp 0x54c654
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x58]
or ebp, 0xffffffff
mov dword [esp + 0x28], ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
call fcn.0054ef00
mov esi, dword [esp + 0x28]
mov ecx, 6
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
cmp al, 7
jae 0x54c380
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x54c2a2
jmp dword [eax*4 + 0x54c6b0]
push ebx
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c642
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c2eb
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x54c36f
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x54c353
lea ecx, [esp + 0x20]
call fcn.00550b20
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.00556360
add esp, 4
jmp 0x54c36f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c2c8
jmp 0x54c642
cmp al, 0xa
jbe 0x54c570
cmp al, 0xb
je case.0x54c2a2.1
cmp al, 0xc
jne 0x54c49d
push ebx
call fcn.00556360
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0xa4]
add esp, 4
mov ecx, 6
lea esi, [esp + 0x20]
mov byte [esp + 0x70], 1
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x54c478
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c3e8
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp edx, eax
jne 0x54c46c
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x54c450
lea ecx, [esp + 0x20]
call fcn.00550b20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.00556360
add esp, 4
jmp 0x54c46c
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c3c5
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00531940
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], ebp
call fcn.00539fa0
mov eax, 1
jmp 0x54c65f
push ebx
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c642
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c4db
cmp ecx, dword [esp + 0x40]
jne 0x54c55f
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x54c543
lea ecx, [esp + 0x20]
call fcn.00550b20
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], esi
call fcn.00556360
add esp, 4
jmp 0x54c55f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c4bc
jmp 0x54c642
push ebx
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x54c642
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x54c5b2
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x54c636
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.00556360
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x54c61a
lea ecx, [esp + 0x20]
call fcn.00550b20
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.00556360
add esp, 4
jmp 0x54c636
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x54c58f
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00531940
mov dword [esp + 0x70], ebp
lea ecx, [esp + 0x7c]
call fcn.00539fa0
xor eax, eax
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x2c