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

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x54c98c
test dword [0x7eda90], 0xffffffff
jne 0x54d0d4
call fcn.006a6b5c
jmp fcn.0054c964
push edi
push esi
push ebp
push ebx
push eax
mov eax, 0x128
call fcn.00696350
mov eax, dword [esp + 0x128]
mov ebx, ecx
lea eax, [ebx + 0x4c]
mov dword [esp + 0x118], eax
mov esi, dword [ebx + 0x3c]
shl esi, 7
add esi, dword [ebx + 0x14]
cmp dword [esi + 0x38], 0
jne 0x54c9dc
mov ecx, ebx
call fcn.0054d83c
cmp eax, 1
je 0x54d066
mov esi, dword [ebx + 0x3c]
shl esi, 7
add esi, dword [ebx + 0x14]
cmp dword [esi + 0x38], 0
je 0x54c9bd
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x20], eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0xc]
mov ebp, dword [ecx]
call dword [ebp + 0x44]
shr eax, 7
sub eax, dword [esi + 4]
mov ebp, dword [ebx + 0x20]
cmp ebp, eax
jae 0x54ca6f
mov dword [esp + 0x11c], eax
mov dword [esp + 0x100], esi
mov esi, dword [ebx + 0xc]
lea edx, [esp + 0x80]
mov eax, ebp
shl eax, 7
push 1
push 0x80
push eax
push edx
mov ecx, dword [esi + 0xc]
call fcn.00552440
cmp eax, 0x80
je 0x54cae7
cmp dword [esi + 4], 0
jne 0x54ca40
mov dword [esi + 4], 0x2002
inc dword [ebx + 0x20]
cmp dword [ebx + 0x96], 0
je 0x54ca7b
lea eax, [ebp + 1]
mov dword [esp + 0x124], eax
mov ebp, dword [esp + 0x124]
mov eax, dword [esp + 0x11c]
cmp ebp, eax
jb 0x54ca08
mov esi, dword [esp + 0x100]
mov dword [esi + 0x38], 0
jmp 0x54c9ae
mov dword [ebx + 0x96], 1
mov ecx, 0x9d
call fcn.004dbcd8
test eax, eax
je 0x54caa8
push 0x6c6d44
push str.Restore
mov ecx, eax
call fcn.0052153c
mov esi, eax
jmp 0x54caaa
xor esi, esi
push dword [ebx + 4]
mov ecx, esi
call fcn.00521c8c
mov edx, 1
xor edi, edi
cmp eax, 0x10006
cmove edi, edx
test esi, esi
je 0x54cacf
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, 0x6ff760
call fcn.004dc280
cmp edi, 1
je 0x54cf85
jmp 0x54ca4c
lea edx, [ebp + 1]
mov dword [esp + 0x124], edx
push 0x80
lea ecx, [esp + 0x84]
call fcn.00502330
cmp eax, 1
je 0x54d05a
inc dword [ebx + 0x20]
mov eax, dword [esp + 0xcc]
cmp eax, dword [ebx]
jne 0x54d02c
lea ecx, [esp + 0xb7]
mov edx, dword [esp + 0x118]
call fcn.0051a7c8
test eax, eax
je 0x54cb94
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x54cee1
call fcn.005244ac
mov esi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x48]
lea eax, [esp + 0xb7]
push eax
push dword [edx + 0x30]
push esi
call fcn.005245a4
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
call dword [edx + 8]
cmp eax, 1
je 0x54cf85
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x14], 1
mov esi, dword [esp + 0x118]
lea edi, [esp + 0xb7]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x54cb8a
mov ecx, dword [esp + 0xd8]
shl ecx, 7
call fcn.004dbd48
mov dword [esp + 0x114], eax
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x110], edx
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x120], edi
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x10c], eax
shl edi, 7
shl edx, 7
push 1
push edi
push edx
mov eax, dword [esp + 0x120]
push eax
mov ecx, dword [esi + 0xc]
call fcn.00552440
cmp eax, edi
je 0x54cdaa
cmp dword [esi + 4], 0
jne 0x54cbfe
mov dword [esi + 4], 0x2002
mov ecx, dword [esp + 0x114]
call fcn.004db418
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
add eax, edi
cmp edi, eax
jae 0x54ca56
mov esi, edi
shl esi, 7
mov dword [esp + 0x108], ebp
mov ebp, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x120], edx
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x104], eax
lea eax, [esp]
shl edx, 7
push 1
push 0x80
push edx
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00552440
cmp eax, 0x80
je 0x54cf95
cmp dword [ebp + 4], 0
jne 0x54cc74
mov dword [ebp + 4], 0x2002
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 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
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
cmp dword [ebx + 0x96], 0
je 0x54cf0c
inc dword [ebx + 0x20]
inc dword [esp + 0x108]
mov ebp, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
push 0x80
lea ecx, [esp + 4]
mov edx, edi
mov dword [esp + 0x108], eax
call fcn.00502488
mov eax, dword [esp + 0x104]
test eax, eax
je 0x54cd43
cmp edi, dword [ebp + 0x14]
jb 0x54cd43
lea ecx, [esp]
mov edx, eax
call fcn.005845e0
lea eax, [esp]
push 0
push 0x80
push esi
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00552418
mov eax, dword [ebx + 0x24]
dec eax
mov dword [ebx + 0x24], eax
je 0x54d02c
mov ecx, dword [ebx + 0x18]
call fcn.005213bc
cmp eax, 0x10006
je 0x54cf85
add esi, 0x80
inc edi
mov eax, dword [esp + 0xd8]
add eax, dword [esp + 0xd4]
cmp edi, eax
jb 0x54cc2e
mov ebp, dword [esp + 0x108]
lea eax, [ebp + 1]
mov dword [esp + 0x124], eax
jmp 0x54ca56
mov eax, dword [esp + 0x120]
test eax, eax
jle 0x54ce21
xor eax, eax
mov edi, dword [esp + 0x114]
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x128], ebx
mov ebx, eax
mov ebp, dword [esp + 0x10c]
mov esi, dword [esp + 0x110]
test ebp, ebp
je 0x54cdf0
mov ecx, edi
mov edx, ebp
call fcn.00584616
push 0x80
mov ecx, edi
mov edx, esi
call fcn.00502330
cmp eax, 1
je 0x54d039
add edi, 0x80
inc esi
inc ebx
mov edx, dword [esp + 0x120]
cmp ebx, edx
jl 0x54cde3
mov ebx, dword [esp + 0x128]
mov esi, dword [esp + 0x114]
mov ebp, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
add eax, ebp
cmp ebp, eax
jae 0x54cff3
mov dword [esp + 0x128], ebx
jmp 0x54ce50
inc dword [esp + 0x124]
mov eax, dword [esp + 0x128]
inc dword [eax + 0x20]
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x44]
push 0x80
mov ecx, esi
mov edx, ebp
call fcn.00502488
test edi, edi
je 0x54ce80
cmp ebp, dword [ebx + 0x14]
jb 0x54ce80
mov ecx, esi
mov edx, edi
call fcn.005845e0
mov eax, ebp
shl eax, 7
push 0
push 0x80
push eax
push esi
mov ecx, dword [ebx + 0xc]
call fcn.00552418
mov edx, dword [esp + 0x128]
mov eax, dword [edx + 0x24]
dec eax
mov dword [edx + 0x24], eax
je 0x54d020
mov eax, edx
mov ecx, dword [eax + 0x18]
call fcn.005213bc
cmp eax, 0x10006
je 0x54d004
add esi, 0x80
inc ebp
mov eax, dword [esp + 0xd8]
add eax, dword [esp + 0xd4]
cmp ebp, eax
jb 0x54ce49
jmp 0x54cfe5
mov ecx, 0x1c
call fcn.004dbcd8
mov esi, eax
test esi, esi
je 0x54cf02
push 0
mov ecx, esi
call fcn.005247a0
mov dword [esi], 0x6bbf40
jmp 0x54cf04
xor esi, esi
mov dword [ebx + 0x10], esi
jmp 0x54cb47
mov dword [ebx + 0x96], 1
mov ecx, 0x9d
call fcn.004dbcd8
test eax, eax
je 0x54cf39
push 0x6c6d44
push str.Restore
mov ecx, eax
call fcn.0052153c
mov ebp, eax
jmp 0x54cf3b
xor ebp, ebp
push dword [ebx + 4]
mov ecx, ebp
call fcn.00521c8c
mov edx, 1
cmp eax, 0x10006
mov eax, 0
cmove eax, edx
mov dword [esp + 0x104], eax
test ebp, ebp
je 0x54cf6b
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, 0x6ff760
call fcn.004dc280
mov eax, dword [esp + 0x104]
cmp eax, 1
jne 0x54cd02
mov eax, 1
add esp, 0x12c
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x104]
test eax, eax
je 0x54cfbb
mov eax, dword [esp + 0x120]
cmp eax, dword [ebp + 0x14]
jb 0x54cfbb
lea ecx, [esp]
mov edx, dword [esp + 0x104]
call fcn.00584616
push 0x80
lea ecx, [esp + 4]
mov edx, dword [esp + 0x124]
call fcn.00502330
cmp eax, 1
jne 0x54cd02
mov dword [ebp + 4], 0x2003
jmp 0x54cc74
mov ebx, dword [esp + 0x128]
inc dword [esp + 0x124]
mov ecx, dword [esp + 0x114]
call fcn.004db418
jmp 0x54ca56
mov ecx, dword [esp + 0x114]
call fcn.004db418
mov eax, 1
add esp, 0x12c
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x114]
call fcn.004db418
xor eax, eax
add esp, 0x12c
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x104]
mov ebp, dword [esp + 0x108]
mov ebx, dword [esp + 0x128]
mov dword [esi + 4], 0x2003
jmp 0x54cbfe
mov dword [esi + 4], 0x2003
jmp 0x54ca40
cmp dword [ebx + 0x96], 0
je 0x54d07f
mov eax, 1
add esp, 0x12c
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [ebx + 0x96], 1
mov ecx, 0x9d
call fcn.004dbcd8
test eax, eax
je 0x54d0ac
push 0x6c6d44
push str.Restore
mov ecx, eax
call fcn.0052153c
mov ebp, eax
jmp 0x54d0ae
xor ebp, ebp
push dword [ebx + 4]
mov ecx, ebp
call fcn.00521c8c
test ebp, ebp
je 0x54d0c5
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, 0x6ff760
call fcn.004dc280
jmp 0x54d06f
push edi
push esi
push ebp
push ebx
push eax
mov eax, 0x12c
call fcn.00696350
mov eax, dword [esp + 0x12c]
mov ebx, ecx
lea eax, [ebx + 0x4c]
mov dword [esp + 0x11c], eax
mov esi, dword [ebx + 0x3c]
shl esi, 7
add esi, dword [ebx + 0x14]
cmp dword [esi + 0x38], 0
jne 0x54d124
mov ecx, ebx
call fcn.0054d83c
cmp eax, 1
je 0x54d7d1
mov esi, dword [ebx + 0x3c]
shl esi, 7
add esi, dword [ebx + 0x14]
cmp dword [esi + 0x38], 0
je 0x54d105
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x20], eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0xc]
mov ebp, dword [ecx]
call dword [ebp + 0x44]
shr eax, 7
sub eax, dword [esi + 4]
mov ebp, dword [ebx + 0x20]
cmp ebp, eax
jae 0x54d1b7
mov dword [esp + 0x120], eax
mov dword [esp + 0x100], esi
mov esi, dword [ebx + 0xc]
mov eax, ebp
shl eax, 7
lea edx, [esp + 0x80]
push 1
push 0x80
push eax
push edx
mov ecx, dword [esi + 0xc]
call fcn.00552440
cmp eax, 0x80
je 0x54d246
cmp dword [esi + 4], 0
jne 0x54d188
mov dword [esi + 4], 0x2002
inc dword [ebx + 0x20]
cmp dword [ebx + 0x96], 0
je 0x54d1c3
lea eax, [ebp + 1]
mov dword [esp + 0x128], eax
mov ebp, dword [esp + 0x128]
mov eax, dword [esp + 0x120]
cmp ebp, eax
jb 0x54d150
mov esi, dword [esp + 0x100]
mov dword [esi + 0x38], 0
jmp 0x54d0f6
mov dword [ebx + 0x96], 1
mov ecx, 0x9d
call fcn.004dbcd8
test eax, eax
je 0x54d1f0
push 0x6c6d44
push str.Restore
mov ecx, eax
call fcn.0052153c
mov esi, eax
jmp 0x54d1f2
xor esi, esi
push dword [ebx + 4]
mov ecx, esi
call fcn.00521c8c
xor edx, edx
cmp eax, 0x10006
sete dl
test esi, esi
je 0x54d220
mov eax, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x128], edx
call dword [eax]
mov edx, dword [esp + 0x124]
mov ecx, 0x6ff760
mov dword [esp + 0x124], edx
call fcn.004dc280
mov edx, dword [esp + 0x124]
cmp edx, 1
je 0x54d6f0
jmp 0x54d194
lea edx, [ebp + 1]
mov dword [esp + 0x128], edx
push 0x80
lea ecx, [esp + 0x84]
call fcn.00502330
cmp eax, 1
je 0x54d7c5
inc dword [ebx + 0x20]
mov eax, dword [esp + 0xcc]
cmp eax, dword [ebx]
jne 0x54d797
lea ecx, [esp + 0xb7]
mov edx, dword [esp + 0x11c]
call fcn.0051a7c8
test eax, eax
je 0x54d2f3
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x54d64b
call fcn.005244ac
mov esi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x48]
lea eax, [esp + 0xb7]
push eax
push dword [edx + 0x30]
push esi
call fcn.005245a4
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
call dword [edx + 8]
cmp eax, 1
je 0x54d6f0
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x14], 1
mov esi, dword [esp + 0x11c]
lea edi, [esp + 0xb7]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x54d2e9
mov ecx, dword [esp + 0xd8]
shl ecx, 7
call fcn.004dbd48
mov dword [esp + 0x114], eax
mov edi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x110], edx
mov esi, dword [esp + 0xd8]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x10c], eax
shl edx, 7
mov eax, esi
shl eax, 7
mov dword [esp + 0x118], eax
push 1
push eax
push edx
mov eax, dword [esp + 0x120]
push eax
mov ecx, dword [edi + 0xc]
call fcn.00552440
mov edx, dword [esp + 0x118]
cmp eax, edx
je 0x54d512
cmp dword [edi + 4], 0
jne 0x54d366
mov dword [edi + 4], 0x2002
mov ecx, dword [esp + 0x114]
call fcn.004db418
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
add eax, edi
cmp edi, eax
jae 0x54d19e
mov esi, edi
shl esi, 7
mov dword [esp + 0x108], ebp
mov ebp, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x104], edx
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x124], eax
shl edx, 7
lea eax, [esp]
push 1
push 0x80
push edx
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00552440
cmp eax, 0x80
je 0x54d700
cmp dword [ebp + 4], 0
jne 0x54d3dc
mov dword [ebp + 4], 0x2002
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 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
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
cmp dword [ebx + 0x96], 0
je 0x54d676
inc dword [ebx + 0x20]
inc dword [esp + 0x108]
mov ebp, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
push 0x80
lea ecx, [esp + 4]
mov edx, edi
mov dword [esp + 0x128], eax
call fcn.00502488
mov eax, dword [esp + 0x124]
test eax, eax
je 0x54d4ab
cmp edi, dword [ebp + 0x14]
jb 0x54d4ab
lea ecx, [esp]
mov edx, eax
call fcn.005845e0
lea eax, [esp]
push 0
push 0x80
push esi
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00552418
mov eax, dword [ebx + 0x24]
dec eax
mov dword [ebx + 0x24], eax
je 0x54d797
mov ecx, dword [ebx + 0x18]
call fcn.005213bc
cmp eax, 0x10006
je 0x54d6f0
add esi, 0x80
inc edi
mov eax, dword [esp + 0xd8]
add eax, dword [esp + 0xd4]
cmp edi, eax
jb 0x54d396
mov ebp, dword [esp + 0x108]
lea eax, [ebp + 1]
mov dword [esp + 0x128], eax
jmp 0x54d19e
test esi, esi
jle 0x54d58b
xor edx, edx
mov eax, dword [esp + 0x114]
mov dword [esp + 0x124], esi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x12c], ebx
mov esi, eax
mov edi, edx
mov ebx, dword [esp + 0x10c]
mov ebp, dword [esp + 0x110]
test ebx, ebx
je 0x54d55a
mov ecx, esi
mov edx, ebx
call fcn.00584616
push 0x80
mov ecx, esi
mov edx, ebp
call fcn.00502330
cmp eax, 1
je 0x54d7a4
add esi, 0x80
inc ebp
inc edi
mov ecx, dword [esp + 0x124]
cmp edi, ecx
jl 0x54d54d
mov ebx, dword [esp + 0x12c]
mov esi, dword [esp + 0x114]
mov ebp, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
add eax, ebp
cmp ebp, eax
jae 0x54d75e
mov dword [esp + 0x12c], ebx
jmp 0x54d5ba
inc dword [esp + 0x128]
mov eax, dword [esp + 0x12c]
inc dword [eax + 0x20]
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x44]
push 0x80
mov ecx, esi
mov edx, ebp
call fcn.00502488
test edi, edi
je 0x54d5ea
cmp ebp, dword [ebx + 0x14]
jb 0x54d5ea
mov ecx, esi
mov edx, edi
call fcn.005845e0
mov eax, ebp
shl eax, 7
push 0
push 0x80
push eax
push esi
mov ecx, dword [ebx + 0xc]
call fcn.00552418
mov edx, dword [esp + 0x12c]
mov eax, dword [edx + 0x24]
dec eax
mov dword [edx + 0x24], eax
je 0x54d78b
mov eax, edx
mov ecx, dword [eax + 0x18]
call fcn.005213bc
cmp eax, 0x10006
je 0x54d76f
add esi, 0x80
inc ebp
mov eax, dword [esp + 0xd8]
add eax, dword [esp + 0xd4]
cmp ebp, eax
jb 0x54d5b3
jmp 0x54d750
mov ecx, 0x1c
call fcn.004dbcd8
mov esi, eax
test esi, esi
je 0x54d66c
push 0
mov ecx, esi
call fcn.005247a0
mov dword [esi], 0x6bbf40
jmp 0x54d66e
xor esi, esi
mov dword [ebx + 0x10], esi
jmp 0x54d2a6
mov dword [ebx + 0x96], 1
mov ecx, 0x9d
call fcn.004dbcd8
test eax, eax
je 0x54d6a3
push 0x6c6d44
push str.Restore
mov ecx, eax
call fcn.0052153c
mov ecx, eax
jmp 0x54d6a5
xor ecx, ecx
push dword [ebx + 4]
mov dword [esp + 0x108], ecx
call fcn.00521c8c
mov ecx, dword [esp + 0x104]
xor edx, edx
cmp eax, 0x10006
sete dl
mov dword [esp + 0x124], edx
test ecx, ecx
je 0x54d6d6
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, 0x6ff760
call fcn.004dc280
mov eax, dword [esp + 0x124]
cmp eax, 1
jne 0x54d46a
mov eax, 1
add esp, 0x130
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x124]
test eax, eax
je 0x54d726
mov eax, dword [esp + 0x104]
cmp eax, dword [ebp + 0x14]
jb 0x54d726
lea ecx, [esp]
mov edx, dword [esp + 0x124]
call fcn.00584616
push 0x80
lea ecx, [esp + 4]
mov edx, dword [esp + 0x108]
call fcn.00502330
cmp eax, 1
jne 0x54d46a
mov dword [ebp + 4], 0x2003
jmp 0x54d3dc
mov ebx, dword [esp + 0x12c]
inc dword [esp + 0x128]
mov ecx, dword [esp + 0x114]
call fcn.004db418
jmp 0x54d19e
mov ecx, dword [esp + 0x114]
call fcn.004db418
mov eax, 1
add esp, 0x130
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x114]
call fcn.004db418
xor eax, eax
add esp, 0x130
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x104]
mov ebp, dword [esp + 0x108]
mov ebx, dword [esp + 0x12c]
mov dword [edi + 4], 0x2003
jmp 0x54d366
mov dword [esi + 4], 0x2003
jmp 0x54d188
cmp dword [ebx + 0x96], 0
je 0x54d7ea
mov eax, 1
add esp, 0x130
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [ebx + 0x96], 1
mov ecx, 0x9d
call fcn.004dbcd8
test eax, eax
je 0x54d817
push 0x6c6d44
push str.Restore
mov ecx, eax
call fcn.0052153c
mov ebp, eax
jmp 0x54d819
xor ebp, ebp
push dword [ebx + 4]
mov ecx, ebp
call fcn.00521c8c
test ebp, ebp
je 0x54d830
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, 0x6ff760
call fcn.004dc280
jmp 0x54d7da